General Show Hidden Files, Folders, and Drives in Windows 11


  • Staff
Hide_selected_items_banner.png

This tutorial will show you how to hide or show hidden files, folders, and drives and protected operating system files for your account in Windows 11.

Hidden files, folders, and drives do not show by default in Windows.

Hidden files, folders, and drives are marked with the hidden attribute.

Protected operating system files are marked with the hidden and system attributes.

When you set to show hidden files, folders, and drives and protected operating system files, their icons will appear dimmed (faded) to indicate that they are hidden items.


If you turn on Show all folders in the navigation pane, then hidden folders will show in the navigation pane even if you set Don't show hidden files, folders, or drives in this tutorial.



Contents

  • Option One: "Show hidden files, folders, and drives" or "Don't show hidden files, folders, or drives" in File Explorer
  • Option Two: "Show hidden files, folders, and drives" or "Don't show hidden files, folders, or drives" in Folder Options
  • Option Three: Show or "Hide protected operating system files" in Folder Options
  • Option Four: "Show hidden files, folders, and drives" or "Don't show hidden files, folders, or drives" using BAT file
  • Option Five: Show or "Hide protected operating system files" using BAT file
  • Option Six: Turn On or Off Show Hidden and System Files in Settings


EXAMPLE: "Show hidden files, folders, and drives" and "Show protected operating system files" in File Explorer

Show_hidden_files_folders_and_drives_File_Explorer.png
Show_protected_operating_system_files.png





Option One

"Show hidden files, folders, and drives" or "Don't show hidden files, folders, and drives" in File Explorer


1 Open File Explorer (Win+E).

2 Click/tap on View on the command bar. (see screenshot below)

3 Click/tap on Show, and click/tap on Hidden items to check (show) or uncheck (hide - default) for what you want.

Show_hidden_files_folders_and_drives_in_File_Explorer.png





Option Two

"Show hidden files, folders, and drives" or "Don't show hidden files, folders, and drives" in Folder Options


1 Open Folder Options.

2 Click/tap on the View tab. (see screenshot below)

3 Select (dot) Show hidden files, folders, and drives or Don't show hidden files, folders, or drives (default) under "Hidden files and folders" for what you want.

4 Click/tap on OK.

Show_hidden_files_folders_and_drives.png





Option Three

Show or "Hide protected operating system files" in Folder Options


It is required to Show hidden files, folders, and drives to show protected operating system files.


1 Open Folder Options.

2 Click/tap on the View tab. (see left screenshot below)

3 Check (hide - default ) or uncheck (show) Hide protected operating system files for what you want. (see left screenshot below)

4 If you unchecked Hide protected operating system files, click/tap on Yes to confirm. (see right screenshot below)

5 Click/tap on OK. (see left screenshot below)

Hide_protected_operating_system_files-1.png
Hide_protected_operating_system_files-2.png





Option Four

"Show hidden files, folders, and drives" or "Don't show hidden files, folders, or drives" using BAT file


1 Do step 2 (show) or step 3 (hide) below for what you would like to do.


 2. "Show hidden files, folders, and drives"

A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Show_hidden_files_folders_and_drives.bat


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V Hidden /T REG_DWORD /D 1 /F

taskkill /f /im explorer.exe
start explorer.exe


 3. "Don't show hidden files, folders, or drives"

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Don't_show_hidden_files_folders_and_drives.bat


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V Hidden /T REG_DWORD /D 0 /F

taskkill /f /im explorer.exe
start explorer.exe

4 Save the .bat file to your desktop.

5 unblock the .bat file.

6 Double click/tap on the .bat file to run it.

7 You will now notice your screen flicker as the explorer process is restarted to apply.

8 You can now delete the downloaded .bat file if you like.




Option Five

Show or "Hide protected operating system files" using BAT file


1 Do step 2 (show) or step 3 (hide) below for what you would like to do.


 2. Show protected operating system files

This will also "Show hidden files, folders, and drives".


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Show_protected_operating_system_files.bat


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V Hidden /T REG_DWORD /D 1 /F

REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V ShowSuperHidden /T REG_DWORD /D 1 /F

taskkill /f /im explorer.exe
start explorer.exe


 3. Hide protected operating system files

This is the default setting.


A) Click/tap on the Download button below to download the file below, and go to step 4 below.​

Hide_protected_operating_system_files.bat


(Contents of REG file for reference)
Code:
Windows Registry Editor Version 5.00

REG ADD "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /V ShowSuperHidden /T REG_DWORD /D 0 /F

taskkill /f /im explorer.exe
start explorer.exe

4 Save the .bat file to your desktop.

5 unblock the .bat file.

6 Double click/tap on the .bat file to run it.

7 You will now notice your screen flicker as the explorer process is restarted to apply.

8 You can now delete the downloaded .bat file if you like.




Option Six

Turn On or Off Show Hidden and System Files in Settings


1 Open Settings (Win+I).

2 Click/tap on Privacy & security on the left side, and click/tap on For developers on the right side. (see screenshots below)

Starting with Windows 11 version 22H2 KB5030310 Build 22621.2361, For developers is now in Settings > System.



For_Developers_Settings-1.png
For_Developers_Settings-1b.png

3 Click/tap on File Explorer to expand it open. (see screenshot below step 4)

4 Turn On or Off (default) Show hidden and system files for what you want. (see screenshot below)

Hidden files = Toggle "Show hidden files, folders, and drives" or "Don't show hidden files, folders, or drives".

System files = Toggle to show or hide protected operating system files if previously set to show in Option Three or Option Five:.


For_Developers_Settings-3.png

5 You can now close Settings if you like.


That's it,
Shawn Brink


 

Attachments

  • Hide_selected_items.png
    Hide_selected_items.png
    3.1 KB · Views: 133
  • Hide_protected_operating_system_files.bat
    342 bytes · Views: 158
  • Don't_show_hidden_files_folders_and_drives.bat
    333 bytes · Views: 246
  • Show_hidden_files_folders_and_drives.bat
    333 bytes · Views: 257
  • Show_protected_operating_system_files.bat
    451 bytes · Views: 170
Last edited:
679gf9.jpg
 

My Computers

System One System Two

  • OS
    Windows 11 Pro x64 23H2 v22631.2861
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built Myself in 2013
    CPU
    AMD Ryzen 1800X 8-Core @ 3.60GHz
    Motherboard
    Asus Crosshair VI Hero
    Memory
    16GB G.Skill Trident Z RGB Series
    Graphics Card(s)
    AMD Radeon RX 580 8GB GDDR5
    Sound Card
    On Board
    Monitor(s) Displays
    Samsung 27" , PLANAR 22", eMachine 22"
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~ P34A60 512GB NVMe PCIe Gen3x4 M.2
    ~ 3TB WD Red HDD (extra storage)
    ~ SanDisk 250GB SSD
    ~ 2 X 1TB HDD
    ~~~~~~~~~~
    PSU
    Corsair RM850 Fully Modular (850watts)
    Case
    NZXT Phantom 630 CA-PH630-W1
    Cooling
    CORSAIR iCUE H100i RGB PRO XT
    Keyboard
    Logitech K860
    Mouse
    Logitech MX Master
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *This is my Main Computer That I use*
  • Operating System
    Windows 10 Pro x64
    Computer type
    PC/Desktop
    Manufacturer/Model
    Asus
    CPU
    AMD A10-5700 APU @ 3.40Ghz
    Motherboard
    Asus CM1745
    Memory
    8GB
    Graphics card(s)
    AMD Radeon R7 350x GDDR5 4 GB
    Sound Card
    On Board
    Monitor(s) Displays
    Dual Monitor Setup ONN 22" Monitors
    Screen Resolution
    1920 X 1080
    Hard Drives
    ~~~~~~~~
    250GB SSD

    500GB HDD
    ~~~~~~~~
    PSU
    350Watt PSU
    Cooling
    Air Cooling
    Mouse
    MX Master
    Keyboard
    Microsoft Ergonomic 4000
    Internet Speed
    752Mbps (Download) / 537Mbps (Upload)
    Browser
    Firefox
    Antivirus
    Malwarebytes
    Other Info
    *Computer for Weather Software*

Latest Support Threads

Back
Top Bottom