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".