- Automatically Restart a Service?
- Posted by Curt on September 14th, 2005
Is there a good freeware app to have a Windows service periodically
restart, e.g., once a day at a specific time?
- Posted by Adam Piggott on September 14th, 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Curt wrote:
Put the following into a batch file:
@echo off
net stop servicename
net start servicename
And then at the command line (or using the Scheduled tasks Control Panel):
AT 09:00 /every:Monday,Tuesday,Wednesday,Thursday,Friday,Sat urday,Sunday <batch file leafname>
- --
Adam Piggott, Proprietor, Proactive Services (Computing).
http://www.proactiveservices.co.uk/
Please replace dot invalid with dot uk to email me.
Apply personally for PGP public key.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)
iD8DBQFDKIIm7uRVdtPsXDkRAk4MAJ4t4SWzfwlet1STQfpbL/o/ytugCACgj2Rk
koxQwJvP09H4hK8XIW7Cwec=
=98iG
-----END PGP SIGNATURE-----
- Posted by 3c273 on September 14th, 2005
You can get psservice.exe, part of pstools, from www.sysinternals.com and
use the task scheduler to run the appropriate command. It also works on
remote machines. Type "psservice /?" at a command prompt to see the options.
I have all of the pstools in my system32 folder so that I don't have to
specify the path to the executable.
Louis
"Curt" <curt@sox.com> wrote in message
news:yo_Ve.14798$sx2.14331@fed1read02...
- windows xp restart automatically at the progress bar when booting (Microsoft Windows) by aladdin
- Services crash & won't automatically restart (Microsoft Windows) by Rebecca
- Windows XP restart automatically when connecting a usb key (Microsoft Windows) by Mathieu
- restart automatically when sending/uploading files? (Microsoft Windows) by unusualer
- How can I make motherboard to restart after power loss automatically? (Computer Hardware) by Amiran

