hide file extensions of known file types

  • Thread starter Thread starter Jason Gallas
  • Start date Start date
Here is the contents of an custom ADM file that gets you all three of those
settings:


CLASS USER
CATEGORY "Windows Explorer options"
POLICY "Enable the essential File settings for the administrators"
EXPLAIN "This policy will modify three different portions of the Windows
Explorer interface.\n\nThe first option will either show or hide hidden
files and foldes.\nThe next option will show the superhidden files, which
are the protected OS hidden files.\nThe final option will allow the file
extension to be seen or not."
KEYNAME "software\microsoft\windows\currentversion\explorer\advanced"

PART "Do you want to see hidden files?" TEXT
END PART

PART "Hidden FIles and Folders:" DROPDOWNLIST
VALUENAME HIdden
ITEMLIST
NAME "Yes" VALUE Numeric 1
NAME "No" VALUE Numeric 2
END ITEMLIST
END PART

PART "Do you want to see Super Hidden files?" TEXT
END PART

PART "Super Hidden" DROPDOWNLIST
VALUENAME SHowsupperhidden
ITEMLIST
NAME "Yes" VALUE Numeric 1
NAME "No" VALUE Numeric 0
END ITEMLIST
END PART

PART "Do you want to see the file extensions?" TEXT
END PART

PART "File extensions:" DROPDOWNLIST
VALUENAME HideFileExt
ITEMLIST
NAME "Yes" VALUE Numeric 0
NAME "No" VALUE Numeric 1
END ITEMLIST
END PART

END POLICY
END CATEGORY
 
Hey how do you add this as a policy? I tried copying and pasting into a
text file and then saving it as custom.adm and then importing it but it just
imported the category "windows explorer options". None of the policies got
imported.

Thanks
Jason

: Here is the contents of an custom ADM file that gets you all three of
those
: settings:
:
:
: CLASS USER
: CATEGORY "Windows Explorer options"
: POLICY "Enable the essential File settings for the administrators"
: EXPLAIN "This policy will modify three different portions of the Windows
: Explorer interface.\n\nThe first option will either show or hide hidden
: files and foldes.\nThe next option will show the superhidden files, which
: are the protected OS hidden files.\nThe final option will allow the file
: extension to be seen or not."
: KEYNAME "software\microsoft\windows\currentversion\explorer\advanced"
:
: PART "Do you want to see hidden files?" TEXT
: END PART
:
: PART "Hidden FIles and Folders:" DROPDOWNLIST
: VALUENAME HIdden
: ITEMLIST
: NAME "Yes" VALUE Numeric 1
: NAME "No" VALUE Numeric 2
: END ITEMLIST
: END PART
:
: PART "Do you want to see Super Hidden files?" TEXT
: END PART
:
: PART "Super Hidden" DROPDOWNLIST
: VALUENAME SHowsupperhidden
: ITEMLIST
: NAME "Yes" VALUE Numeric 1
: NAME "No" VALUE Numeric 0
: END ITEMLIST
: END PART
:
: PART "Do you want to see the file extensions?" TEXT
: END PART
:
: PART "File extensions:" DROPDOWNLIST
: VALUENAME HideFileExt
: ITEMLIST
: NAME "Yes" VALUE Numeric 0
: NAME "No" VALUE Numeric 1
: END ITEMLIST
: END PART
:
: END POLICY
: END CATEGORY
:
:
: --
: Derek Melber
:
: : > I want to "uncheck" this as a group policy. Any way to do so?
: >
: >
:
:
 
Open up the GPO that you want the policy to be imported into (the one where
the users will be affected). Then, open up the User
Configuration|Administrative Templates. Right-click on Administrative
Templates and select Add template. You can select the template that you
create from the code I gave you and the settings will show up.

make sure you do the following:
1) save the code in a file named with an extension of ADM
2) make sure your GPO settings when you are editing are set to show all
policies, not just the built in ones. (Under the View menu option... make
sure Show Policies Only is NOT selected)
 
"Show only policy settings that can be fully managed" was checked. I
unchecked it and it worked. Thanks a lot!

: Open up the GPO that you want the policy to be imported into (the one
where
: the users will be affected). Then, open up the User
: Configuration|Administrative Templates. Right-click on Administrative
: Templates and select Add template. You can select the template that you
: create from the code I gave you and the settings will show up.
:
: make sure you do the following:
: 1) save the code in a file named with an extension of ADM
: 2) make sure your GPO settings when you are editing are set to show all
: policies, not just the built in ones. (Under the View menu option... make
: sure Show Policies Only is NOT selected)
:
: --
: Derek Melber
:
: : > Hey how do you add this as a policy? I tried copying and pasting into a
: > text file and then saving it as custom.adm and then importing it but it
: just
: > imported the category "windows explorer options". None of the policies
: got
: > imported.
: >
: > Thanks
: > Jason
: >
: > : > : Here is the contents of an custom ADM file that gets you all three of
: > those
: > : settings:
: > :
: > :
: > : CLASS USER
: > : CATEGORY "Windows Explorer options"
: > : POLICY "Enable the essential File settings for the administrators"
: > : EXPLAIN "This policy will modify three different portions of the
Windows
: > : Explorer interface.\n\nThe first option will either show or hide
hidden
: > : files and foldes.\nThe next option will show the superhidden files,
: which
: > : are the protected OS hidden files.\nThe final option will allow the
file
: > : extension to be seen or not."
: > : KEYNAME "software\microsoft\windows\currentversion\explorer\advanced"
: > :
: > : PART "Do you want to see hidden files?" TEXT
: > : END PART
: > :
: > : PART "Hidden FIles and Folders:" DROPDOWNLIST
: > : VALUENAME HIdden
: > : ITEMLIST
: > : NAME "Yes" VALUE Numeric 1
: > : NAME "No" VALUE Numeric 2
: > : END ITEMLIST
: > : END PART
: > :
: > : PART "Do you want to see Super Hidden files?" TEXT
: > : END PART
: > :
: > : PART "Super Hidden" DROPDOWNLIST
: > : VALUENAME SHowsupperhidden
: > : ITEMLIST
: > : NAME "Yes" VALUE Numeric 1
: > : NAME "No" VALUE Numeric 0
: > : END ITEMLIST
: > : END PART
: > :
: > : PART "Do you want to see the file extensions?" TEXT
: > : END PART
: > :
: > : PART "File extensions:" DROPDOWNLIST
: > : VALUENAME HideFileExt
: > : ITEMLIST
: > : NAME "Yes" VALUE Numeric 0
: > : NAME "No" VALUE Numeric 1
: > : END ITEMLIST
: > : END PART
: > :
: > : END POLICY
: > : END CATEGORY
: > :
: > :
: > : --
: > : Derek Melber
: > :
: > : : > : > I want to "uncheck" this as a group policy. Any way to do so?
: > : >
: > : >
: > :
: > :
: >
: >
:
:
 
this is absolute gold, thank you very much!

I've actually created a whole bunch of other templates after some reading into creating templates :)

Here is the contents of an custom ADM file that gets you all three of those
settings:


CLASS USER
CATEGORY "Windows Explorer options"
POLICY "Enable the essential File settings for the administrators"
EXPLAIN "This policy will modify three different portions of the Windows
Explorer interface.\n\nThe first option will either show or hide hidden
files and foldes.\nThe next option will show the superhidden files, which
are the protected OS hidden files.\nThe final option will allow the file
extension to be seen or not."
KEYNAME "software\microsoft\windows\currentversion\explorer\advanced"

PART "Do you want to see hidden files?" TEXT
END PART

PART "Hidden FIles and Folders:" DROPDOWNLIST
VALUENAME HIdden
ITEMLIST
NAME "Yes" VALUE Numeric 1
NAME "No" VALUE Numeric 2
END ITEMLIST
END PART

PART "Do you want to see Super Hidden files?" TEXT
END PART

PART "Super Hidden" DROPDOWNLIST
VALUENAME SHowsupperhidden
ITEMLIST
NAME "Yes" VALUE Numeric 1
NAME "No" VALUE Numeric 0
END ITEMLIST
END PART

PART "Do you want to see the file extensions?" TEXT
END PART

PART "File extensions:" DROPDOWNLIST
VALUENAME HideFileExt
ITEMLIST
NAME "Yes" VALUE Numeric 0
NAME "No" VALUE Numeric 1
END ITEMLIST
END PART

END POLICY
END CATEGORY


--
Derek Melber

"Jason Gallas" <[email protected]> wrote in message
news:[email protected]...
> I want to "uncheck" this as a group policy. Any way to do so?
>
>
 
Back
Top