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
Windows server core
  • Use the following command to install the webserver role.

Install-windows feature web-server   

Windows Feature web-server

  • Installation takes a few mins to complete.

Installation takes

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

web-mgmt-service

  • Installation takes a few mins to complete.

Installation

  • Open the Windows PowerShell window and type Regedit command

Open the Windows

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

RemoteManagement

RemoteManagement

 

set-service -Name WMSVC -StartupType Automatic

StartupType Automatic

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

Get-Service command

  • Next, Start the Web Management Service.

Web Management

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

IIS Remote Management

VERIFICATION

  • IIS service on the remote Virtual Machine has been installed.

remote Virtual Machine

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.

Connect to a Server

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

port number 8172

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

server core and click Next

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

click Connect to continue

  • To complete Specify a Connection Name and click Finish.

Name and click Finish

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

window and click

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

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 

 

 

 

                                                                                                                                                                                                        

 

Credentials

Quick Connect With Us