Pages

Search This Blog

Sunday, August 19, 2012

OMG !! All Exchange services are disabled by a rollup (un)installation

I was (un)installing Exchange rollup when (un)installation completed successfully , I noticed that it left all  Exchange services disabled Surprised smile.
As Exchange services needs to be started with automatic startup mode , I was going to do it one by one using Services snap-in . Just as I went to Start to open Services snap-in I noticed the Windows Power Shell shortcut pinned to my taskbar , so I decided to use it to achieve my goal and here is how I did that.
At an elevated Windows Power Shell I did the following :
  • I used Get-Service cmdlet to check the status of Microsoft Exchange related services :
Get-Service | Where-Object { $_.DisplayName –ilike “Microsoft Exchange *” | ft Name,Status
  • Then I used Set-Service cmdlet to change the startup mode to automatic :
Get-Service | Where-Object { $_.DisplayName –ilike “Microsoft Exchange *” } | Set-Service –StartupType Automatic
  • Finally , I  used Start-Service to start all Exchange related services :
Get-Service | Where-Object { $_.DisplayName –ilike “Microsoft Exchange *” } | Start-Service
By now all Exchange services are running with automatic startup mode, but unfortunately whenever I tried to use any of the management tools I got a connection failure as IIS services are still down . In order to fix this issue I executed the following commands
  • To set the World Wide Web Publishing Service startup mode to automatic and start it execute the following ( in order ) :
Get-Service | Where-Object { $_.DisplayName –eq “World Wide Web Publishing Service” } | Set-Service –StartupType Automatic
Get-Service | Where-Object { $_.DisplayName –eq “World Wide Web Publishing Service” } | Start-Service
  • To set the IIS Admin Service startup mode to automatic and start it execute the following ( in order ) :
Get-Service | Where-Object { $_.DisplayName –eq “IIS Admin Service” } | Set-Service –StartupType Automatic
Get-Service | Where-Object { $_.DisplayName –eq “IIS Admin Service” } | Start-Service
Just after that I was able to start my Exchange administrative tools and connect successfully to my Exchange server Open-mouthed smile