How to Disable 'Show - Hidden Items' Option in Windows Explorer

Abstract: Enforce hiding hidden files in Windows Explorer by configuring Group Policy or Registry settings to neutralize the Show Hidden Items toggle.

Created: 2026-09-21 by

You cannot permanently remove the "Show hidden items" toggle from the View ribbon in Windows Explorer because it is a hardcoded UI element. However, you can effectively disable the feature by hiding all hidden files and folders via Group Policy or Registry settings, ensuring users never see them even if they click the button.

Understanding the Limitation

The "Show hidden items" checkbox in the File Explorer interface is a static part of the user interface design in both Windows 10 and Windows 11. Microsoft does not provide a native setting to delete this button from the toolbar. Attempts to modify the shell extensions or ribbon XML to hide this specific control are complex, unstable, and generally unsupported for average users. Therefore, the goal shifts from removing the button to neutralizing its effect. If the underlying system configuration forces hidden files to remain hidden, clicking the button will have no visible impact on the file list, achieving the desired security and organizational outcome.

Method 1: Using Local Group Policy (Windows Pro/Enterprise)

This method is the most robust way to enforce visibility settings across a user session. It requires administrative privileges and is available only on Windows Pro, Enterprise, or Education editions. Home edition users must use the Registry Editor method described below.

  1. Open Group Policy Editor: Press Win + R, type gpedit.msc, and press Enter.
  2. Navigate to User Configuration: Expand User Configuration > Administrative Templates > Windows Components > File Explorer.
  3. Locate the Setting: Find the policy named Show hidden files and folders. Double-click it to open the properties window.
  4. Configure the Policy: Select Disabled. This setting ensures that hidden files are not displayed regardless of the user's choice in the View tab. Note that selecting "Enabled" would force them to be shown, while "Not Configured" leaves it to the user's preference.
  5. Apply Changes: Click OK. You may need to restart the computer or log out and back in for the changes to take full effect.

This approach is particularly useful in corporate environments where consistency is required. For more information on managing Windows Explorer behavior, you might find Troubleshooting Slow Loading and Blackout Issues in Windows Explorer helpful, as performance issues can sometimes mask visibility problems.

Method 2: Using Registry Editor (All Windows Versions)

For Windows Home users or those who prefer direct registry manipulation, this method modifies the default state of the Explorer settings. Be cautious when editing the registry, as incorrect changes can affect system stability.

  1. Launch Registry Editor: Press Win + R, type regedit, and press Enter. Confirm any User Account Control prompts.
  2. Navigate to the Key: Go to the following path: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced.
  3. Modify Hidden Value: Look for a DWORD value named Hidden. If it does not exist, create a new DWORD (32-bit) Value and name it Hidden.
  4. Set the Data: Double-click Hidden and set the Value data to 2. In Windows Explorer logic, 1 means show all items, and 2 means hide protected operating system files and other hidden items. Setting it to 2 ensures that even if the user toggles the view, the system defaults to hiding these items.
  5. Restart Explorer: Open Task Manager, end the Windows Explorer process, and restart it from the File menu to apply the change immediately without rebooting.

It is crucial to understand that this registry key sets the default behavior. While it strongly discourages showing hidden items, determined users with access to the registry can still override this. For deeper insights into how Windows handles file attributes, see Why does Windows remove spaces from filenames?.

Alternative: Hiding Specific Files

If your goal is to hide specific sensitive files rather than all hidden system files, you should use the standard "Hidden" attribute combined with the "System" attribute. Right-click the file, select Properties, check Hidden, and then use the command prompt to add the system attribute: attrib +s +h filename.ext. This makes the file invisible in normal views and prevents deletion through the standard GUI unless the user explicitly enables viewing of protected OS files.

Maintaining System Health

Disabling the visibility of hidden items can sometimes lead to confusion if users accidentally delete important configuration files thinking they are junk. Ensure that critical application data is backed up regularly. Additionally, if you experience issues with Explorer after changing these settings, such as slow loading times, refer to Windows 10 Quick access and This PC not being populated for troubleshooting steps related to Explorer caching and navigation.

Frequently Asked Questions

Can I completely delete the Show Hidden Items button from the ribbon?

No, the button is a built-in part of the Windows Shell UI and cannot be removed without third-party shell modifications or custom theme hacking, which is not recommended. The effective alternative is to configure the system so that clicking the button has no visual effect.

Will this setting affect my ability to recover deleted files?

Yes, some recovery software relies on accessing hidden system partitions or temporary files. If you need to run deep recovery scans, you may temporarily need to enable hidden items via the Registry or Group Policy to ensure the software can see all necessary sectors.

Does this work on Windows 11?

Yes, both the Group Policy and Registry methods described above are fully compatible with Windows 11. The registry key location remains the same, and the Group Policy structure is identical to Windows 10.

What happens if I set the Hidden registry value to 1?

Setting the value to 1 forces Windows to display all hidden files and folders, overriding the user's selection in the View tab. This is the opposite of what is intended for security hardening and should only be used for diagnostic purposes.

How do I revert these changes if I want to see hidden files again?

To revert, simply change the Group Policy back to "Not Configured" or reset the Registry Hidden DWORD value to 1. Restarting File Explorer or logging off and back in will restore the previous visibility state.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More