Windows Admin Center enables management of Windows Server instances from any location, whether on-premises, in Azure, or across various cloud environments. However, users face many connection issues when accessing the utility. In this post, we will see how to resolve the Windows Admin Center connection errors like
Microsoft.PowerShell.LocalAccounts
This site/page can’t be reached error
Can’t connect securely to this page
You are not authorized to view this page
Fix Windows Admin Center connection errors
The following are the Windows Admin Center connection errors that we are going to discuss in detail.
Microsoft.PowerShell.LocalAccounts
If the installer fails to receive the message: The Module ‘Microsoft.PowerShell.LocalAccounts’ cannot be loaded. This can happen if the default PowerShell module path has been modified or removed. If you want to resolve it, check your PSModulePath environment variable and make sure that %SystemRoot%\system32\WindowsPowerShell\v1.0\Modules is the first item.
To resolve this issue, you can run the following command in PowerShell’s elevated mode.
[Environment]::SetEnvironmentVariable("PSModulePath","%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules;" + ([Environment]::GetEnvironmentVariable("PSModulePath","User")),"User")
This site/page can’t be reached error
If you get a message saying the site or the page can’t be reached in your web browser, you need to first check if Windows Admin Center Desktop/SmeDesktop.exe is running in the Task Manager > Services if you have installed the utility as an app. If it is not running, restart it and see if it is crashing. Also, check if there is a Windows update available. You should also ensure that Windows Admin Center opens in either Edge or Chrome. If it opens with a different browser, change your default browser.
If you have installed Windows Admin Center as a default gateway, update the client and the server. Make sure that ServerManagementGateway/Windows Admin Center is running in the Task Manager. Finally, you can test the network connection to the Gateway using the following command, make sure to run in PowerShell (elevated mode).
Test-NetConnection -Port <port> -ComputerName <gateway> -InformationLevel Detailed
- Test-NetConnection: The cmdlet for testing network connections.
- Port <port>: Specifies the port number you want to test.
- ComputerName <gateway>: Specifies the name or IP address of the remote computer or gateway.
- InformationLevel Detailed: Provides detailed output, including diagnostic information about the connection.
This command is helpful for troubleshooting network issues, verifying port accessibility, and ensuring that specific services are reachable on a remote machine.
If you are using Windows 10 version 1703 or earlier, Windows Admin Center is not compatible with your version of Microsoft Edge. Upgrade to a newer version of Windows 10 or use Google Chrome. If you are on an insider preview version with a build between 17134 and 17637, a known bug may cause issues. Please switch to a supported version of Windows to fix this.
Additionally, you need to check if the Windows Remote Management (WinRM) Service is running. Open the Services app, look for Windows Remote Management (WinRM), double-click on it, and check if it’s running, if it’s stopped, click on the Start button and set its Startup type to Automatic.
Hopefully, this will resolve the issue for you.
Can’t connect securely to this page
Can’t connect securely to this page
This might be because the site uses outdated or unsafe TLS security settings. If this keeps happening, try contacting the website’s owner.
If you can’t connect securely to this page, your machine is restricted to HTTP/2 connections, and Windows Admin Center’s integrated Windows authentication is not supported with HTTP/2. To remove these restrictions, we need to add two registries. To do that, follow the steps mentioned below.
- First of all, backup Registry, so that if something wrong happens, we can restore it.
- Then, open the Registry Editor, and go to
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP\Parameters
. - Right-click on the space and click on New > DWORD (32-bit) value.
- Name it EnableHttp2Cleartext and then set its value to 0.
- Then, create a new value, EnableHttp2Tls, and set it to 0 as well.
Finally, reboot your machine and check if the issue is resolved.
You are not authorized to view this page
You are not authorized to view this page. If you recently updated Windows Admin Center, you may need to restart your browser, and then refresh the page.
When launching Windows Admin Center for the first time, ensure you select the Windows Admin Center Client certificate. Choosing another certificate will cause an error. If you encounter errors, restart your browser and select the correct certificate. If issues continue, clear your browser cache, switch browsers, or consider uninstalling and reinstalling Windows Admin Center.
Read: How to configure Secured-core Server for Windows Server
Why is my connection not private in Windows Admin Center?
The “connection is not private” error in Windows Admin Center usually occurs due to SSL certificate issues. If you are using a self-signed certificate, browsers like Microsoft Edge and Google Chrome will flag the connection as insecure, so installing a valid SSL certificate from a trusted certificate authority (CA) can fix this. Additionally, an expired SSL certificate will cause this error, which can be resolved by renewing the certificate. Lastly, ensure that the certificate is correctly installed and configured in the Windows Admin Center to avoid this issue.
Read: How to install and configure Windows Admin Center
How do I restart Windows Admin Center service?
You can restart the Windows Admin Center Service from the Services app. Open the Services app, search for Windows Admin Center, right-click on it, and select Restart. This will resolve the issue that you might be facing.
Also Read: Connect Windows Server to Azure.