Pages

Sunday, August 16, 2015

This could come in handy.


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.

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa11.jpg?w=500

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

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa21.png?w=500

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

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa31.png?w=500
https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa41.png?w=500
  1. The executable for the service was
C:\windows\servicing\trustedinstaller.exe
  1. Now searched for remote task manager and downloaded from
this tool allows to connect to remote system task manager

https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa51.png?w=500

  1. Right click on the above executable and select option kill
  2. The server was shown below screen
https://prashantd.files.wordpress.com/2011/09/092311_0549_solvedprepa61.jpg?w=500


5. And restarted the server

Note...this can be done without installing external software as well as follows:

sc \\computername queryex TrustedInstaller

taskkill /s computername /pid /f

or

From another computer used “taskkill /S hostname /IM trustedinstaller.exe”. 

No comments: