Please suggest action script command to start windows service who start type is set to “Automatic”.
// Start a service
waithidden cmd.exe /C sc start service name
// Stop a service
waithidden cmd.exe /C sc stop service name
//Configure start type to automatic
waithidden cmd.exe /C sc config service name start= auto
//Configure start type to manual
waithidden cmd.exe /C sc config service name start= demand
2 Likes