Forum Discussion
.nhiberfil.sys and other .sys files are not visible in File Explorer even after enabling their view
Windows 11 Version 23H2 (OS build 22631.2861)
I have encountered an issue where I am unable to access the hiberfil.sys, pagefile.sys, and swapfile.sys files using File Explorer, despite enabling options like "show file extension" and "show hidden and system files." Even after activating Developer Mode, which is unnecessary for me as a retired non-developer, I still cannot view these files. Please find attached images: system settings.jpg and File Explorer C drive.jpg.
To access these files, I must resort to using third-party software or entering the command dir /ah in an elevated administrator command prompt set to C:\. Refer to Command Prompt.jpg for more details.
This heavy-handed approach by Microsoft appears unnecessary, especially when the system settings theoretically allow visibility of these files. Are there any additional settings that I may have overlooked?
3 Replies
- BeausesCopper ContributorWhile you can theoretically disable system file protection, this is not recommended. It poses a risk to your system’s stability and security, as it involves overriding critical protective features.
- ChrinstianCopper ContributorSince you've already mentioned using command prompt, it's like you’ve found the workaround that confirms your access:
The command dir /ah is perfect for showing all hidden files in the directory. You can navigate to the respective folder using cd commands to get more specific. - Skyler-BIron ContributorEnable Viewing Hidden Items:
Open File Explorer.
Go to the View tab on the Ribbon.
Click on Options on the right, then select Change folder and search options.
In the Folder Options dialog, switch to the View tab.
Under "Advanced settings", ensure Show hidden files, folders, and drives is selected.
Ensure Hide protected operating system files (Recommended) is unchecked.
Click OK to save changes.
Check Permissions:
Some system files may have permissions set that prevent them from being viewed or accessed. You might want to ensure that your user account has appropriate permissions.
Use Command Prompt:
If the above options do not work, you can use Command Prompt to navigate to the directory and list files.
Press Windows + R, type cmd, and press Enter.
Type dir C:\ /a and press Enter to list all files, including hidden and system files.