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.
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

    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
    A1
    B2
    C4
    D8
    E16
    F32
    G64
    H128
    I256
    J512
    K1024
    L2048
    M4096
    N8192
    O16384
    P32768
    Q65536
    R131072
    S262144
    T524288
    U1048576
    V2097152
    W4194304
    X8388608
    Y16777216
    Z33554432
    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 Drives Tweaker Hide Drives Show Letters

You can download Winaero Tweaker here:

Download Winaero Tweaker

That's it.

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

  1. Павел

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

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *