Group policy on windows sets hidden files as invisible upon startup

I am an student and the computers at school are configured via a group policy to set hidden files to hidden. I can undo that by manually changing this in the menus however this gets really frustrating after that 1000th time (so to speak).

Is there a program or does someone know a batch file that can do this for me with a single click?

-
To clarify - you currently have a group policy that sets your hidden files to hidden, and you are tired of manually unchecking the box each time? –  Jared Harley Aug 28 '09 at 21:11
I'm referring to the computers at my school. I'm an ICT student and I need to work with hidden folders every now and then. Thing is, not all students are ICT students, so not all people need them. They expect as to know where the setting can be manipulated. –  KdgDev Aug 28 '09 at 23:09

There is no such policy, but here is registry setting and registry settings can be enforced through GPO with Administrative templates.

This is the registry key:

Value Name: ShowSuperHidden
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = Hide Files, 1 = Show Files)

Here is an ADM template I have used in the past:

CLASS USER
CATEGORY "System"
CATEGORY "Folders Files"
POLICY "Hide\Show Hidden Files"
EXPLAIN "This setting will allow for you to set the show and hide files and folders by default Keep in mind that this information will be stored in cleartext in the systems registry."

PART "SetThis" NUMERIC REQUIRED TXTCONVERT
VALUENAME "Hidden"
MIN 1 MAX 2 DEFAULT "2"
END PART

END POLICY
END CATEGORY
END CATEGORY

• Save the text with an ".adm" extention and place it somewhere.
• Create a GPO called "HiddenFiles" then open it up and add this template to your GPO
• Right click the "Administrative Templates" -> View -> Filtering -> "Only show policy settings that can be fully managed"
• Then go into your "User Configuration" -> Administrative Templates -> System -> Folders Files -> "Hide\Show Hidden Files"

The only catch with using unmanaged ADM's is they need to be reversed not disabled when you want to remove them from your system.

If you set ( Hidden = 1 )
You will need to set ( Hidden = 0 )

[1]: "How to create custom administrative templates in Windows 2000" http://support.microsoft.com/kb/323639

-

This is actually pretty easy, it just takes a little setup.

First, you'll want to create a registry key to set the "Show Hidden Files" option to true. Create a new file called "show.reg" and put the following text into it:

Windows Registry Editor Version 5.00

Place the file wherever you want to keep it (such as My Documents) and make note of it's location.

Then, on your desktop, create a new shortcut. In the path to the shortcut, put in:

regedit.exe /s c:\users\ path to file \show.reg

The /s command for regedit.exe suppresses the notifications regedit normally shows.

Once you've done this, you should be able to just double-click the shortcut and your hidden files will show up. You may have to refresh your Explorer window (press F5) to get the hidden files to show.

If you want to hide the files again with the same method, follow the instructions above, but use a new registry file called "hide.reg" with the following:

Windows Registry Editor Version 5.00