[SOLVED] Preparing to configure Windows. Do not turn off your computer….

After uninstalling SMTP server feature on windows 2008 R2 Server, asked for restart, so restarted the Server and after long time ( approx 1 Hour wait) server has not restarted.

Ping was working fine, but RDP was not working.

On the server console below text was getting displayed.

Preparing to configure Windows. Do not turn off your computer.

 

 

So done below tricks to make server operational.

  1. Taken remote of another server of which user name and password is same as of SERVER A
  2. Opened services.msc , connected to server A
  3. Come to know WINDOWS MODULES INSTALLER Service is in Stopping mode

    And was not allowing to stop or start from services.msc of Server B

     

     

  4. If we hardboot server , there was chance of windows OS crash.
  5. Opened properties of WINDOWS MODULES INSTALLER service to check for the command getting executed for this service

     

  1. The executable for the service was

    C:\windows\servicing\trustedinstaller.exe

  2. Now searched for remote task manager and downloaded from

    http://lizardsystems.com/remote-process-explorer/

    this tool allows to connect to remote system task manager

     

     

  3. Right click on the above executable and select option kill
  4. The server was shown below screen

 

10 ) And restarted the server J

 

Thanks

Prashant Deshpande

 

 

 

About these ads

44 Comments

Filed under Uncategorized

44 responses to “[SOLVED] Preparing to configure Windows. Do not turn off your computer….

  1. Aspasa

    Brilliant! Thank you so much Prashant.

  2. Jon Jones

    Damn, that’s my exact problem, only thing is I get access denied on trying to kill the trustedinstaller.exe! Logged on as domain admin… Hmm, not sure what I can do now. It’s a SQL box, really don’t wanna just cold reset.

  3. Jon Jones

    I kept trying to kill the process, used taskkill and pskill also… Everything reported an error but something must have worked as it’s now working normally again, unless it timed out!

  4. Bill

    Thank you so much! Worked perfectly!

  5. Dave S

    Thanks. Just the post I needed. Server was stuck on update 1 of 3 and process was stopping but hung there. I killed the Windows Module Installer process with the remote process tool and the server rebooted immediately. Upon reboot it came up to the installing 3 of 3 screen which counted up to 100%, rebooted itself then back to the installing 3 of 3 screen again which hit 100% then ended up to a login.

    Remote Process tool just went into my library of network tools. Thanks again

  6. bckelly99

    Thanks for this tip. Extremely helpful.

  7. Lena Groisman

    Thank youuu!
    Also can be done by running taskkill (sysinternals):
    taskkill /S hostname /IM trustedinstaller.exe

  8. Sai Prasad

    This was a boom !! i was dealing with an Exchange Server hosting 800 mailboxes..This was super awesome and loved it :)

  9. thank you this is very useful..I will reblog this..

  10. You’re a legend! This was an extremely helpful post. Thank you.

  11. Brandi

    Thank you so much. This helped a stressful situation be resolved with no problem, and helped me to know that it was time to take action once I saw the service was in “stopping” status. Also, “pslist” and “pskill” are the remote tools I used (PSTOOLS from Sysinternals way back, now MS I believe) to kill off the correct process for TrustedInstaller.

  12. George

    Thank you!! Had the same problem here. From another computer used “taskkill /S hostname /IM trustedinstaller.exe”. When the Windows Modules Installer service stopped, the server shutdown, restarted, and detected the failure and automatically restarted again. Two restarts. But then everything was okay.

  13. Peter S

    Thanks Prashant Deshpande, this was very useful…I killed the Windows Module Installer process with the remote process tool and the server rebooted immediately. Upon reboot it came up to the installing 3 of 3 screen which counted up to 100%, rebooted itself then back to the installing 3 of 3 screen again which hit 100% then ended up to a login !!!!

  14. Shaun

    Great advice

  15. Albert

    Thank you! That worked for me. I had a remote server that was stuck like this. After checking in services that the Windows Modules Installer was stuck indeed, I applied the command that George mentioned here “taskkill /S hostname /IM trustedinstaller.exe”

  16. Bill Kana

    Brilliant, Thank you!

  17. Jack H.

    I was waiting for over an hour thinking it was legitimately doing something before I figured something was wrong. I googled searched the problem, found your blog post, tried your suggestions and the machine rebooted. Thanks!

  18. Pingback: Windows 2008 Server R2 Stalls During Restart After Installing Updates | How'd You Fix That?

  19. aaron

    You just saved me from an onsite support call today! Thank you so much :)

  20. Wazzhandje

    SOLVED my problem on a Windows Server 2011 SBS after installing 61 Windows Updates and rebooted the server. Actualy i used the Kaseya portal we have to manage this server, to kill the process……… (C:\windows\servicing\trustedinstaller.exe was not able to kill the process)

  21. Thanks, this saved me from trashing a database server!

  22. Josip B

    great solution, helped me a lot!!! used pskill, other task killers did not work

  23. It looked like it would work and I went to try it, but as soon as I plugged my NIC in to the LAN, it fixed itself.

  24. Al Orihuela

    Thank you, thank you, thank you, thank you, thank you, thank you, thank you…. You ROCK!!!

  25. chaz

    Thank you very much. MS Updates on an SBS 2011 server was locked up after reboot request.

  26. David Ferrare

    Nicely Done.. Just did this for a server.. I did not want to have to rebuild it, and this saved my behind.

  27. Marc

    Thanks for taking the time to write your solution, helped me tonight. Glad there is people like you!
    Marc

  28. Jackie

    Thank you! Thought I was going to throw up!

  29. Christoph Hannappel

    thanks that solution saved me a lot of trouble

  30. Kenny

    a big Thanks! Saved my day!

  31. Anderson

    Thank you very much. It saved my weekend!!

  32. Okay. This is apparently the post that keeps on giving. 3 years later, and I’m in with a hearty thank you, too.

  33. Cathy

    Thank you VERY much. This was exactly the information that I needed to resolve my issue.

  34. Kevin

    Just want to say thank you!

  35. Erik

    You just saved me a ton of work.
    Big thanks!

  36. Moyo

    Thank you very much, you saved a lot of my time !

  37. Thank you really, it was great, but only I want to know if I am starting this service again, what will happened, many updates are failed and I want to know how can I run this service and update my server,
    Thanks again

  38. Mohan Kumar

    Thanks a lot for the useful solution.

  39. Kevin

    Thank you. Exactly my issue and worked perfectly. I used the sysinternal pslist and pskill tools available from http://technet.microsoft.com/en-us/sysinternals/bb545021.aspx

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s