Results 1 to 4 of 4

Thread: [RESOLVED] The Mystery of the Spontaneously starting Service

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Resolved [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?

  2. #2
    PowerPoster
    Join Date
    May 2006
    Posts
    2,988

    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".

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: The Mystery of the Spontaneously starting Service

    Wonderful.


    Regards,

  4. #4
    Hyperactive Member
    Join Date
    Oct 2006
    Posts
    354

    Re: The Mystery of the Spontaneously starting Service

    Quote 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
  •  



Click Here to Expand Forum to Full Width