How to Hide a Drive or Partition from File Explorer on Windows 11/10/8/7?

How do I hide a drive in Windows 11 or 10? How do I create a hidden partition on Windows 11 or 10? If you have confidential or private data on your Windows PC and want to hide that drive from other users, it is possible using a command prompt. Using Command Prompt, you can disappear drives in Windows 11/10/8/7 with ease. However, if you are searching for another way to hide or disappear your specific portion or drive on Windows PC, it is possible by modifying the registry also.

There may be other reasons also to hide a drive or partition on your PC; for instance, you want to protect your files from your children at home. A simple registry trick will make your work easier to hide a drive or partition in Windows 11/10/8/7/Vista/XP, so it cannot be accessed from Windows Explorer for File Explorer by inexperienced users. There is no need to download and install a third-party tool to hide a partition from your PC.

This method is not foolproof, which means an experienced user can still access the contents of the hidden drive from Command Prompt or Disk Management. If you have confidential or sensitive data on a local disk and want to lock or protect it securely, I recommend downloading and installing a folder locker software.

How to Hide a Drive or Partition from File Explorer on Windows 11/10/8/7 using Registry Editor?

Step 1. Open Registry Editor.

To launch the Registry Editor window, press and hold the Windows logo key and then press the R key from the keyboard to open the Run dialog box. Type regedit in the Run box and hit Enter from the keyboard to access Registry Editor.

Step 2. In the Registry Editor window, navigate or browse for the following key from the left side pane:-

HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

If the Explorer key does not exist on your PC, right-click on the Policies key, select New, and then Key. Name the newly created key as Explorer.

Step 3. Now, please right-click on the Explorer key, select New, and then DWORD (32-bit) Value. Name it NoDrives.

Step 4. Now, double-click on NoDrives and select the Decimal radio button. Finally, enter a proper number in the Value data field for hiding your desired partition. For instance, if you need to hide drive “D,” type 8 in the Value data field.

Here’s a list of the values (decimal number) you need to enter for a few different drive letters:-

  • 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

However, if you wish to hide or disappear more than one drive at a time on Windows, Just add the values of the drives that you want to hide. For instance, if you want to hide the drives A, B, and C, you need to enter 7 (1+2+4) in NoDrives Value data as the decimal value.

You can even hide the windows installation drive (usually “C” drive) without corrupting your system. When you want to get your drives back in File Explorer, just set NoDrives Value data to 0.

Leave a Reply