Tuesday, 13 October 2015

Some Cool Registry Tricks

The registry is a hierarchical database that stores the value of variables in windows and the application and services that run on windows.

The operating system and the other programs also uses the registry to store about user and about the current configuration of the system and its components.

SUBTREE:Subtree are the root, or primary divisions, of the registry.

he registry is divided into five subtrees. Subtree contains the keys, subkeys, ans enteries in which the data is stored.




LIST OF SUBTREES:

HKEY_CLASSES_ROOT

HKEY_CURRENT_USER
HKEY_LOCAL_MACHINE
HKEY_USERS
HKEY_CURRENT_CONFIG

TRICKS:


First of all open Registry Editor.

Go to start> run> regedit



How TO REMOVE THE SHORTCUT ARROW FROM SHORTCUTS.


STEPS:

1.Open regedit.exe file.

 2.Scroll down to create the following registry key:

[HKEY_CLASSES_ROOT\lnkfile]

 Under the lnkfile  key, in the right pane delete a  String value named IsShortcut.


How TO DISABLE RIGHT CLICK ON THE DESKTOP AND EXPLORER.


STEPS:

Open regedit.exe file.

Scroll down to create the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies]

In the left side pane,  right click on the Policies key and create a new key called Explorer.

Under the Explorer key, in the right pane create a new DWORD value named NoViewContextMenu within the above registry key and set its data value to 1 to disable the right click context menu on the desktop, and to 0 to enable it.

NOTE: You may want to completely delete the DWORD value NoViewContextMenu when you want to enable right click.


How TO DISABLE RIGHT CLICK ON THE TASKBAR.


STEPS:

Open regedit.exe file.

Scroll down to create the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]

In the right pane, create a new DWORD value named NoTrayContextMenu within the above registry key and set its data value to 1 to disable the right click context menu on the taskbar, and to 0 to enable it.

NOTE: You may want to completely delete the DWORD value NoTrayContextMenu when you want to enable right click.

How TO DISABLE WINDOWS HOTKEYS.

STEPS:

Open regedit.exe file.


Scroll down to create the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Under the Explorer key, in the right pane create a new DWORD value named NoWinKeys within the above registry key and set its data value to 1 to disable the windows hotkeys, and to 0 to enable it.
NOTE: You may want to completely delete the DWORD value NoWinKeys when you want to enable hotkeys.

How TO DISABLE THE CONTROL PANEL.

STEPS:

Open regedit.exe file.

Scroll down to create the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Under the Explorer key, in the right pane create a new DWORD value named NoControlPanel within the above registry key and set its data value to 1 to disable the windows hotkeys, and to 0 to enable it.

NOTE: You may want to completely delete the DWORD value NoControlPanel when you want to enable control panel.


How TO DISABLE THE FOLDER AND SEARCH OPTION.


STEPS:

Open regedit.exe file.

Scroll down to create the following registry key:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ Explorer]

Under the Explorer key, in the right pane create a new DWORD value named NoFolderOptions within the above registry key and set its data value to 1 to disable the folder and search option, and to 0 to enable it.

NOTE: You may want to completely delete the DWORD value NoFolderOptions when you want to enable the folder and search option.


How TO ADD AN APPLICATION TO THE RIGHT CLICK MENU OF THE DESKTOP.
STEPS:

Open regedit.exe file.

Scroll down to create the following registry key:

[HKEY_CLASSES_ROOT\Directory\Background\shell]

In the left side pane,  right click on the shell key and create a new key called Paint.

In the left side pane,  right click on the Paint key and create a new key called command.

Under the command key, in the right pane double click on the (Default) string key and change its data  to: C:\Windows\System32\mspaint.exe

NOTE: Now when you right click on your desktop, a new menu item called Paint has been added to the context menu.

How TO ADD CONTROL PANEL  TO THE RIGHT CLICK MENU OF THE DESKTOP.
STEPS:

Open regedit.exe file.

Scroll down to create the following registry key:

[HKEY_CLASSES_ROOT\Directory\Background\shell]

In the left side pane,  right click on the shell key and create a new key called Control Panel.

In the left side pane,  right click on the Control Panel key and create a new key called command.

Under the command key, in the right pane double click on the (Default) string key and change its data
 to: rundll32.exe shell32.dll,Control_RunDLL


NOTE: Now when you right click on your desktop, a new menu item called Control Panel has been added to the context menu.


How TO PREVENT ACCESS TO CERTAIN DRIVES. STEPS:


Open regedit.exe file.


Scroll down to create the following registry key:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer]

Under the Explorer key, in the right pane create a new DWORD value named NoViewOnDrive within the above registry key and set its data value to the number of the drive that you want to hide as per the below list:

A: 1 , B: 2 , C: 4 , D: 8 , E: 16 , F: 32 , G: 64 , H: 128          (ALL: 67108863)

NOTE: You may want to completely delete the DWORD value NoViewOnDrive when you want to enable access to certain drives.


How TO DISABLE THE FOLDER AND SEARCH OPTION.

STEPS:
Open regedit.exe file.
Scroll down to create the following registry key:
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ System]
Under the System key, in the right pane create a new DWORD value named DisableTaskMgr within the above registry key and set its data value to 1 to disable the folder and search option, and to 0 to enable it.

NOTE: You may need to restart Windows for the changes to be implemented.

That's it friends..!!! Hope you like it..don't forget to comment..!!