However, occasionally, these hidden and protected files and folders need to be accessed to make informed changes, like the pagefile.sys. Therefore, one needs to be able to view and access them. In this post, we are going to show you multiple ways to view and access the hidden and protected system files in both Windows 10 and Windows 11 operating systems. Before we dig into the methods to view these hidden files and folders, there is some insight we would like to share with our readers.
Windows Hidden Folders VS. Protected Folders View Hidden and Protected Folders using File Explorer In Windows 11 Show Hidden Files and Folders in Windows 11 using Explorer Show Protected and Hidden Items in Windows 11 using Explorer In Windows 10 Show Hidden Files and Folders in Windows 10 using Explorer Show Protected and Hidden Items in Windows 10 using Explorer View Hidden Files and Folders using Settings App In Windows 11 In Windows 10 View Hidden and Protected Files and Folders from Control Panel View Hidden and Protected Files and Folders from Windows Registry View Hidden and Protected Items in Command Prompt View Hidden and Protected Items in PowerShell Show Files and Folders Hidden by Virus/Malware Closing Words
Windows Hidden Folders VS. Protected Folders
Windows has 2 categories of files and folders that are not visible to the users by default. One is the “Hidden” files and folders, and the other is the “Protected” files and folders. The hidden files and folders can be accessed by a user using either File Explorer or other command-line tools. However, the protected items are blocked by the Windows operating system. If you try to access these items, you will encounter a prompt such as the following: This is because the protected files and directories are critical to the functionality of the Windows OS and a user has no concern with them. This means that the protected items have nothing to do with what a user might be using the computer for and has no business there. With that said, files and folders can also be hidden due a malware or virus in your computer. These are usually hidden by ransomware where you are asked to pay a certain amount to bring back your hidden files. In this case, you may need to access/view those protected files as well. The methods given in this post cover all bases and allow you to view and access when Windows-hidden items as well as those hidden by a virus.
View Hidden and Protected Folders using File Explorer
Using File Explorer to view the hidden files and folders is perhaps the most desired way. However, this method probably won’t work if your device is infected by malware. You can still use this method to access and view the hidden content by Windows.
In Windows 11
The methods to view both the hidden items and the protected items are different when using File Explorer. Therefore, we have divided the method to view them.
Show Hidden Files and Folders in Windows 11 using Explorer
Follow these steps to view the hidden files and folders on Windows 11 OS using Windows Explorer: You should now be able to see the hidden items inside File Explorer. The icons of these files and folders would be less opaque than the others.
Show Protected and Hidden Items in Windows 11 using Explorer
When viewing the protected items, the hidden items are also shown in File Explorer. Follow these steps to view both hidden and protected files and folders in Windows 11: You will now be able to see both the hidden as well as protected items in this directory, as well as any other you navigate to. However, there will be no visible difference between the two types.
In Windows 10
Similar to Windows 11, you can also view the hidden folders, or the hidden as well as the protected folders. However, since the Explorer layout is a bit different than the one in Windows 11, we decided to write for Windows 10 in a separate section.
Show Hidden Files and Folders in Windows 10 using Explorer
Follow these steps to view the hidden files and folders on Windows 10 OS using Windows Explorer: You will now be able to see the hidden items in Explorer.
Show Protected and Hidden Items in Windows 10 using Explorer
Similar to Windows 11, when viewing the protected items, the hidden items are also shown in File Explorer. Follow these steps to view both hidden and protected files and folders in Windows 10: You will now be able to view both the hidden and protected items. In the case of both Windows 10 and Windows 11, if you wish to hide the hidden folders again, all you need to do is reverse the action that you used to show them in the first place. To hide both the protected and hidden items, you must go to the View tab in Folder Options, check the box next to “Hide protected operating system files” and select the “Don’t show hidden files, folders, or drives” radio button.
View Hidden Files and Folders using Settings App
You can also show and hide the hidden files and folders from the Settings app in both Windows 10 and 11. Note that this will only work for the hidden items, and not the protected items. Since the approach to display the hidden files and folders from the Settings app is slightly different for both Windows 10 and Windows 11, we have separated the 2 methods.
In Windows 11
You will now be able to see the hidden items in File Explorer. In case you want to hide the items again, simply toggle the same slider into the Off position.
In Windows 10
You will now be able to see the hidden items in File Explorer.
View Hidden and Protected Files and Folders from Control Panel
You can also show the hidden as well as the protected files and folders in File Explorer from the Control Panel. Here is how:
View Hidden and Protected Files and Folders from Windows Registry
You can also manipulate the Windows Registry manually to show or hide the hidden and protected items inside Windows Explorer. Here are the details for the registries that you can alter: This will open the Explorer Options window. This will show only the hidden items. Now follow these steps to make manual changes to the registries: Note: Misconfiguration of critical values in the system’s registry could be fatal for your operating system. Therefore, we insist that you create a system restore point before proceeding forward with the process. You should now be able to see the hidden and protected files and folders in File Explorer. A system restart will not be needed. If you want to revert these settings later and hide the items, you can do so by reverting the settings from within File Explorer Options, or you can change the Value Data for both Hidden and ShowSuperHidden to 2.
View Hidden and Protected Items in Command Prompt
You can also view the hidden and protected files and directories inside the Command Prompt. This method will show you only the items with the hidden attribute, and the items that are already visible in File Explorer will not be shown. Moreover, this won’t show the hidden items in File Explorer, but only inside the Command Prompt. Follow these steps to see the hidden and protected files and folders in any given directory: Now, you will see the hidden and protected items, but only inside the Command Prompt. We used “../..” since we wanted to go to the root of the C drive.
View Hidden and Protected Items in PowerShell
You can also view the hidden and protected files and directories inside Windows PowerShell. This method will show you the items with the hidden attribute as well as the other items that are already visible. Like the Command Prompt, this won’t show the hidden items in File Explorer, but only inside the PowerShell instance. Now, you will see the hidden and protected items, but only inside PowerShell.
Show Files and Folders Hidden by Virus/Malware
If your computer has been infected by a virus and all your files and folders have disappeared, it is likely that the virus has hidden them and is still present on your computer. To confirm this, you can view the hidden items using either Command Prompt or Windows PowerShell. To view the items hidden by a virus, run the following cmdlet in an elevated Command Prompt or PowerShell: The table below tells which switch in the “attrib” cmdlet does what: To avoid any negative impact on the operating system, we recommend that you create a system restore point before proceeding.
Closing Words
The hidden and protected items inside the Windows operating system are so for a reason. Therefore, we only recommend that you unhide them if you know what you are doing, as deleting or editing them can be fatal for your operating system.