Steps To Configure IIS Server Core For Remote Management

Steps to configure IIS Server Core for Remote Management

In this blog, we will show you the steps 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: We are using windows 2016 Datacenter Core Edition for this demo

  • We have already installed the windows server core in Hyper-V.
Steps to configure IIS Server Core for Remote Management
  • Use the below command to install the web server role.

Install-WindowsFeature web-server

Steps to configure IIS Server Core for Remote Management
  • It will take few minutes to complete the installation.
Steps to configure IIS Server Core for Remote Management

INSTALLING AND ENABLING WEB MANAGEMENT SERVICE

  • We need the web management service for the remote management. Use the below command to install it.

Install-WindowsFeature web-mgmt-service

Steps to configure IIS Server Core for Remote Management
  • It will take few minutes to complete the installation.
Steps to configure IIS Server Core for Remote Management
  • Type regedit command to open the Registry Editor.
Steps to configure IIS Server Core for Remote Management
  • Go-to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WEbManagement\Server key and change the EnableRemoteManagement data value to 1.
Steps to configure IIS Server Core for Remote Management
Steps to configure IIS Server Core for Remote Management
  • Enable the Web Management Service start type as Auto.

set-service -Name WMSVC -StartupType Automatic

Steps to configure IIS Server Core for Remote Management
  • We can verify the service startup type using Get-Service command.
Steps to configure IIS Server Core for Remote Management
  • Now start the Web Management Service.

start-service WMSVC

Steps to configure IIS Server Core for Remote Management

FIREWALL RULE FOR WEB MANAGEMENT SERVICE

  • The default port for web management is 8172. We need to allow this port in the windows firewall using the below command.

netsh advfirewall firewall add rule name=”IIS Remote Management” dir=in action=allow service=WMSVC

Steps to configure IIS Server Core for Remote Management
VERIFICATION
  • We have already installed IIS service on the remote Virtual Machine.
Steps to configure IIS Server Core for Remote Management

Note: We are using Windows 2012 R2 VM for this demo

  • From the IIS Snap-in, Click on the File and select connect to a server option.
Steps to configure IIS Server Core for Remote Management
  • Provide the server core IP address along with port number 8172.
Steps to configure IIS Server Core for Remote Management
  • Provide the server core administrator credentials and click Next.
Steps to configure IIS Server Core for Remote Management
  • It will pop-up the server certificate alert, click on Connect option.
Steps to configure IIS Server Core for Remote Management
  • Provide a Name for the connection and click Finish.
Steps to configure IIS Server Core for Remote Management
  • A new pop-up window will show up to install the new features. Select the list of assembly features and click OK.
Steps to configure IIS Server Core for Remote Management
  • After the feature installation completes, our server core machine will be available in the connections list.
Steps to configure IIS Server Core for Remote Management
EXTERNAL LINKS

https://docs.microsoft.com/en-us/iis/manage/remote-administration/remote-administration-for-iis-manager.

VIDEO

Thanks for reading this blog. We hope it was useful for you to learn to configure IIS on server core for Remote Management.

Loges