Home » Registry Tricks
How to disable/enable USB Port in Windows 7 ?


Step1: In Windows 7  press Windows key+R and type as “regedit

Step 2: It will open the Registry Editor of  your Windows 7


How to disable the right click functionality on the desktop


Follow the given steps to disable the right click functionality on desktop:


To use this feature, you will need to be logged into your computer with administrative rights.
Click Start button and type regedit in Run option then press Enter for next.
Here locate the location to:


HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer






Here in right side panel, right click to create a new DWORD value with the name NoViewContextMenu (it is case sensitive), then assign number 1 in value data box.



Now close the registry editor and restart your computer after any changes to go into effect.
But next time, if you want to enable right click functionality on desktop then simply change the value of data box or delete the NoViewContextMenu DWORD item.

Locking the windows registry


It is very useful for administrator to put system wide restriction on the system so that no user can change or edit registry.
1:open regedit from run.
2:Go or scroll down to
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System

3:create a new DWORD value,DisableRegistryTools and set its data value to 1 for disabling and 0 to enable it    again.
4:exit from registry editor and restart the session by logging off the system.

happy hacking :-D

How to change the Boring icon of folder


friends isnt it boring that all folders in windows appear as boring yellow icon.so here are some tips to change that.

1: first create a text file name it as desktop.ini.
2:write the following thing inside the icon
[ShellClassInfo]
ICONFILE=c:\icons\abc.ico  (actual path of your image and image must be an icon (.icon extension)  file)

3:save this file inside the folder.

4:Dont forget to change the attributes of image to ReadOnly and Hidden to prevent any accidental damage.

Blocking access to specific drives (works on windows 7)


1: GO TO run then type in regedit.exe and open it.
2:search or scroll down the following registry key:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
(for system wide restriction)
or
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
(for user specific restriction)
3:create a new DWORD value, "NoViewOnDrive" and set its data value to the number of the drive that you want to    hide as per the bilow list:
A:1, B:2, C:4, D:8, E:16, F:32, G:64, H:128, I:256, J:512, K:1028, L:2048, M:4096 AND SO ON.
4:Exit the windows registry and restart the windows session for the changes to come into effect.

Delete or Remove Recycle bin icon from Desktop (PC)

Follow the steps below:



1- [Start] [Run] [Regedit]


2- Registry Key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\
CurrentVersion\Explorer\BitBucket


3- Modify/Create the Value Data Type(s) and Value Name(s) as detailed below.


4- Data Type: DWORD // Value Name: NukeOnDelete