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

If you are a Windows user, you probably know how to hide or lock a folder or file that contains sensitive data. We generally use folder encryption software to perform these tasks. However, if you have a lot of such folders and files, it’s not a good idea to lock all the folders. A better option would be to move all those files and folders you want to hide or don’t want others to know about their existence to a drive on your PC.

Then hide the entire drive so no one can see it. This hidden drive will not appear in Windows File Explorer but can be accessed from a command prompt or by typing the drive letter in Explorer’s address bar. So when someone uses your Windows PC, they don’t know that there is such a drive in their PC and that their sensitive data is safe.

This risewindows article will show you how to hide a drive or partition from file explorer on Windows 11/10/8/7 using the Registry editor.

Using Registry Editor, how to Hide a Drive or Partition from File Explorer on Windows 11/10/8/7?

Step 1. First, open Registry Editor.

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


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


Then, 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. After that, please right-click on the Explorer key, select New, and then DWORD (32-bit) Value. Name it NoDrives.

Step 4. Next, double-click on NoDrives and select the Decimal radio button. Lastly, 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.

So, here’s a list of the values (decimal numbers) 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

So, if you want 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 example, if young 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 the “C”) without corrupting your system. When you want your drives back in File Explorer, just set NoDrives Value data to 0.

That’s it for the article.

You guys are amazing; keep reading, learning & growing.

Also, read How to Change or Assign a Drive Letter to Existing Partition using Sordum Drive Letter Changer?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: