Guest Auto Posted July 18, 2007 Posted July 18, 2007 Hello, I need to add a "MyNewFile.exe" to the list of 'Run only allowed Windows Applications' (RestrictRun). This have to be done by my installation package. Is there a command line editor or script in order to add a new key to the Registry.pol file? Regards.
Guest Jiazhi Ou [MSFT] Posted July 19, 2007 Posted July 19, 2007 Re: Command line editor or script in order to add a new key to the Registry.pol file WMI can modify the registry: http://msdn2.microsoft.com/en-us/library/aa394600.aspx Not sure if it works for group policy. You might want to post your question to the GP newsgroup: microsoft.public.windows.group_policy -- This posting is provided "AS IS" with no warranties, and confers no rights. "Auto" <auto@auto.it> wrote in message news:uhf%23r1RyHHA.1184@TK2MSFTNGP04.phx.gbl... > Hello, > > I need to add a "MyNewFile.exe" to the list of 'Run only allowed Windows > Applications' (RestrictRun). > This have to be done by my installation package. > Is there a command line editor or script in order to add a new key to the > Registry.pol file? > > Regards. > >
Guest Helge Klein Posted July 19, 2007 Posted July 19, 2007 Re: Command line editor or script in order to add a new key to the Registry.pol file I do not think it is possible to modify the settings in a GPO programmatically - I hope I understood correctly and that is what you want to do. Helge On 18 Jul., 11:24, "Auto" <a...@auto.it> wrote: > Hello, > > I need to add a "MyNewFile.exe" to the list of 'Run only allowed Windows > Applications' (RestrictRun). > This have to be done by my installation package. > Is there a command line editor or script in order to add a new key to the > Registry.pol file? > > Regards.
Recommended Posts