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.

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

  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
  1. The executable for the service was
  1. Now searched for remote task manager and downloaded from
this tool allows to connect to remote system task manager

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

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


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

No comments: