Jorge's Quest For Knowledge!

All You Need To Know About Identity And Security On-Premises And In The Cloud. It's Just Like An Addiction, The More You Have, The More You Want To Have!

(2009-06-02) Windows PowerShell Remoting With WinRM

Posted by Jorge on 2009-06-02


If you are using Windows PowerShell Remoting right now with WinRM CTP3 (or lower) on Windows Server 2008, it may break after you apply Service Pack 2 (SP2) for Windows Server 2008 (W2K8). One of the symptoms is the WinRM service not starting anymore and throwing the following error.

image

The solution? Don’t install SP2! J

WAIT! There is another solution to this problem if you want to apply SP2 for W2K8.

Let’s assume your starting point is:

  • Windows Server 2008 RTM with all kinds of hotfixes (or maybe even no hotfix)
  • Windows Remote Management v2 CTP3
  • Windows PowerShell v2 CTP3

If you want to apply SP2 you need to do the following:

  • Download the LATEST version of WinRM CTP3 from https://connect.microsoft.com/WSMAN/Downloads
  • Remove old version of WinRM CTP3 (DLL=WSMSVC.DLL, Date=2008-DECEMBER-13,Version=6.0.6001.18183) and reboot as needed
  • Install SP2 and reboot as needed
  • Install new version of WinRM CTP3 (DLL=WSMSVC.DLL, Date=2009-APRIL-08,Version=6.0.6002.18018) and reboot as needed
  • Set the "Windows Remote Management (WS-Management)" service from MANUAL to AUTOMATIC DELAYED
  • Start the "Windows Remote Management (WS-Management)" service

REMARK: for whatever reason, the "Windows Remote Management (WS-Management)" service is set to MANUAL and not started by default. This is different when comparing to the old WinRM CTP3 version. So after the installation of the new WinRM CTP3 version you need to reconfigure the "Windows Remote Management (WS-Management)" service.

Cheers,
Jorge
———————————————————————————————
* This posting is provided "AS IS" with no warranties and confers no rights!
* Always evaluate/test yourself before using/implementing this!
* DISCLAIMER:
https://jorgequestforknowledge.wordpress.com/disclaimer/
———————————————————————————————
############### Jorge’s Quest For Knowledge #############
#########
http://JorgeQuestForKnowledge.wordpress.com/ ########
———————————————————————————————

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

 
%d bloggers like this: