Re: Apply GPO to service startup but not permissions?



Hi,

Dennis Joray schrieb:
> Is it possible to create a GPO that will modify the startup configuration of
> a service, but not alter the permissions? [...]

If you use an ADM Templates instead of "Services"? Yes. :-)
The other possibility is to edit the security template offline.
Open MMC, integrate SnapIn Security Templates and create a new one.
Edit the service settings withou editing the security settings and
save it. After that you can import it to your GPO.

----- sampleservice.adm -----
CLASS MACHINE

CATEGORY "Services and Driver"
POLICY "Name of Service or Driver"
KEYNAME "System\CurrentControlSet\Services\KeynameofService"
PART "Behavior" DROPDOWNLIST
VALUENAME "Start"
ITEMLIST
NAME "Boot" VALUE NUMERIC 0
NAME "Systemstart" VALUE NUMERIC 1
NAME "Automatic" VALUE NUMERIC 2 DEFAULT
NAME "Manual" VALUE NUMERIC 3
NAME "Deactivated" VALUE NUMERIC 4
END ITEMLIST
END PART
END POLICY
END CATEGORY

----- sampleservice.adm -----

Just make a copy from "POLCIY" to "END POLICY" for every Service
you want to control and edit its settings.

Mark
--
Mark Heitbrink - MVP Windows Server
Homepage: www.gruppenrichtlinien.de
W2K FAQ : http://w2k-faq.ebend.de
PM: Vorname@Homepage, Versende-Adresse wird nicht abgerufen.
.



Relevant Pages

  • Re: Security Templates vs Group Policy
    ... it does overwrite any settings that were configured in the GPO. ... > security template, will the security template settings override the gpo ...
    (microsoft.public.cert.exam.mcse)
  • XP specific settings gone
    ... Recently I attempted to edit this GPO only to discover that all the XP related entries are no longer listed. ... If I double-click the GPO in GPMC and go to the settings tab I can see all the settings which I have modified (i.e. ... Computer Config-Admin Template-Network-Network Connections-Windows Firewall) but if I attempt to edit the GPO, this particular subkey does not show up. ...
    (microsoft.public.windows.group_policy)
  • Editing gpo issue
    ... Every time I select edit for any gpo I get this message; ... The following entry in the [Settings] section is too long and has been ...
    (microsoft.public.windows.server.sbs)
  • GPO setting not retained!
    ... I use gpmc.msc to edit a GPO. ... made and the settings will return to the default values. ... I'm running Windows ...
    (microsoft.public.windows.group_policy)
  • Re: software restriction policy
    ... I have done this in the past, however, the new settings ... never appear when I open the GPO for edit using 2000 ... XP to edit upgraded GPOs but that 2000 server could be ...
    (microsoft.public.win2000.group_policy)