Disable services in Scripting
12/02/2014 3890 views
I am trying to disable a service from running on every computer.
I see a quick and easy solution to stop services in the scripting wizard under scripting - Tasks, easy as choosing the drop down and selecting "Stop Services" but the services just start up every 15mins or so. So I need to disable the service. How?
I tried running a batch file
"sc config "ServiceName" start= disabled" BUT I have to run it as admin on all Windows 8.1 machines and I cant get it to run.
So I added "runas /user:domain\useraccount" to the parameters field with no luck.
Likely I could get the whole thing to work with a batch file if I could get the batch to run as ADMIN. How?