Same here today.
But this Settings about HSTS at the Default Web Site has solved my issue. (disable HTTP to HTTPS redirect)
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi All,
I have two servers running 2019,
Server1 is the ad server
Server2 is the exchange 2019 server
I have about the same problem as in topic https://community.spiceworks.com/topic/2269100-exchange-2016-unable-to-open-exchange-management-shell
When i try to start the exchange management shell (exchange 2019, server 2019) i receive the following errors; (removed the domain name and the .local suffix)
From one day to the next my exchange shell stopped working with the 5 error messages that are in the topic above.
Things I tried;
Checked for redirects in iis, there are none. (could there be one in the registry wich i cant see here, where do i look?)
Checking the environment variables. They are ok.
Checking if winrm was installed on the exchange server. It wasn’t. So I installed. Even rebooted. No joy.
Ran winrm quickconfig. It says its already configured.
Tried iisreset. No joy.
Threw the server out of the window. No joy.
Seriously, I’m out of options. Anyone has a clue? Sidenote; i can also not install (KB5009557) , because after it's installed and the servers reboots i boots into a blue screen and gives a kernel security check error.
These are the errors;
New-PSSession : [server2] Connecting to remote server server2 failed with the following error
message : The WinRM client received an HTTP status code of 301 from the remote WS-Management service. For more informa
tion, see the about_Remote_Troubleshooting Help topic.
At line:1 char:1
Same here today.
But this Settings about HSTS at the Default Web Site has solved my issue. (disable HTTP to HTTPS redirect)
Hello @Oscar
Please check the next conversation with the same error and solution:
Also providing this article regarding the virtual directories, as it might help: https://learn.microsoft.com/en-us/exchange/clients/outlook-on-the-web/virtual-directories?view=exchserver-2019
Hope this helps with your query,
-----------
--If the reply is helpful, please Upvote and Accept as answer--
Hi,
unfortunately there's no redirect set there.
Can it have anything to do with psremoting? If i run this command Get-PSSessionConfiguration | Format-Table -Property Name, PermissionGet-PSSessionConfiguration | Format-Table -Property Name, Permission nothing is listed under PermissionGet-PSSessionConfiguration
Hi @Oscar ,
Did you make any changes before this issue occurred?
Did you create a rewrite rule for the default site or PowerShell service in the IIS manager?
1.Launch IIS Manager;
2.Select the Powershell and find the URL Rewrite.
If you add any rules in it, try to disble it and check if the issue still persist.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.