Wednesday, 12 November 2014

Registry and commands to retrieve the bios information

Huh.., Registry provides lot of help to us in performing action and gathering information.

Here are some registries from where we can identify the bios information.

[HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\BIOS],

which gives the information regarding,

1. BiosMajorRelease
2. BiosMinorRelease
3. ECFirmwareMajorRelease
4. ECFirmwareMinorRelease
5. BaseBoardManufacturer
6. BaseBoardProduct
7. BaseBoardVersion
8. BIOSReleaseDate
9. BIOSVendor
10. BIOSVersion
11. SystemFamily
12. SystemManufacturer
13. SystemProductName
14. SystemSKU
15. SystemVersion


Commands that are used to retrieve bios information are,

1. Systeminfo | findstr /C:BIOS

Output:

BIOS Version:              Insyde F.22, 8/6/2014

2. wmic bios get /?

which gives all the paramters that can be retrieved.

Thursday, 25 September 2014

Different methods to uninstall Service Pack 2 from Windows XP:

Method 1:

1. Open Control Panel and navigate to "Control Panel\Programs\Programs and Features".
2. Select the service pack 2 and click uninstall.


Method 2:

1. Open Command prompt in admin mode.
2. Type the following command to uninstall the hidden files,

         c:\windows\$NtServicePackUninstall$\spuninst\spuninst.exe

This step will allow to uninstall the SP2 completely.

Enable Or Disable a particular feature in Windows Feature (Win 7,8):

Inorder to disable or enable any Windows Features, the manual method requires the following steps,

1. Click Start and type "Trun Windows features on or off".
2. Press Enter and do select the particular feature that has to be altered.
3. Finally restart.


If Performed through command prompt, following are the steps required,

1. Open command prompt in admin mode.
2. Type the command and press enter to get the details of all the features in the system.

               dism /online /get-features | more

3. Type the command to enable a particular feature,
     
              dism /online /enable-feature /featurename:<feature name>

   Example: dism /online /enable-feature /featurename:TelnetClient

4. Type the command to disable a particular feature,
     
              dism /online /disable-feature /featurename:<feature name>

   Example: dism /online /disable-feature /featurename:TelnetClient

Friday, 8 August 2014

Command to retrieve domain information

Here is the command which help to identify the group policy settings for the system as well as user.


Command : gpresult /r

Thursday, 12 June 2014

Methods the Identify the machine state

The registry and the commands supports us a lot in performing many actions on the computer. One among those is, identification of the machine boot state.

The registry that says the machine state is,

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control],SystemStartOptions

The same can be identified through the command,

 * wmic COMPUTERSYSTEM GET BootupState

Thursday, 15 May 2014

Enable or Disable UAC

It is quite easy to enable or disable UAC through registry editor.., in-order to do so use the following commands.

To Enable UAC:
1. Open command prompt.
2. Type the  command "REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f"
3. Click "Enter".

To Disable UAC:
1. Open command prompt.
2. Type the  command "REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f"
3. Click "Enter".

[OR]

To Enable UAC:
1. Open command prompt.
2. Type the  command "REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 1 /f"
3. Click "Enter".

To Disable UAC:
1. Open command prompt.
2. Type the  command "REG ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f"
3. Click "Enter"

 

How to create dialog boxes through notepad?

Here is a script that helps to create different message boxes.

Steps to follow:
1. Open notepad.exe
2. Type the scrip "x=msgbox("Your Message Here" ,0, "Your Title Here")"
     Example : x=msgbox("hello" ,4+16, "warning")

Creation of different dialog boxes:
If you want to create different dialog boxes, just change the number 0 with the appropriate values.
  * 0 -OK button only 
  * 1 -OK and Cancel buttons
  * 2 -Abort, Retry, and Ignore buttons
  * 3 -Yes, No, and Cancel buttons
  * 4 -Yes and No buttons
  * 5 -Retry and Cancel buttons
  * 16 -Critical Message icon
  * 32 -Warning Query icon
  * 48 -Warning Message icon
  * 64 -Information Message icon
  * 0 -First button is default
  * 256 -Second button is default
  * 512 -Third button is default
  * 768 -Fourth button is default
  * 0 -Application modal (the current application will not work until the user responds to the message box)
  * 4096 -System modal (all applications wont work until the user responds to the message box)
  * 4+16 - Warning message box


Tuesday, 13 May 2014

Easy way to add or delete user

Here is an easiest way which helps to create or delete user,

Command to create user:

SYNTAX: net user username password /add

EXAMPLE:  NET USER TEST 123456 /ADD

Command to delete a user:


SYNTAX: net user username /del

EXAMPLE:  NET USER TEST /DEL

Monday, 12 May 2014

Enable or disable proxy though command line and registry.

It quite easy to set proxy through command prompt ans to enable or disable proxy settings.

Through Command:

1. To set proxy:

     netsh winhttp set proxy [proxy server address:port number] [bypass list]

 Example :  netsh winhttp set proxy 192.168.1.2:8080 *.192.168.1.2

Result:

 Current WinHTTP proxy settings:

    Proxy Server(s) :  192.168.80.2:8080
    Bypass List     :  *.192.168.80.2

 2. To  check the proxy settings:

    netsh winhttp show proxy

 3. To remove proxy settings:

   netsh winhttp reset proxy


Through Registry:

1. Open regedit.exe

2. Navigate to "HKCU\Software\Microsoft\Windows\CurrentVersion\Internet Settings"

3. Create a DWORD "ProxyServer" and give the data as the proxyserver:port example: 192.168.80.2:8080

4. The above step will enable the proxy and make the data to "0" to disable proxy.

Unlock machine using command Line.

Here is a command which allows to unlock a machine,

1. Open cmd prompt.
2. Type the command "rundll32.exe user32.dll, LockWorkStation"
3. Press enter.

Monday, 5 May 2014

Command to open Windows Explorer through cmd.

Command to open Windows Explorer through cmd.

Here are the commands which are used to open the windows explorer from the command prompt. They are:

1. "start ."
2. "explorer ."

Monday, 7 April 2014

How to remove all games from Games Explorer on windows.?

Here are few ways that helps to enable or disable the games from Games Explorer.

Through regedit:
1. Open regedit.exe through run.
2. Navigate to the location : HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion
3. Delete the key "gameux".

Through UI:
1. Open "Turn Windows Features On or OFF" through  start.
2. Disable Games.

Thursday, 3 April 2014

Registry Key to Disable shutdown

Here is the registry key which prevents a machine from shutdown by disabling the option. In-order to make it work, follow the below steps,

1. Open regedit.
2. Navigate to the path:  HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer
3. Create a DWORD "NoClose" and modify the data to "1" to disable shutdown option.

The above registry path is for all the users and if it is to be implemented only for a particular user, use the location, HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer and do the same.

Saturday, 29 March 2014

Coomand to open recycle bin:


Here is the command which helps to open the recycle bin.

1. Through command prompt: start shell:RecycleBinFolder
2. Through run: shell:RecycleBinFolder

Enable Auto Lock via group policy and registry

Via Registry Editor:
1. Open Regedit.
2. To enable autolock Modify the data of the values on the location "[HKEY_CURRENT_USER\Control Panel\Desktop]" as,
     "ScreenSaveActive"="1"
     "ScreenSaveTimeOut"="60"
     "ScreenSaverIsSecure"="1"

Via Group policy:
1. Open gpedit.msc through run.
2. Do the following changes on the location "user configuration>Administrative templates>personalization>
     enable Screensaver
     Password protect the Screensaver
     Screensaver timeout "


Enable or Disable USB port via registry

It is quite easy to enable or disable USB port through registry.

1. Open regedit.
2. Locate the value "Start" on the location "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\USBSTOR"
3. Modify the data from default "3" to "4" to disable the usb port.

Friday, 28 March 2014

To launch command prompt in Interactive Session.

The command that can be used to launch command prompt in session 0 are,

1. sc create SvcIntCMD binpath= "cmd /K start" type= own type= interact DisplayName= "InteractiveCMD"

2 . sc start  SvcIntCMD
sc create SvcIntCMD binpath= "cmd /K start" type= own type= interact DisplayName= "InteractiveCMD"

sc start  SvcIntCMD - See more at: http://www.itninja.com/link/interactive-system-command-prompt-in-win7#sthash.07pbTf7f.dpuf

sc create SvcIntCMD binpath= "cmd /K start" type= own type= interact DisplayName= "InteractiveCMD"

sc start  SvcIntCMD - See more at: http://www.itninja.com/link/interactive-system-command-prompt-in-win7#sthash.07pbTf7f.dpufsc create SvcIntCMD binpath= "cmd /K start" type= own type= interact DisplayName= "InteractiveCMD" 

sc start  SvcIntCMD - See more at: http://www.itninja.com/link/interactive-system-command-prompt-in-win7#sthash.07pbTf7f.dpuf

sc create SvcIntCMD binpath= "cmd /K start" type= own type= interact DisplayName= "InteractiveCMD"

sc start  SvcIntCMD - See more at: http://www.itninja.com/link/interactive-system-command-prompt-in-win7#sthash.07pbTf7f.dpuf

Command to access session 0

To access session 0, Interactive Services Detection should be started, inorder to check whether the interactive services detection is running execute the command "sc query UI0Detect", if it is not running start the service using the command "sc start UI0Detect". Once it is done do the following to access the session 0.

1. Open command prompt in admin mode.
2. Execute the following command :
rundll32 winsta.dll,WinStationSwitchToServicesSession

and the session 0 has been opened.

Commands to open an exe in session 0.

Here is the command which helps to open an exe in session 0.

1. sc create RabbitHole binpath= %SYSTEMROOT%\system32\notepad.exe type= interact type= own

2. sc start RabbitHole

3. sc delete RabbitHole

Execute the first command through command prompt (administrator mode), by specifying the location of the file and execute the second command to start the service. Once the service is started the specified file will be executed in the session 0.

Note: Delete the service before trying to open a new exe, or else it will open the file that has been executed previously again.

Monday, 17 February 2014

Command to start/stop Windows Update.

Here is a command which helps to start or stop the windows update on windows.

To start : net start wuauserv

To stop : net stop wuauserv

Tuesday, 11 February 2014

To Clear recent document on exit in Jump List

Through Registry:
1. Open regedit.
2. Navigate to "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer"
3. Make "ClearRecentDocsOnExit" to 1 to disable recent documents on Jump list.

Through Group Policy:
1. Open Grtoup Policy.
2. Navigate to "User Configuration\AdministrativeTemplates\Start Menu & Taskbar"
3. Click "Clear history of recently opened documents on exit" and disable it to show the recent files in Jump List.

Thursday, 6 February 2014

How to change time zone through Command Prompt.

Here are the few commands to change the Time Zone through command prompt:

1. tzutil /g - To get the current time zone.

C:\Windows\system32>tzutil /g
India Standard Time

2. tzutil /l - To get the time zone list.

C:\Windows\system32>tzutil /l

3. tzutil /s "India Standard Time" - to set the specific time zone.
Note: Give the desired zone in between "" to set.


Tuesday, 4 February 2014

Enable or Disable MMC

To enable or disable Microsoft Management Console, go through the following different ways,

Through Registry Editor:
1. Open Registry Editor.
2. Locate "RestrictToPermittedSnapins" under "HKEY_CURRENT_USER\Software\Policies\Microsoft\MMC"
3. Modify the value to "0" to enable Microsoft Management Console and viceversa.

Through Group Policy:
1. Open Group Policy.
2. Locate "Restrict users to the explicitly permitted list of snap-ins" under "User Configuration\\Administrative Templates\\Windows Components\\Microsoft Management Console\\Restricted/Permitted Snap-ins"
3. Modify it to enable to access all snap-ins and viceversa.



Enable or Disable Registry Editing Tools.

Here are the few ways to enable or disable registry editing tools, They are:

Through Group Policy:
1. Open gpedit.msc.
2. Navigate to "User Configuration\Administrative Templates\System"
3. Locate "Prevent access to registry editing tools"
4. Enable it to disable.

Registry Editor:
1. Open regedit in administrator mode.
2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
3. If the value DisableRegistryTools is present modify its value to 0 to enable Registry Editor.
4. If the value is not present create a DWORD and name is as value in the step 3.
5. Inorder to disable Registry Editor modify the value to 1.

Monday, 3 February 2014

Disable/Enable Right Click Context Menu in IE.

Here are few ways which help to disable or enable right click on context menu in Internet Explorer.

Through Regedit:
1. Open Regedit.
2. Locate "NoBrowserContextMenu" under "HKEY_CURRENT_USER\\Software\\Policies\\Microsoft\\Internet Explorer\\Restrictions"
3. Change the value of above DWORD to 1 to disable the right click and viceversa.

Through Group Policy:
1. Open Group Policy.
2. Locate "Disable Context Menu" under "User Configuration\Administrative Templates\Windows Components\Internet Explorer\Browser menus"
3. Enable it inorder to disable and viceversa.

To disable Run time error dialogues in IE while surfing.

Here are few possibilities, which is used to disable runtime error dialogues in Internet Explorer while surfing.

Through Internet Options:
1. Open Internet Options by using the command "inetcpl.cpl" through run or under "Tools" menu on IE.
2. Go to Advanced tab.
3. Scroll down to browsing and disable the following options to disable runtime error.
    * Disable Script Debugging (Internet Explorer)
    * Disable Script Debugging (other).

Through Registry Editor:
1. Open Regedit.
2. Navigate to the locations and make the value of "Disable Script Debugger" to "yes" to disable:
    * HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main
    * HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\MAIN
3. Navigate to the locations and make the value of "Disable Script DebuggerIE" to "yes" to disable:
    * HKEY_CURRENT_USER\\Software\\Microsoft\\Internet Explorer\\Main
    * HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Internet Explorer\\MAIN

Through Group Policy:
1. Open gpedit.msc.
2. Go to the location: "User Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet Settings\Advanced Settings\Browsing"
3. Select "Turn On Script Debugging" and change the settings to disable.
4. By default it will be as "Not Configured".

How to disable Advanced option in IE.

There are so many options available to change each and every settings in windows component. Among those, here is a settings which can enable or disable "Advanced" option in IE.

Through Registry Editor:
1. Open regedit through run.
2. Locate the DWORD "Advanced" under HKEY_CURRENT_USER\\Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel
3. Make it to "0" to enable the Advanced option and viceversa.

Through Group Policy:
1. Open gpedit.msc.
2. Locate the option "Disable the Advanced Page" under "User Configuration\Administrative Templates\Windows Components\Internet Explorer\Internet ControlPanel
3. Enable it to disable the option and vicecersa.


Reset IE Homepage Settings.

Here are few steps to reset the IE homepage settings.

Through Registry Editor.
1. Open Registry Editor.
2. Proceed with the following steps to enable homepage change.
  * Make the DWORD HomePage to 0 under HKEY_CURRENT_USER\\Software\\Policies\\Microsoft\\Internet Explorer\\Control Panel
  * Make the DWORD NOSaveSettings to 0 under HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Explorer
  * Make the DWORD HomePage to 0 under
HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Microsoft\\Internet Explorer\\Control Panel
3. Inoder to disable change all the above values to 1.

Through Group Policy:
1. Open Group Policy.
2. Go to the Location: User Configuration\Administrative Templates\Windows Components\Internet Explorer.
3. On the right panel, select "Disable changing homepage settings" and make it to enable and select the particular url.
4. If you want to enable, select disable.


Change Internet Options under tools menu on IE.

Here is few keys to enable or disable Internet Options under tools menu on IE.

Through Group policy:
1. Open gpedit.msc.
2. Navigate to : User Configuration\Administrative Templates\Windows Components\Internet Explorer\Browser menus
3. Enable the option: Tools menu: Disable Internet Options… menu option

Though Registry Editor:
1. Open regedit.
2. Navigate to the following paths:
    * "HKCU\Software\Policies\Microsoft\Internet Explorer\Restrictions"
      * "HKLM\Software\Policies\Microsoft\Internet Explorer\Restrictions"
3. If the DWORD "NoBrowserOptions" is already present modify the value to "0" to enable Internet Options.
4. If the DWORD "NoBrowserOptions" is not present, create it.
5. Inorder to disable make the value to 1.

Note: Enabling the value to 1, will disable the Internet options only under tools menu.

Enable / Disable First Run Customize Settings.

Here are the few options to enable or disable "First Run Customize Settings" during IE installation.

Through Group Policy:
1. Open gpedit.msc through run.
2. Locate to User Configuration\Administrative Templates\Windows Components\Internet Explorer.
3. Select "Prevent Performance of First Run Customize Settings"
4. Click Enable to enable prevention.
5. When you click enable "Select your choice" will be enabled under options panel.
6. Choose your desired option and enjoy the settings.

Through Registry Editor:
1. Open Registry editor.
2. There are few keys to be modified. Here are those.
   i. DisableFirstRunCustomize:
   >This key may reside under any of the following paths
      * HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\Main
      * HKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main
      * HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
      * HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main
   > Choose the Value the DWORD, DisableFirstRunCustomize and modify:
      * 0 to show the First Run page;
      * 1 to show the First Home Page or Start Page;
      * 2 to show the Welcome to Internet Explorer page
   > By Default the value will be 0.
   ii. RunOnceComplete and RunOnceHasShown
   >This key may reside under any of the following paths
      * HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main
      * HKEY_LOCAL_MACHINE\Software\Microsoft\Internet Explorer\Main
  > Choose the Value the DWORD, RunOnceComplete and RunOnceHasShown and modify
   > By Default the value will be 0.

Note: For IE8 and IE9, the Dword will be as, IE8RunOnceComplete, IE8RunOnceHasShown and IE9RunOnceComplete, IE9RunOnceHasShown.

Show or Hide Internet Explorer Icon From Desktop on Vista.

There is an option available to remove Internet Explorer icon from desktop:

Through Group Policy:
1. Open gpedit.msc through run.
2. Navigate to: User Configuration\Administrative Templates\Desktop.
3. On the right panel, select "Hide Internet Explorer Icon on Desktop"
4. Enable it to remove the icon.


Saturday, 1 February 2014

Enable or disable Games Explorer.

Here are the few ways to enable or disable Games Explorer in Windows.

Through "Windows Features":
1. Search "Turn windows features on or off".
2. Once processed deselect the checkbox left to "Games" inorder to disable.


Enable or Disable Explorer.exe.

Here is the registry key to enable or disable explorer.exe on windows.

1. Open Registry editor.
2. Navigate to the location:
HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Winlogon
3. By default the value of "Shell" on the right pane will be "explorer.exe".
4. If you want to disable change it to some other values.

Note: For a system to work effectively, explorer.exe is essential.

Through Task Manager:
1. Open Task Manager (Ctrl+Shift+Esc).
2. Select explorer.exe and click end process.
3. Then restart your machine.
4. If you want to enable it again, press Ctrl+Alt+Del.
5. Open Task manager, Click New and open explorer.exe and restart your machine.

Enable or Disable CD/DVD drive in windows.

To enable or disable CD/Dvd drive, Here are the few step.

Through Gpedit:
1. Open gpedit.msc through run.
2. Navigate to User Configuration\Administrative Templates\System\Removable Storage Access.
3. On the right pane click "All Removable Storage Classes:Deny all access"
4. Inorder to enable it chose disable and viceversa. (By default it will be as "Not Configured" which means it is enable)

Through Device Management:
1. Open devmgmt.msc through run.
2. Scroll down to DVD/CD-ROM Drives.
3. Select the drive on which you want to disable and click the icon which is present on the top.

Through Registry Editor:
1. Open regedit through run.
2. Navigate to the paths:
 HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Class\\{4D36E965-E325-11CE-BFC1-08002BE10318
3. Inorder to disable delete the keys "Upper Filters" and "Lower Filters"

This may or may-not require reboot.


Friday, 31 January 2014

Enable or disable "Show Hidden Folders".

Registry path to enable or disable "Show Hidden Folders" in Folder Options.

1. Open Regedit through run.
2. Navigate to the path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced
3. Change the value of "Hidden" to 1 inorder to enable and viceversa and restart the computer to apply changes effectively.

This works for Vista,7 & 8.


Enable or Disable Folder Options from Tool menu.

Obviously registry keys and group policy helps us to do whatever changes we need in the system. Here is one among those, to enable or disable Folder options from tools menu.

When you open windows explorer, under Tools menu you can find an option called Folder Option. To enable or disable it. Here is the steps,

Through group policy:
1. Open Gpedit through run.
2. Navigate User Configuration\Administrative Templates\Windows Components\Windows Explorer
3. Locate "Remove the Folder Option menu item from the tools menu".
4. Enable it inorder to remove and viceversa.

Through registry editor:
1. Open regedit.
2. Locate to HKEY_CURRENT_USER\Software\Microsoft\Windows\Current Version\Policies\Explorer & HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\Current Version\Policies\Explorer 
3. If "NoFolderOptions" Dword is present delete it or modify it to 0 to enable and viceversa.




Enable or Disable Recycle Bin From Desktop.

It is quite easy to enable or disable Recycle Bin from Desktop:

Method 1.
1. Right Click on Desktop, Choose Personalize.
2. Select Change Desktop Icons.
3. To enable select recycle bin and viceversa.

Method 2 (Registry Keys):
I.1. Open Regedit through run.
  2. Navigate to HKLM\Software\Microsoft\Windows\Current Version\Explorer\Desktop\NameSpace\    {645FF040-5081-101B-9F08-00AA002F954E}
  3. If the value of default string is set to "Recycle bin", delete it inorder to enable recycle bin on desktop and    viceversa.

II 1. Open Regedit through run.
   2. Navigate to HKCUSoftware\Microsoft\Windows\Current Version\Explorer\HideDesktopIcons\NewStartPanel\      
  3. Change the value of the DWORD {645FF040-5081-101B-9F08-00AA002F954E} to "0" inorder to enable recycle bin on desktop and  to "1" to disable.

Method 3 (Group Policy):
1. Open Gpedit.msc.
2. Navigate to User Cnfiguration\Administrative Templates\Desktop.
3. Locate "Remove Recycle bin from Desktop".
4. Inorder to disable check enable and vicersa.

Method 4 (search box):
1. Type Desktop icon on search box.
2. Select show or hide common icons on desktop.
3. Choose the recycle bin to enable.

Note: The changes may happen suddenly or may require reboot.

Wednesday, 22 January 2014

To Resolve "Outlook cannot send email: 530 authentication required" error message when configuring Microsoft Outlook.

There may arise some error message known as "Outlook cannot send email: 530 Authentication Required" while configuring outlook. Here is the Solution,

1. Click More settings on Microsoft Outlook wizard.
2. Enable "My Outgoing Server Requires Authentication".
3. Proceed for configuraton.

Tuesday, 21 January 2014

Enable or Disable Registry Editor through Gpedit

1. Open gpedit.msc through run.
2. Navigate to User Configuration\Administrative Templates\System
3. On the right side locate "Prevent access to registry editing tools" and double click it.
4. The status will be "Not Configure" by default.
5. In order to enable it,
        i. Change the "Not Configure" to "Enable" and again revert back to "Not Configured". (Or perform Step 5.ii)
        ii. Click on the "Disable" button and apply it.
6. In order to disable registry edit, Click the button "Enable" and apply it.


Tuesday, 7 January 2014

Enable or disable command prompt:

There may arise a message "The command has been disabled by your administrator. Press any key to continue...." when you try to open the command prompt. Here is the solution..

Gpedit:
1. Open gpedit.msc
2. Go through the direction: User Configuration\Administrative Templates\System
3. On the right side extended view locate "prevent access to command prompt", right click it and select edit.
4. Inorder to disable select enable option.
5. Inorder to enable, select disable option.

Regedit:
1. Open registry editor through administrator.
2. Navigate to: HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System and locate DisableCMD.
3. If it is present click and edit the value to 0 to enable.
4. If it is not present, create a DWORD value.
5. To disable, modify the value to 1.
6. To disable command prompt and Scripts modify to 2.





Export result in a desired file from Command Prompt.

Inorder to get the results of the command in a desired file use the following format:

ipconfig > D:\ipconfiguration.doc

The > operator is used to export the data on the location prescribed.\


Enable or Disable Task Manager through Regedit and Gpedit.

Sometimes we might face the popup message displaying as "Task Manager is disabled by administrator" when we try to open task manager. Here is the solution for the above scenario through regedit and gpedit.msc.

Registry Editor:
1. Open regedit in administrator mode.
2. Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System
3. If the value DisableTaskMgr is present modify its value to 0 to enable Task manager.
4. If the value is not present create a DWORD and name is as value in the step 3.
5. Inorder to disable task manager modify the value to 1.

Gpedit:
1. Open gpedit.msc.
2. Go through the path User Configuration\Administrative templates\System\Ctrl+Alt+Del Options
3. On the right side extended view select "Remove Task Manager", perform right click and choose edit.
4. The default value will be Not Configured.
5. To enable the task manager click Disable.
6. To disable the task manager click enable.