Hide Drives from Your Computer in Windows 7 or Vista
If you’ve got drives in My Computer that you never access, such as a USB Flash drive that you are using solely for ReadyBoost, a floppy drive, or a network drive only used for a particular piece of software, then you might want to simply hide the drive from your computer.
This tip will only hide the drive from being displayed, applications and the command prompt will still have access to it, and you can still manually browse to the folder if you type in the path.
If you’ve got drives in My Computer that you never access, such as a USB Flash drive that you are using solely for ReadyBoost, a floppy drive, or a network drive only used for a particular piece of software, then you might want to simply hide the drive from your computer.
This tip will only hide the drive from being displayed, applications and the command prompt will still have access to it, and you can still manually browse to the folder if you type in the path.
Now what’s that floppy drive doing there?
Configure the Hidden Drives
Open up regedit.exe by using the start menu search box, and then browse down to the following key.
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\ExplorerIf the Explorer key does not exist, you can right-click on Policies, select New Key and name it Explorer.
The NoDrives key most likely does not exist by default, so you’ll need to create it with right-click \ new 32-bit DWORD and name it NoDrives.
This value is a 32 bit number, and the bits are arranged in reverse order with a value of 1 hiding that drive. For example, if we wanted to hide drives A: and F: we would arrange it like this:
Z | Y | X | W | V | U | T | S | R | Q | P | O | N | M | L | K | J | I | H | G | F | E | D | C | B | A |
0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 |
In order to see these changes, you’ll need to restart explorer.exe, which you can do easily from Task Manager or the longer way by just logging off and back on.
Uninstall Tweak
To disable this tweak, simply remove the NoDrives registry key entirely.
Reference Info
Here’s a list of the values you’ll want to enter for a few different drive letters.
Drive Letter | Decimal | Hex |
A | 1 | 1 |
B | 2 | 2 |
C | 4 | 4 |
D | 8 | 8 |
E | 16 | 10 |
F | 32 | 20 |
G | 64 | 40 |
H | 128 | 80 |
Look, now that worthless floppy drive is gone!
Naturally it would be better to disable the floppy drive in your BIOS, but this tip is still valid for other types of drives.
Note that this also works on Windows XP.
No comments:
Post a Comment