Search code examples
windowshide

How can I disable user to choose "show hidden file"?


How can I disable users to choose "show hidden files" in setting?
I want to use a .bat file to protect my files.( I've already got the batch - I use it to HIDE and UNHIDE )
But the problem is, the user can simply show hidden files.

Can I disable this option?

Thanks!


Solution

  • Open regedit and change the CheckedValue from 1 to 0 at:

    HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/Windows/Current Version/Explorer/Advanced/Folder/Hidden/SHOWALL
    

    and restart.

    Do remember to backup the registry first.