Exists an easy instruction to start Windows Services from command, you only need to know the Service's name which could obtain from Control Panel /Administrative Tools / Services
Then locate Service which you want to start in example Microsoft FTP and take note for Display Name value in this case Microsoft FTP Service
Now to start the service you will need to go to command prompt (CMD) and type exactly as follows:
Net Start "Microsoft FTP Service"
You could use this instruction inside of Batch File and then you could use an Schedule Task in order to monitoring your service and start it automatically when it goes down, also you could execute a VBScript inside your Batch file to inform you about the action performed, on previous publication I show how to send emails with VBScript
- Blogger Comment
- Facebook Comment
Subscribe to:
Post Comments
(
Atom
)
0 comentarios:
Post a Comment