[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

32 thoughts on “[SOLVED] Preparing to configure Windows. Do not turn off your computer….

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

  2. 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!

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

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

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

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

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

  8. 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”

  9. 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!

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

  11. 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)

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

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