Site icon TechGit

Manage Azure Virtual Machines Using Windows Admin Center

applicationframehost_2018-05-20_17-01-29-1280x720-3937511

applicationframehost_2018-05-20_17-01-29-1280x720-3937511

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.

Configure Windows Firewall for Inbound WinRM

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

 

figure1-4-7300277 Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)

Configure Azure Networking to Allow Inbound WinRM

Before we can connect WAC to Windows Server, we also need to configure Azure networking to allow inbound WinRM connections.

figure2-1-1280x836-7281357 Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)

The new rule will now appear in the list of inbound rules.

Connect to Windows Server using WAC

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.

figure3-1-5472445 Manage Azure Virtual Machines Using Windows Admin Center (Image Credit: Russell Smith)
figure4-1-3304407 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.

figure5-1-3825710 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.

The post Manage Azure Virtual Machines Using Windows Admin Center appeared first on Petri.

FacebookTwitterTumblrRedditLinkedInHacker NewsDiggBufferGoogle ClassroomThreadsXINGShare
Exit mobile version