Windows Vista Forums

Drive - Hide or Unhide

  1. #1
    <!-- google_ad_section_start -->Drive - Hide or Unhide<!-- google_ad_section_end -->

    Drive - Hide or Unhide
    How to Hide or Unhide a Drive in Vista and Windows 7
    Published by Brink is online now
    26 May 2008
    Drive - Hide or Unhide

    How to Hide or Unhide a Drive in Vista and Windows 7

    information   Information
    This will show you how to hide or unhide a drive from being displayed in Computer and Windows Explorer in Vista and Windows 7.

    By default, all drives are not hidden.
    Note   Note
    This will only hide or unhide the drive in Vista and Windows 7, and will not prevent access to the drive from say the command prompt or Run command window.

    This will not unhide a drive that was not hidden by this method.

    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.
    Drive - Hide or Unhide-computer_unhidden.jpgDrive - Hide or Unhide-computer_hidden.jpg



    METHOD ONE

    Using the Local Group Policy Editor

    NOTE: For more drive letter options, see Method Three below.
    1. Open the all users, specific users or groups, or all users except administrators Local Group Policy Editor for how you want this policy applied.

    2. In the left pane, click on User Configuration, Administrative Templates, Windows Components, and Windows Explorer. (See screenshot below)
    Drive - Hide or Unhide-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.
    Drive - Hide or Unhide-properties.jpg
    6. Close the Local Group Policy Editor window. Your done.



    METHOD TWO

    Using a REG File Download

    NOTE: Whichever REG file you choose to use, it will overide all of the others. For more drive letter options, see the Method Three below.
    1. To Hide A and B drives only
    A) download

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

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

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

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

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

    B) Go to step 8.
    7. To Unhide All drives
    A) download
    8. Save the .reg file to your Desktop.

    9. Right click on the downloaded .reg file, and click on Merge.

    10. Click on Run, Continue (UAC-Vista) or Yes (UAC-Windows 7), Yes, and then OK when prompted.

    11. When done, you can delete the downloaded .reg file if you like.

    12. Log off and log on, or restart the computer to apply changes.



    METHOD THREE

    Manually in Registry Editor
    1. Open the Start Menu, then type regedit in the search box and press Enter.

    2. If prompted by UAC, then click on the Continue (Vista) or Yes (Windows 7)..

    3. In regedit, navigate to the location below. (See screenshot below)
    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer
    Drive - Hide or Unhide-reg1.jpg
    4. To Hide a Drive or Combination of Drives
    A) In the right pane of Explorer, right click on a empty area, 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.
    Drive - Hide or Unhide-reg2.jpg
    C) Type in the drive option hex or decimal number below in bold you want to set as restricted, and click on OK. (See screenshot below)

    Tip   Tip
    To hide multiple drive letters, add the decimal numbers together for each drive letter below that you want to hide, , select (dot) Decimal or Hex for the type of numbers you used, enter that number, and click on OK.

    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).



    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
    I 256 100
    J 512 200
    K 1024 400
    L 2048 800
    M 4096 1000
    N 8192 2000
    O 16384 4000
    P 32768 8000
    Q 65536 10000
    R 131072 20000
    S 262144 40000
    T 524288 80000
    U 1048576 100000
    V 2097152 200000
    W 4194304 400000
    X 8388608 800000
    Y 16777216 1000000
    Z 33554432 2000000
    All Drives 67108863 3ffffff

    • 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)
    Drive - Hide or Unhide-modify.jpg
    D) The registry will now look like this. (See screenshot below)
    Drive - Hide or Unhide-reg3.jpg
    E) Go to step 6.
    5. 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.
    6. Close regedit.

    7. Log off and log on, or restart the computer to apply changes.
    That's it,
    Shawn




    Related Tutorials



    Published by


    Brink's Avatar
    Administrator

    Join Date: Apr 2007
    Location: Texas, USA
    Posts: 31,331
    Array

    Tutorial Tools


    Applies to

    All Vista Versions
    64 Bit & 32 Bit


  2.   


  3. #1



    Newbie
    Join Date : May 2008
    Posts : 3
    Vista Ultimate 32-bit
    Local Time: 03:36 AM

    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

  4.   


  5. #2
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,331
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:36 PM
    usa us oklahoma

      Thread Starter

    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

  6. #3



    Newbie
    Join Date : May 2008
    Posts : 3
    Vista Ultimate 32-bit
    Local Time: 03:36 AM


     

    Re: Drive - Hide or Unhide

    Ah I see, thanks! I completely missed that when I read through this.

      My System SpecsSystem Spec

  7. #4
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,331
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:36 PM
    usa us oklahoma

      Thread Starter

    Re: Drive - Hide or Unhide

    Your welcome Poisonpanik, and welcome to Vista Forums.

    Shawn

      My System SpecsSystem Spec

  8. #5



    Newbie
    Join Date : May 2008
    Posts : 3
    Vista Ultimate 32-bit
    Local Time: 03:36 AM


     

    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

  9. #6



    Newbie
    Join Date : Aug 2008
    Posts : 7
    Vista Home Premium 32bit
    Local Time: 08:36 PM


     

    Re: Drive - Hide or Unhide

    i've vista hp, method 2 does not work for drive z:

      My System SpecsSystem Spec

  10. #7
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,331
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:36 PM
    usa us oklahoma

      Thread Starter

    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

  11. #8



    Newbie
    Join Date : Aug 2008
    Posts : 7
    Vista Home Premium 32bit
    Local Time: 08:36 PM


     

    Re: Drive - Hide or Unhide

    very sorry, it's my fault. The drive is hidden after restart.

      My System SpecsSystem Spec

  12. #9
    Brink's Avatar

    Administrator


    Join Date : Apr 2007
    Texas, USA
    Posts : 31,331
    64-bit Windows 8.1 Enterprise (RTM)
    Local Time: 08:36 PM
    usa us oklahoma

      Thread Starter

    Re: Drive - Hide or Unhide

    No problem Gixykings. I'm happy to hear that it is hidden now.

      My System SpecsSystem Spec

Page 1 of 6 123 ... LastLast

Drive - Hide or Unhide
Similar Threads
Tutorial Category
Hide/Unhide Folder General Discussion
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