I would like to create a batch file to disable Windows option "hide protected operating system files" (You can see in the image in attachment the option that I want disable).
Can you help me?
Thank you very much
Change the registry setting ShowSuperHidden
with the following command:
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v "ShowSuperHidden" /t REG_DWORD /d "1" /f
It sets this registry entry to TRUE
=1
to show these system files.
Restarting the "explorer.exe" may be necessary
taskkill /im explorer.exe /f
explorer
The second command restarts explorer.exe
.
A more complete list of these registry modifications can be found at GitHUB.