Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Setting Windows Service to Manual?

$
0
0

Hi, I've been trying to use this UDF:

http://www.autoitscript.com/forum/topic/81880-windows-services-udf/

 

To change a service in Windows to "manual". As far as I understand, this should be it (using Bonjour as an example):



#include "Services.au3" _Service_SetStartType("Bonjour Service", $SERVICE_DEMAND_START, "")

Instead, when I run it nothing even happens. It just executes and ends, nothing gets changed. The service is still set to AUTOMATIC. I tested and the program IS ABLE to reach the statement.

 

So confused here! Thanks for any help!

 

 


Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>