How to Start any Windows Service Through Macro Scheduler
Moderators: JRL, Dorian (MJT support)
How to Start any Windows Service Through Macro Scheduler
When the Startup Type of some Windows Services are set to be Manual, how to start/stop these services such as Diskeeper from a MS Script?
- Marcus Tettmar
- Site Admin
- Posts: 7395
- Joined: Thu Sep 19, 2002 3:00 pm
- Location: Dorset, UK
- Contact:
Yup:
Let>RP_WAIT=1
Run>NET STOP ServiceName
Let>RP_WAIT=1
Run>NET START ServiceName
Or via VBScript:
http://www.mjtnet.com/forum/viewtopic.php?t=1779
Let>RP_WAIT=1
Run>NET STOP ServiceName
Let>RP_WAIT=1
Run>NET START ServiceName
Or via VBScript:
http://www.mjtnet.com/forum/viewtopic.php?t=1779
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar
Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?