How To Hide a Drive in Windows 10 File Explorer

In Windows, you can hide specific drives visible in the This PC folder of File Explorer. This can be done with a Registry tweak. Today, we'll see how it can be done.


When you are using the method described below, drives will remain accessible for users of your PC. While a hidden drive won't appear in File Explorer, the user can type the full path to the folder or file on that drive in File Explorer's address bar to open it, even if it is hidden. The same applies to the Run dialog. Also, all installed apps will have access to the drive's contents. All built-in tools like Disk Management or Disk Defragmenter will be able to work with the drive.

Sign in as Administrator before proceeding. You will need to apply a special Registry tweak.

To hide a drive in Windows 10 File Explorer, do the following.

  1. Open the Registry Editor app.
  2. Go to the following Registry key.

    See how to go to a Registry key with one click.Windows 10 Registry Policies Key

  3. On the right, modify or create a new 32-Bit DWORD value "NoDrives".Windows 10 Registry Policies Key New DwordWindows 10 Registry Create NoDrives ValueNote: Even if you are running 64-bit Windows you must still create a 32-bit DWORD value.
  4. To hide a single drive, set the NoDrives value data in decimals according to the table below. Pick the desired value for the appropriate drive letter. In my case, I will set NoDrives to 16 to hide the E: drive.Set Nodrives To 16
    Drive LetterDecimal Value Data
    Show all drives0
    Hide all drives67108863
  5. To hide multiple drives in a row, add up the values for the appropriate drive letters using the table above. Enter the value in decimals. For example, to hide drives C and E, use the value data of 20 (4+16=20).
  6. To make the changes done by the Registry tweak take effect, you need to sign out and sign in to your user account. Sometimes you may need to restart Windows.

In my case, the result will be as follows. Before applying the tweak, the drive E: is visible:Drive Is Visible In This PcAfter applying the tweak, it is hidden.

Hide Drive In This PC In Windows 10

I can still access its contents using the address bar of File Explorer.

Access Hidden Drive

To save plenty of your time, you can use Winaero Tweaker. The app can hide drives just with one click. Select drives you want to hide under File Explorer\Hide drives.

Tweaker Hide DrivesTweaker Hide Drives Show Letters

You can download Winaero Tweaker here:

Download Winaero Tweaker

That's it.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!


Author: Sergey Tkachenko

Sergey Tkachenko is a software developer who started Winaero back in 2011. On this blog, Sergey is writing about everything connected to Microsoft, Windows and popular software. Follow him on Telegram, Twitter, and YouTube.

One thought on “How To Hide a Drive in Windows 10 File Explorer”

  1. Скрыть диск в Windows 10 можно проще. Правой кнопкой мыши щелкаем по “этот компьютер”-открываем управление компьютером-переходим на вкладку “управление дисками”- выбираем интересующий нам диск- опять кликаем по нему-“изменить букву диска или путь к диску”- удаляем букву диска. И все…)))) Диск исчезает из проводника.Если нужно чтобы он снова отображался выполняем те же действия- только теперь добавляем букву диска. И диск снова отображается в проводнике.)))))

Leave a Reply

Your email address will not be published.

Using Telegram? Subscribe to the blog channel!
Hello. Add your message here.