0

I have a windows server 2008 R2 which reboots continuously when my application services are set to Automatic Start after the server is restarted.

I access the server after getting into that by "Last Known Good Configuration" and change it to Manual Startup.

When the service is set to Manual Start Type , restarting the server happens successfully. Please advise.

  • 3
    You should really give us some more information. For example: what kind of services are you starting? What do you see in the event log? etc... – shodanshok May 21 '15 at 8:15
  • 2
    Advise what? You've identified and worked around your problem. Well done. Do you have any other problems? – BlueCompute May 21 '15 at 9:06
  • @shodanshok .. It is a simple windows application service, which I need to start automatically whenever my PC starts, but that is creating a reboot issue. So I want the Startup type Automatic and not Manual. And nothing gets log into Event Log.. – Ram Mehta May 21 '15 at 16:49
  • @BlueCompute : thanks, but I need it to be automatic and not manual. – Ram Mehta May 21 '15 at 16:50
  • So start it manually using another method, eg. scheduled task, or provide more information about your service and what you're trying to do. serverfault.com/help/how-to-ask – BlueCompute May 21 '15 at 19:25
0

1) First configure Windows server 2008 R2 System to disable auto restart on any system error and set Windows application service properties to delayed start.

2) Configure System Failure and Recovery Option of your system so that it can create Small Memory Dump on system error caused by delayed start of Windows application. Please refer following guide for more information:

https://support.microsoft.com/en-us/kb/307973

Hope it helps.

0

If you're developing your own Windows Service I would recommend developing into your application some fail-safes/error-handling, because maybe your service isn't handling startup messages from Windows the way it should be and it's sending a Reboot command, or otherwise failing, causing Windows to reboot.

The only way I could see this happening though is if you copied code from another developer and did not thoroughly verify the code does what you want it to do before compiling your code.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.