Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista Tutorial - Drive - Hide or Unhide

Comment
 

Drive - Hide or Unhide

How to Hide or Unhide a Drive in Vista
Published by Brink
05-26-2008

How to Hide or Unhide a Drive in Vista

Information
  This will show you how to hide or unhide a drive from being displayed in Computer and Windows Explorer in Vista. By default, all drives are not hidden.
NOTE
  This will only hide or unhide the drive in Vista. It will not prevent access to it from say the command prompt or Run command window. To prevent access to a drive, see: How to Restrict or Unrestict Drive Access in Vista
WARNING
  This will not unhide a drive that was not hidden by this method.
RELATED LINKS:EXAMPLE: The D drive set to Unhide and Hide in Computer
NOTE: Open the Start menu and click on the Computer button to see this.
computer_unhidden.jpgcomputer_hidden.jpg

METHOD ONE:
Through the Local Group Policy Editor
NOTE
 
  • This method is only available for the Vista Business, Ultimate, and Enterprise editions. See Method Two below for the Vista Basic and Home Premium editions.
  • For more drive letter options, see the Manual section in Method Two below.
1. Open the Local Group Policy Editor.

2. In the left pane, click on User Configuration, Administrative Templates, Windows Components, and Windows Explorer. (See screenshot below)
group_policy.jpg
3. In the right pane, right click on Hide these specified drives in My Computer and click on Properties. (See screenshot above)

4. To Unhide All Drives -
A) Select (dot) Disabled or Not Configured and click on OK. (See screenshot below step 5C)

B) Go to step 6.
5. To Hide a Drive or Combination of Drives -
A) Select (dot) Enabled.

B) Click on the drop down arrow and select the drive or combination of drives option that you want to set as restricted (hidden). (See screenshot below)
NOTE: Even though the options say Restrict, it is to Hide the drive(s).

C) Click on OK.
properties.jpg
6. Close the Local Group Policy Editor window. Your done.

METHOD TWO:
Through the Registry
NOTE
  This will work for all Vista versions.
Through a Download:
NOTE: Whichever REG file you choose to use, it will overide all of the others. For more drive letter options, see the Manual section below.
1. To Hide A and B drives only -
A)

B) Go to step 8.
2. To Hide C drive only -
A)

B) Go to step 8.
3. To Hide D drive only -
A)

B) Go to step 8.
4. To Hide A, B, and C drives only -
A)

B) Go to step 8.
5. To Hide A, B, C, and D drives only -
A)

B) Go to step 8.
6. To Hide All drives -
A)

B) Go to step 8.
7. To Unhide All drives -
A)
8. Click on Save, and save the .reg file to the Desktop.

9. Right click on the .reg file(on Desktop) and click on Merge.

10. Click on the Run button in the Security Warning pop-up.

11. Click on Continue (UAC), Yes, and then OK when prompted.

12. When done, you can delete the .reg file (on Desktop).

13. Logoff and logon, or restart the computer to apply changes.
The Manual Way:
1. Open the Start Menu.

2. In the white line (Start Search) area, type regedit and press Enter.

3. Click on the Continue button in the UAC prompt.

4. In regedit, go to: (See screenshot below)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
reg1.jpg
5. To Hide a Drive or Combination of Drives -
A) In the right pane of Explorer, right click on a empty area and click on New and DWORD (32-bit) Value and type NoDrives and press Enter. (See screenshot below)

B) Right click on NoDrives and click on Modify.
reg2.jpg
C) Type in the drive option hex number below in bold you want to set as restricted and click on OK. (See screenshot below)
Tip
  You can also dot Decimal and use one of these numbers below for the drive with that letter you want hidden. To hide multiple drive letters, add the Decimal numbers together for each drive letter below that you want to hide, and use that number instead.

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 drives=67108863
For Example: I'm using 8 (hex number) to Hide D drive only, or for E=16 and F=32, I would use 16+32=48 (Decimal number).

  • Hide A and B drives only - type 3 (hex)
  • Hide C drive only - type 4 (hex)
  • Hide D drive only - type 8 (hex)
  • Hide A, B, and C drives only - type 7 (hex)
  • Hide A, B, C, and D drives only - type f (hex)
  • Hide all drives - type 3ffffff (hex)
Name:  Modify.jpg
Views: 13011
Size:  30.9 KB
D) The registry will now look like this. (See screenshot below)
reg3.jpg
E) Go to step 7.
6. To Unhide All drives -
A) In the right pane of Explorer, right click on NoDrives and click on Delete. (See screenshot above)

B) Click on Yes to confirm delete.
7. Close regedit.

8. Logoff and logon, or restart the computer to apply changes.
That's it,
Shawn

Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 25,801
Rep Power: 150
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

Old 05-30-2008  
poisonpanik
Newbie


Join Date: May 2008
Vista Ultimate 32-bit
 
 

Re: Drive - Hide or Unhide

I have a partition on my 2nd HDD labeled F: which is my windows vista backup and I want to hide it so you can't even see it but when I attempted these steps I got choices A, B, C, and D for drive letters but that was it. I have a C: and D: (D: is the big partition on the 2nd HDD) and F: (small partition on 2nd HDD) Any clue how I can hide this backup drive?

My System SpecsSystem Spec
Old 05-30-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Drive - Hide or Unhide

Hi Poisonpanik,

You will just need to do the manual way instead in METHOD TWO. Dot Decimal and type 32 (for F: drive) in step 5C.

Hope this helps,
Shawn
My System SpecsSystem Spec
Old 05-30-2008  
poisonpanik
Newbie


Join Date: May 2008
Vista Ultimate 32-bit
 
 

Re: Drive - Hide or Unhide

Ah I see, thanks! I completely missed that when I read through this.
My System SpecsSystem Spec
Old 05-30-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Drive - Hide or Unhide

Your welcome Poisonpanik, and welcome to Vista Forums.

Shawn
My System SpecsSystem Spec
Old 05-30-2008  
poisonpanik
Newbie


Join Date: May 2008
Vista Ultimate 32-bit
 
 

Re: Drive - Hide or Unhide

Thanks Brink and thanks for the SUPER FAST reply. It worked like a champ! I will be sure and pass the word on about this site. So much good info in one place. It's a gold mine!
My System SpecsSystem Spec
Old 08-07-2008  
gixykings
Member


Join Date: Aug 2008
Vista Home Premium 32bit
 
 

Re: Drive - Hide or Unhide

i've vista hp, method 2 does not work for drive z:
My System SpecsSystem Spec
Old 08-07-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Drive - Hide or Unhide

Hi Gixykings,

I have a few questions first.

What type of drive is it?

Did you dot Decimal in the Modify window and type 33554432?

Did you restart the computer afterwards to apply the changes?
My System SpecsSystem Spec
Old 08-18-2008  
gixykings
Member


Join Date: Aug 2008
Vista Home Premium 32bit
 
 

Re: Drive - Hide or Unhide

very sorry, it's my fault. The drive is hidden after restart.
My System SpecsSystem Spec
Old 08-18-2008  
Brink
Administrator


Join Date: Apr 2007
Vista x64 Ultimate SP2, Windows 7 (7600) x64
 
 

Re: Drive - Hide or Unhide

No problem Gixykings. I'm happy to hear that it is hidden now.
My System SpecsSystem Spec
Comment

Tutorial Tools


Similar Threads
Tutorial Category
How to Hide Drive in Vista and Still Be Able to Use it. Vista hardware & devices
Re: Drive - Hide Vista security
Disable/re-enable or hide/unhide Start Menu in Windows Vista via registry, using VB6 General Discussion
Computer Name - Hide or Unhide in Network Tutorials
Unhide vista c drive Vista hardware & devices


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
Tutorial powered by GARS 2.1.8m ©2005-2006

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46