Hi,
(E-Mail Removed) schrieb:
> How can I add a new registry key using group policy? I don't want to
> change an existing key but add a new one.
Create an own ADM Template.
> Is there a way using ADM templates? If so, what is the syntax?
http://www.oreilly.de/catalog/winsys...pter/ch08.html
> This is what I want to add:
> HKEY_CLASSES_ROOT\Folder\shell\PC Info\command
> VALUE=c:\my program.exe
HKClasses Root is just a link to:
HKLM\Software\Classes
If your type of VALUE is the (Default) inside the registry
you have to define it like that: ""
(no name given, but enclosed in Qoutes)
----- shell.adm -----
CLASS MACHINE
CATEGORY "give it a name you want"
POLICY "give it a name you want"
KEYNAME "SOFTWARE\Classes\Folder\shell\PC Info\command"
PART "whatever you want to set:" EDITTEXT
VALUENAME ""
END PART
END POLICY
END CATEGORY
----- shell.adm -----
Make sure, that you change the View settings after importing
the ADM Template and uncheck in the filtering:
"... only full managed"
Or just simply use the Registry Extension from DesktopStandard.
(Freeware) than you donīt have to create an ADM.
Mark
--
Mark Heitbrink - MVP Windows Server
Homepage:
www.gruppenrichtlinien.de
extend GPO:
www.desktopstandard.com
PM: Vorname@Homepage, Versende-Adresse wird nicht abgerufen.