Thursday, August 29, 2013

Windows Server 2008 R2 always boots in recovery mode

If you are facing below Issues : 
- You faced the Windows Server 2008 R2 Clean boot issue
- Windows Server 2008 R2 starts in recovery mode
- After installing windows updates on Windows server 2008 R2 system goes in recovery mode after reboot
- Safe mode also doesn't work in above case and get stuck at classpnp.sys

Then this is the solution for all above:

1. Boot into Windows Recovery Mode
2. Open Command Prompt
3. Type:

sfc /SCANNOW /OFFBOOTDIR=C:\  /OFFWINDIR=C:\Windows

4. Goto following location :

C:\Windows\winsxs\
 Check out for pending.xml file.
If it is present, then DELETE it.

5. Reboot the system.

6. Select normal boot mode. 

You have done it!

4 comments:

  1. Wow this was a great fix since I was seeing the exact problem with the server only booting sometimes. Thank you!!

    ReplyDelete
  2. Thats Great... I am glad that the solution helped you.

    ReplyDelete
  3. Hi, i try this fix but get: the windows resource protection could not start the repair service

    ReplyDelete

Solved : The user profile failed to attach. The process cannot access the file becase it is being used by another process

Issue :  The user profile failed to attach. Please contact Support. Status : 0x0000000B, Message: Cannot open virtual disk Error Code: 0x000...