[Community] Add AutomaticDelayed in Carbon_Service for StartupType parameter

Create issue
Issue #216 resolved
gigi81 created an issue

It would be nice to have the option in Carbon_Service DSC resource to specify AutomaticDelayed for the StartupType parameter.

Comments (6)

  1. gigi81 reporter

    As a work around I'm currently using the following (the service needs to be set to Automatic as StartupType):

    Registry "MyService-DelayedAutostart"
        Ensure      = "Present"
        Key         = "HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\MyService"
        ValueName   = "DelayedAutostart"
        ValueData   = "1"
        ValueType   = 'Dword'
        DependsOn   = "[Carbon_Service]MyService"

    It would be nice to integrate the above in the Carbon_Service DSC resource.

  2. Log in to comment