Thursday, November 21, 2024
HomeWindowsXP: Disable Drives Registry Hack

XP: Disable Drives Registry Hack

With XP, you can remove access to drives individually, groups or to all. Keep reading to find out how to achieve this task.


*This should remove the drive letter, so keep track of this change to undo it, if necessary.

Each drive letter corresponds to a binary decimal number, starting from zero and going to 25:
If the drive letter is C, since C is the third letter in the alphabet, the number you need is 2^2 = 4, or drive A is 2^0 = 1.

To remove multiple drives, simply add up their corresponding values and use that.
To remove all drives, use the value 67108863 (the sum of all drive letters A-Z).
*For interest’s sake, this value is: (2^26) – 1, since we start at zero.

To deny the current user: (You need to be logged on under their account.)
path: KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer

To deny for the entire computer:
path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer
*For this, I would recommend you do both.

Create a REG_DWORD key named NoDrives.
*Right-click in the right pane.

Select it, and make its data entry the number you determined earlier. That is it. It usually requires a restart to take effect.

*NOTE: These drives still display under fileman.exe. To complete this disabling, you will need to rename this file or delete it.

Questions/Comments: [email protected]
-William. § (marvin_gohan)

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

LATEST REVIEWS

Recent Comments

error: Content is protected !!