简体   繁体   中英

Restart Windows service from another service

I am developing a Windows Service that will control a group of windows application and run them on scheduler given from webservice. I am not able to Start/Stop the services due to security issues. I have tried this solution but it did not work.

Try use WMI for manupulation of windows service state. Read here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM