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
![Windows Feature web-server](http://velaninfo.com/resources/wp-content/uploads/2020/11/Windows-Feature-web-server-300x57.jpg)
- Installation takes a few mins to complete.
![Installation takes](http://velaninfo.com/resources/wp-content/uploads/2020/11/Installation-takes--300x70.jpg)
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](http://velaninfo.com/resources/wp-content/uploads/2020/11/web-mgmt-service-300x55.jpg)
- Installation takes a few mins to complete.
![Installation](http://velaninfo.com/resources/wp-content/uploads/2020/11/Installation-300x62.jpg)
- Open the Windows PowerShell window and type Regedit command
![Open the Windows](http://velaninfo.com/resources/wp-content/uploads/2020/11/Open-the-Windows--300x184.jpg)
- Go to
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WebManagement\Server key and change the EnableRemoteManagement data value to 1.
![RemoteManagement](http://velaninfo.com/resources/wp-content/uploads/2020/11/RemoteManagement-300x211.jpg)
![RemoteManagement](http://velaninfo.com/resources/wp-content/uploads/2020/11/Remote-Management-300x109.jpg)
set-service -Name WMSVC -StartupType Automatic
![StartupType Automatic](http://velaninfo.com/resources/wp-content/uploads/2020/11/StartupType-Automatic-300x26.jpg)
- To verify the service startup type, Use Get-Service command.
![Get-Service command](http://velaninfo.com/resources/wp-content/uploads/2020/11/Get-Service-command-271x300.jpg)
- Next, Start the Web Management Service.
![Web Management](http://velaninfo.com/resources/wp-content/uploads/2020/11/Web-Management-300x148.jpg)
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](http://velaninfo.com/resources/wp-content/uploads/2020/11/IIS-Remote-Management-300x47.jpg)
VERIFICATION
- IIS service on the remote Virtual Machine has been installed.
![remote Virtual Machine](http://velaninfo.com/resources/wp-content/uploads/2020/11/remote-Virtual-Machine--300x132.jpg)
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](http://velaninfo.com/resources/wp-content/uploads/2020/11/Connect-to-a-Server.jpg)
- Specify the server core IP address along with port number 8172.
![port number 8172](http://velaninfo.com/resources/wp-content/uploads/2020/11/port-number-8172-300x221.jpg)
- Type in the credentials for the server core and click Next
![server core and click Next](http://velaninfo.com/resources/wp-content/uploads/2020/11/server-core-and-click-Next-300x222.jpg)
- A server Certificate Alert will pop up, click Connect to continue.
![click Connect to continue](http://velaninfo.com/resources/wp-content/uploads/2020/11/click-Connect-to-continue-300x204.jpg)
- To complete Specify a Connection Name and click Finish.
![Name and click Finish](http://velaninfo.com/resources/wp-content/uploads/2020/11/Name-and-click-Finish-300x223.jpg)
- Select the list of assembly features from the pop-up window and click Ok
![window and click](http://velaninfo.com/resources/wp-content/uploads/2020/11/window-and-click-300x197.jpg)
- Once the installation is completed, Server core will appear in the connection list.
![connection list](http://velaninfo.com/resources/wp-content/uploads/2020/11/connection-list-300x119.jpg)
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