All About Cookies is an independent, advertising-supported website. Some of the offers that appear on this site are from third-party advertisers from which All About Cookies receives compensation. This compensation may impact how and where products appear on this site (including, for example, the order in which they appear).
All About Cookies does not include all financial or credit offers that might be available to consumers nor do we include all companies or all available products. Information is accurate as of the publishing date and has not been provided or endorsed by the advertiser.
The All About Cookies editorial team strives to provide accurate, in-depth information and reviews to help you, our reader, make online privacy decisions with confidence. Here's what you can expect from us:
- All About Cookies makes money when you click the links on our site to some of the products and offers that we mention. These partnerships do not influence our opinions or recommendations. Read more about how we make money.
- Partners are not able to review or request changes to our content except for compliance reasons.
- We aim to make sure everything on our site is up-to-date and accurate as of the publishing date, but we cannot guarantee we haven't missed something. It's your responsibility to double-check all information before making any decision. If you spot something that looks wrong, please let us know.
Did you know there are hidden files on Windows PCs and laptops? These include system files, configuration files, backup files, and other file types. They remain hidden on purpose to safeguard your operating system from accidental modifications and deletions that could harm it.
In this article, we’ll provide instructions on how to show hidden files in Windows, in case you need to access hidden files and folders. It may be to change settings, modify configurations, or delete temporary files.
How to show hidden files in Windows 10
How to show hidden files in Windows 11
How to show hidden files in Windows Command Prompt (CMD)
Why you can’t find hidden files
FAQs
Bottom line: Play file hide-and-seek with caution
What are hidden files?
Windows hides files for an important reason. Hidden files are not viewable in plain sight and are usually critical system files, app configuration files, backup files, temporary files, and caches. These files are not displayed by default. The main purpose behind concealing them is to prevent accidental modifications that could harm the operating system or lead to instability.
Nonetheless, situations arise where accessing these hidden files becomes necessary. Whether for troubleshooting, tidying up the operating system, or out of sheer curiosity, advanced users, such as system administrators, developers, and IT professionals, often need to retrieve hidden files. They might use File Explorer or command-line tools to adjust Windows security settings, alter configuration files, or remove unnecessary files to enhance system efficiency.
Proceed with caution when exploring hidden files and folders, particularly if you're considering modifications. It’s better to stick to known file types so you don’t accidentally delete critical folders in Windows.
What is the shortcut command to show hidden files in Windows?
There is no keyboard shortcut that automatically displays hidden files. However, you can reveal hidden files with File Explorer or Windows Command Prompt (CMD). Read the next sections and follow our step-by-step guide on how to reveal hidden files with either option.
How to show hidden files in Windows 10
Revealing hidden files in Windows 10 involves a few straightforward steps:
- Launch File Explorer by searching for it or by clicking its icon located on the taskbar.
- Navigate to the View menu, choose Options, and then click on the Change folder and search options.
- From there, head to the View tab. Within the Advanced settings section, select the option to Show hidden files, folders, and drives and click OK.
How to show hidden files in Windows 11
Displaying hidden files in Windows 11 is much more straightforward than in Windows 10:
- Launch File Explorer.
- Select the View tab located on the menu bar.
- In the Show/hide section, activate the Hidden items checkbox.
How to show hidden files in Windows Command Prompt (CMD)
Windows Command Prompt (CMD), also known as a terminal window, is another method to show hidden files in Windows. Here’s how:
- To open Command Prompt, type CMD into the search bar found on the taskbar and select it. Alternatively, press the Windows key + R, type "CMD" into the Run dialog box, and press Enter or click OK.
- After opening CMD, navigate to the directory where you wish to search for hidden files by typing "
cd [path to your directory]
" and press Enter. - Now type
dir /a:h
and press Enter in the terminal window to display a list of all hidden files in the current directory. - Type
dir /a:d
and press Enter if you’d rather reveal hidden directories.
Why you can’t find hidden files
Several factors may prevent you from locating certain files with Windows File Explorer, and understanding these reasons can help you troubleshoot more effectively. Let's examine some prevalent scenarios.
Case 1: Lack of administrator permissions
By default, Windows safeguards certain system files and folders from potential harm by hiding them. Typically, only users with admin permissions are able to access these files.
For instance, accessing system logs or configuration files might require administrator privileges due to their sensitive nature.
Case 2: Concealment by malware
Malware is sometimes designed to camouflage itself by using the “hidden attribute” or other cloaking techniques. That means that malware embedded in files can be undetectable, even if you have admin privileges and check for hidden files.
So, let’s say you're investigating a file that you suspect has malware embedded in it. After inspecting it, you found no evidence of malicious software because it was designed to elude detection in plain sight.
Case 3: Password protection or encryption
Files that are password protected or encrypted may not show up in File Explorer searches, even with the setting to display hidden files enabled. Accessing these files requires the appropriate password or decryption key.
As an example, if you're searching for confidential documents in an encrypted folder, they won't appear in File Explorer searches because of the encryption.
FAQs
How do I find hidden files in Windows 10?
To locate hidden files in Windows 10, open File Explorer, navigate to the View menu, select Options, click on Change folder and search options, proceed to the View tab, and then choose Show hidden files, folders, and drives before clicking OK.
How do I find hidden files in Windows 11?
In Windows 11, reveal hidden files by launching File Explorer, selecting the View tab on the menu bar, and then checking Hidden items in the checkbox under the Show/hide section.
What is the command to show hidden files in Windows?
To display hidden files in Windows using a command, open Command Prompt (CMD), navigate to your desired directory with cd [path to your directory]
, and then type dir /a:h
to list all hidden files in that directory.
How do I turn off show hidden files in Windows?
To disable the visibility of hidden files in Windows, reverse the process used to show them: in File Explorer's View menu (Windows 10) or the View tab (Windows 11), deselect "Show hidden files, folders, and drives” or the "Hidden items" checkbox, respectively.
Bottom line: Play file hide-and-seek with caution
There are serious reasons why Windows keeps hidden files, like critical system files, from plain sight. It’s a prevention mechanism to deter users from tampering with files that are essential to the operating system or apps and accidentally damaging them. Sometimes, it’s necessary to access hidden files for troubleshooting, modifying configuration files, or simply to free up space.
Arming yourself with the proper knowledge to access hidden files safely and knowing exactly what you’re doing with them is key to maintaining the stability and operation of your computer system. For those moments when you need to delete data securely, don't hesitate to explore our selection of the best data removal services, ensuring your digital footprint is managed safely and effectively.