Windows Registry Guide Windows Registry Guide
Part of the Windows Guide Network
Windows Guide Network
Registry tweaks, tricks & hacks to optimize, enhance and secure Microsoft Windows.

Hide Drives in My Computer (All Versions)
Category: Home > Security
Download: WinGuides Tweak Manager

This setting allows you to control which drives are visible in "My Computer". It is possible to hide all drives or just selected ones.

The "NoDrives" value uses a 32-bit word to define local and network drive visibility for each logical drive in the computer. The lower 26 bits of the 32-bit word correspond to drive letters A through Z. Drives are visible when set to 0 and hidden when set to 1.

If your not happy working in Hex, add these decimal numbers to hide the drive(s):

A: 1, B: 2, C: 4, D: 8, E: 16, F: 32, G: 64, H: 128, I: 256, J: 512, K: 1024, L: 2048, M: 4096, N: 8192, O: 16384, P: 32768, Q: 65536, R: 131072, S: 262144, T: 524288, U: 1048576, V: 2097152, W: 4194304, X: 8388608, Y: 16777216, Z: 33554432, ALL: 67108863

For example to hide drive A and drive D, you would add 1 (A) + 8 (D) which equals "9".

Note: These drives will still appear in File Manager, to remove File Manager, delete or rename winfile.exe.

Registry Editor Example
|NameTypeData|
|(Default)REG_SZ(value not set)|
|NoDrivesREG_DWORD0x03ffffff (67108863)|
-
|HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Exp...|
-

Settings:
User Key: [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]

System Key: [HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\
Explorer]

Name: NoDrives
Type: REG_DWORD (DWORD Value)

Disclaimer: Modifying the registry can cause serious problems that may require you to reinstall your operating system. We cannot guarantee that problems resulting from modifications to the registry can be solved. Use the information provided at your own risk.

Last Modified: May 24, 2002

 Return to Index Copyright © 1998-2002. All Rights Reserved.  License 
Hosted by www.Geocities.ws


This file is decompiled by an unregistered version of ChmDecompiler.
Regsitered version does not show this message.
You can download ChmDecompiler at : http://www.zipghost.com/

1