Start and Enable Windows Service
Log In or Register to download the BES file, and more.

0 Votes


This task will start (and if necessary enable) a given Windows Service.

Property Details

StatusBeta - Preliminary testing ready for more
TitleStart and Enable Windows Service
Source Release Date6/14/2019 12:00:00 AM
KeywordsStart and Enable Windows Service
Is TaskTrue
Added by on 6/20/2019 10:53:31 AM
Last Modified by on 6/20/2019 10:53:31 AM
Counters 127 Views / 0 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 0 ratings. ** Log In or Register to add your rating.


isWindows (Relevance 1172)
Used in 1113 fixlets and 524 analyses   * Results in a true/false
Show indented relevance
windows of operating system


Action 1 (default)

Action Link Click here to deploy this action.
Script Type BigFix Action Script
// Which service?
action parameter query "svcname" with description "Please enter the service name to start:"

// Is Service Disabled?
if {start type of service (parameter "svcname" of action) = "disabled"}
// Enable service (set Start Type to Automatic)
    waithidden cmd /C sc config {parameter "svcname" of action} start= auto


// Start service
waithidden cmd /C sc start {parameter "svcname" of action}
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Social Media:
Share this page on Yammer


Log In or Register to leave comments!