Thursday, February 2, 2012

Hide Drive of windows



Press Win+R to launch Run and type gpedit.msc to run Local Group Policy Editor.

Expand this branch: Local Computer Policy->User Configuration->Administrative Templates->Windows Components->Windows Explorer.


Find Prevent access to drives from My Computer from the right item list and double click on it.

Check "Enable" and set options as your need to prevent access to drivers from My Computer.

Click on OK or Apply button to apply all your settings.
[Solution 2: Use Registry to Hide Drivers in Windows 7]

Before the operation.


Click the "Start" button,and type in "regedit" in the search box.

Browse the list to
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Right click the "Explorer" key to create a new DWORD (32-bit) value and name it as "NoDrives".

Right click on the new value and choose "Modify".

The value data 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 want 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
Converting the binary value "100001" to decimal value, we get the decimal value of 33, then choose "Decimal" and then type 33 in the Value data field.

And now the worthless drive is gone.



=========================================================================
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.
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\Explorer
If 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
Converting 100001 to decimal we end up with a decimal value of 33 or a hex value of 0×21, so if you double-click on the key in the registry editor, choose Decimal and then enter 33 into the value field.

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
If you want to hide multiple drives, you’ll need to use the table of all the drive letters to figure out the correct binary code, and then convert that to decimal or hex. (hint: you can use the calculator in scientific mode)
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.
=====================================================================

Here is a simple way to hide and unhide Disk Drive Partitions from My Computer in any version of windows. This deosn't work with Windows OS that cannot support NTFS.
How to hide a partition in Windows?

Right-Click on My Computer [Computer in Windows Vista and Windows 7]
Click on Manage
From the list of options Click on Disk Management that will be located in the left-bottom section
All your hard disk and its partitions will be show in the right hand side
Right-Click on the partition that you want to hide and select "Change Drive Letters and Path"
Click on "Remove" and click "Yes"
Your drive will now be hidden in my computer

To unhide the drive :
Go to Disk Management Right-Click on the hidden partition [there will not be a drive letter on the hidden drive] again select "Change Drive Letters and Path"
Click on add and select an appropriate drive letter.
Click Ok
Now the drive is unhided.



No comments:

Post a Comment

Total Pageviews