
close
close
Now that Windows Server 2019 is generally available, it seems like a good time to start using Windows Admin Center (WAC) as the default management tool. WAC is a web-based tool for managing local or remote servers via a gateway that uses PowerShell Remoting and Windows Management Instrumentation (WMI) over WinRM. And while Windows Server 2019 still includes Server Manager, Windows Admin Center is where Microsoft is now investing all its efforts.
In this article, I’m going to show you how to manage Windows Server 2019 running in an Azure VM. I will use a WAC gateway installed on my Windows 10 PC. This requires the VM you want to manage to have a public IP address and you need to make the necessary management ports available over the Internet. Naturally, this is not the most secure option, but it is a quick way to start managing Windows Server. If your VM doesn’t have a public IP address or you want a more secure way to manage your cloud servers, you’ll need to install a WAC gateway on an Azure VM and/or connect your local network to the Azure VNet using ExpressRoute, Site-to-Site VPN, or Point-to-Site. But that’s beyond the scope of this article.
Let’s start by configuring Windows Firewall to allow an inbound connection for WinRM.
Note that the Windows Server 2019 Azure marketplace image has WinRM enabled by default. If you want to manage another supported version of Windows Server, you may need to manually run winrm quickconfig in an elevated command prompt to enable WinRM.
Set-NetFirewallRule -Name WINRM-HTTP-In-TCP-PUBLIC -RemoteAddress Any
Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)
Before we can connect WAC to Windows Server, we also need to configure Azure networking to allow inbound WinRM connections.
Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)
The new rule will now appear in the list of inbound rules.
Now all that’s left to do is test whether I can connect to the server using WAC. I’ve already installed a WAC gateway on my Windows 10 PC. For more information on installing a WAC gateway, check out Getting Started with the Windows Admin Center on Petri.
Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)
Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)
You may get an error message saying that the connection cannot be verified. This is normal if you are connecting to the VM for the first time and you can safely ignore it.
Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)
Microsoft is updating WAC on a regular basis, so it’s worth coming back to it often to check out what is new.
More in Cloud Computing
Microsoft Dev Box Adds New Features Ahead of its General Availability in July
May 23, 2023 | Laurent Giret
Cloud Computing and the Energy Crisis: Is Building More Data Centers Sustainable?
Mar 17, 2023 | Aidan Finn
Most popular on petri