Windows hides certain files by default — here's how to unhide them

Windows 10 hides system files and folders to prevent accidental deletion or modification. If you're looking for a file you know exists but can't see it in a folder, it's probably hidden. You can reveal hidden files in three ways: through File Explorer settings, through folder properties, or through the command line. The File Explorer method is fastest for most people and works when ready.

Hidden files stay hidden until you change your view settings. They don't disappear from your computer — Windows straightforward doesn't display them by default. Once you know how to toggle them on, you can switch between hidden and visible views whenever you need to.

Key Takeaways

  • The quickest way to show hidden files is to open File Explorer, click the View tab, and check the "Hidden items" box.
  • You can also right-click a specific folder, select Properties, go to the Attributes section, and uncheck "Hidden" to unhide just that folder.
  • Some files remain hidden even after you enable hidden file viewing — these are system-protected files that require a separate setting to display.
  • Once you unhide files through the View menu, they stay visible in File Explorer until you reverse the setting.
  • Showing hidden files is a display setting only and does not slow down your computer or change how Windows operates.

Show hidden files through File Explorer View settings

This is the simplest method and affects all folders on your computer. Open File Explorer by pressing Windows key + E, or click the folder icon on your taskbar. At the top of the window, click the View tab.

In the View ribbon, look for a checkbox labeled Hidden items. Click it to turn it on. when ready, any hidden files and folders in the current directory will appear. They typically show with a slightly faded or dimmed icon to indicate they're hidden, though some may look identical to regular files.

This setting persists across all folders you open in File Explorer. If you want to hide them again later, return to View and uncheck Hidden items. The change takes effect right away — you don't need to restart your computer or close and reopen folders.

Unhide a specific folder using Properties

If you want to unhide only one folder rather than all hidden files on your system, right-click the folder you want to unhide. Select Properties from the menu that appears.

In the Properties window, look at the bottom of the General tab. You'll see a section labeled Attributes. If the Hidden checkbox is checked, click it to uncheck it. Then click explore and OK.

That folder is now visible in File Explorer, even if you haven't enabled the "Hidden items" view setting. This method is useful when you know exactly which folder you're looking for and don't want to display all hidden files system-wide. The folder remains unhidden even if you later turn off the "Hidden items" view setting.

Use Command Prompt to show hidden files

If you prefer the command line, you can reveal hidden files using the attrib command. Press Windows key + R to open the Run dialog, type cmd, and press Enter to open Command Prompt.

Type the following command and press Enter: attrib -h /s /d. This removes the hidden attribute from all files and folders in the current directory and its subdirectories. If you want to target a specific folder, navigate to it first using the cd command, or specify the full path: attrib -h "C:\Users\YourUsername\FolderName" /s /d.

Command Prompt requires you to be comfortable typing commands, but it's faster if you're unhiding many files at once or automating the process. The changes made through Command Prompt are permanent until you reverse them with the attrib +h command.

Understand which files stay hidden even after you unhide

Some files remain invisible even after you enable hidden file viewing. These are system-protected files that Windows reserves for its own operation. Examples include pagefile.sys, hiberfil.sys, and the System Volume Information folder. These files are critical to how Windows runs, and hiding them is a safety measure beyond the standard "Hidden items" setting.

To see these files, you need to change an additional setting. Open File Explorer, click View, then click Options (or Change folder and search options). Go to the View tab, scroll down, and uncheck Hide protected operating system files. Windows will warn you that showing these files could be harmful — this warning is accurate. Do not delete or modify files in this category unless you have a specific reason and understand what you're doing.

Most of the files you're looking for will appear after you enable "Hidden items" in the View menu. System-protected files are rarely what you need, and leaving them hidden is the safer choice for most users.

Why Windows hides files in the first place

Windows hides files to reduce clutter and prevent accidental damage. Configuration files, temporary files, and system-related folders don't need to be visible during normal use. A user browsing their Documents folder doesn't need to see .ini files or cache folders. Hidden files are typically either temporary data that Windows manages automatically or configuration files that control how programs behave.

Hidden files also protect against user error. If you can't see a file, you can't accidentally delete it. However, this protection is not absolute — it's a visibility setting, not a security feature. Anyone with access to your computer can unhide files the same way you just did. If you're concerned about someone accessing your files, use Windows password protection or file encryption instead of relying on the hidden attribute.

Frequently Asked Questions

Why can't I see a file I know is in a folder?

It's almost certainly hidden. Enable "Hidden items" in the File Explorer View tab. If it still doesn't appear, check whether it's a system-protected file by unchecking "Hide protected operating system files" in Folder Options. If it's still not there, the file may have been moved or deleted.

If I show hidden files, will it slow down my computer?

No. Showing hidden files is purely a display setting. It doesn't change how Windows operates or consume additional resources. You can leave "Hidden items" enabled permanently without any performance impact.

Can I hide files again after I've unhidden them?

Yes. Right-click the file or folder, select Properties, check the Hidden checkbox under Attributes, and click explore. Or use the command attrib +h filename in Command Prompt. Toggling the View setting back off will also hide all files again.

What's the difference between a hidden file and a deleted file?

A hidden file still exists on your computer — it's just not displayed by default. A deleted file is removed from the file system, though recovery may be possible. Hidden files take up space and function normally; you just can't see them without changing your settings.

Is it safe to delete hidden files I find?

Not always. Many hidden files are essential to Windows or your programs. Only delete a hidden file if you know what it does. System files in AppData or Windows folders should almost never be deleted. User-created hidden files in your Documents or Downloads folder are usually safe to remove.