|
-
Feb 8th, 2007, 04:35 AM
#1
[RESOLVED] The Mystery of the Spontaneously starting Service
Fancy title, but simple question.
Over the past few days, whenever I've been coming in to work, a few windows services which I had disabled the day before on some test servers will have been restarted.
Nobody else accesses this machine. So the question is, is it possible that a generalized batch script can run on a server every day that could restart all services, without knowing names?
Perhaps a server reboot occurs every now and then. Where can I find out the last boot time of a Windows box?
-
Feb 8th, 2007, 05:13 AM
#2
PowerPoster
Re: The Mystery of the Spontaneously starting Service
Enable "Bootlog" (check the box) in the Boot.ini section of MSCONFIG (Start, Run, MSCONFIG), and it will then be created in the Windows Directory as a file called "ntbtlog.txt".
-
Feb 8th, 2007, 06:29 AM
#3
Re: The Mystery of the Spontaneously starting Service
Wonderful.
Regards,
-
Feb 9th, 2007, 09:16 PM
#4
Hyperactive Member
Re: The Mystery of the Spontaneously starting Service
 Originally Posted by mendhak
Wonderful.
Regards,

http://technet2.microsoft.com/Window....mspx?mfr=true
write a batch file using 'net start' cli command. Then put it in your task scheduler for the proper type with proper account with rights.
edit:
...net start will return the names of the services. I guess you catch the console stream using net start the restart them all.
I have application that does this with bootcfg.exe
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|