How to configure IIS Server Core for Remote Management?
Server
The following steps show how to configure IIS Server Core for Remote Management for Windows 2016 server.
REQUIREMENTS
- Windows 2016 Server Core
- Windows VM
INSTALLING IIS ON SERVER CORE
Note: Windows 2016 Datacenter Core Edition is used for illustration
- Windows server core in Hyper-V has been installed
Windows server core
- Use the following command to install the webserver role.
Install-windows feature web-server

- Installation takes a few mins to complete.

INSTALLING AND ENABLING WEB MANAGEMENT SERVICE
- Web management service has to be enabled for remote management. Use the following command to install and enable it.
Install-WindowsFeature web-mgmt-service

- Installation takes a few mins to complete.

- Open the Windows PowerShell window and type Regedit command

- Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server key and change the EnableRemoteManagement data value to 1.


set-service -Name WMSVC -StartupType Automatic

- To verify the service startup type, Use Get-Service command.

- Next, Start the Web Management Service.

FIREWALL RULE FOR WEB MANAGEMENT SERVICE
- 8172 is the default port for web management. To allow this port in the windows firewalls use the following command.
netsh advfirewall firewall add rule name=”IIS Remote Management” dir=in action=allow service=WMSVC

VERIFICATION
- IIS service on the remote Virtual Machine has been installed.

Note: Windows 2012 R2 VM is used for illustration
- To connect to a server, click File on IIS Snap-in and select “Connect to a Server” option.

- Specify the server core IP address along with port number 8172.

- Type in the credentials for the server core and click Next

- A server Certificate Alert will pop up, click Connect to continue.

- To complete Specify a Connection Name and click Finish.

- Select the list of assembly features from the pop-up window and click Ok

- Once the installation is completed, Server core will appear in the connection list.

At Velan, our server support engineers can help you configure IIS Server Core for Remote Management. For details, please visit Offshore Managed IT Services for the USA