Winrm http status code 403 from the remote ws-management exchange 2010 EMC won't load

Posted on 2010-01-01
Medium Priority
Last Modified: 2012-05-08
after following after running exchange 2010 prerequsites at http://technet.microsoft.com/en-us/library/bb691354.aspx

[mail.domain.com] Connecting to remote server failed with the following err
or message : The WinRM client received an HTTP status code of 403 from the remo
te WS-Management service. For more information, see the about_Remote_Troublesho
oting Help topic.
    + CategoryInfo          : OpenError: (System.Manageme....RemoteRunspace:Re
   moteRunspace) [], PSRemotingTransportException
    + FullyQualifiedErrorId : PSSessionOpenFailed

found no way of reinstalling winrm.
followed http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/Q_24997695.html  tring to fix the problem and that didn't help.
the server was rebooted and no anti-virus program is running.

Question by:Giladn
LVL 74

Expert Comment

by:Glen Knight
ID: 26158124
Check in IIS under Default Website check the authentication settigs of the PowerShell virtual directory and the SSL settings what are they set to?
LVL 11

Author Comment

ID: 26158145
I will try reinstalling powershell to restore directory, I did reinstall IIS7 today..
LVL 74

Expert Comment

by:Glen Knight
ID: 26158188
There should be a PowerShell virtual director.

Remove and re-install PowerShell.

Sorry didn't realise it was you Giladn.
Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

LVL 11

Author Comment

ID: 26158210
It's ok , others desereve a clean thread about this error, mine is hard to follow.
I re-installed windows powershell integrated scripting env (ISE) from features, I also installed WinRM IIS Extension feature.
I still can't see powershell directory in IIS..
LVL 31

Expert Comment

ID: 26171330
Have a look at the IIS log file, and see if you can find the request that resulted in the 403 response.  You will see the number 403 near the end of the relevant line.  Note the times in the log files are in GMT.
LVL 11

Accepted Solution

Giladn earned 0 total points
ID: 26176869
this thread has become a snowball - read also http://www.experts-exchange.com/Software/Server_Software/Email_Servers/Exchange/Q_25008054.html?cid=1575#a26166474 for full story.

finally solved, I was NOT unable to re-install exchange 2010 management tools because I had no option to uninstall - old public folders needed to be removed and I had no powershell directory to administer exchange in order to make changes . so I was literally stuck, I had to force shutdown and preper a new server, use ntdsutil to to transfer fsmo roles to the new server - clean AD metadata and remove the server from shema, performed a new E2003 installation with NOT with the same organization name (depands if your forest is in good condition you will not need it nor the following steps)
as my old 2003 server  , then I used Admodify.net and made necessary changes in user's "exchange general"  tab in AD domain to all users and made restore from tape (very problematic if you restore to a server with a different name,  try- B2D and then DUPLICATE backup job and you will have database)
mounted databases and bingo. everything is working even better then before.
for every step in this long story I had a very good reason, don't do if your not sure what it means.
those steps took me 4 days (FULL days)
thanks to very good tools mentioned above I saved allot of time.
for those who did not manage to uninstall exchange as a result of the error above  and are frozen in a non functioning production exchange organization please read carefully and do research . again read carefully and do allot of research.

Expert Comment

ID: 26213445
I had the same issue, but after reading dematzer's first reply above, I checked the SSL settings and found that SSL had been enabled on the PowerShell virtual directory.  Removing this fixed the issue for me.

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Steps to fix error: “Couldn’t mount the database that you specified. Specified database: HU-DB; Error code: An Active Manager operation fail”
In my humble opinion (IMHO), TouchDown from Symantec is the best in class for this type of application, but Symantec has end-of-lifed it and although one can keep using it, it will no longer be supported or upgraded.  Time to look for alternatives t…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …
Suggested Courses

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question