Remotely Administering Windows Server Core

Tbcaus-Remote-Management-and-Monitoring.jpg

If you are like me, you are getting more and more excited about Microsoft Windows Server 2016; especially the core deployment with HyperV. No doubt then, you are already aware that after the quick and easy installation and configuration of the operating system, everyday management tasks require a longer process from the core GUI-less using commands and/or Powershell. And If you are running the HyperV server role, you will need remote management enabled to manage the HyperV remotely as the Microsoft Management Console (MMC) is not supported to run locally on the core deployment.

After the deployment and the initial server configuration try to use remote management of the HyperV, or the Core Server, from a remote full GUI windows OS deployment, and you will be greeted with the Computer Management error illustrated below.

coreerror

Do not stress; in the next few lines, I will help you solve this issue quickly. Log into the core server, open a PowerShell window, and then run the following PowerShell commands:

  • Enable-NetFireWallRule -DisplayName “Windows Management Instrumentation (DCOM-In)”
  • Enable-NetFireWallRule -DisplayGroup “Remote Event Log Management”
  • Enable-NetFireWallRule -DisplayGroup “Remote Service Management”
  • Enable-NetFireWallRule -DisplayGroup “Remote Volume Management”
  • Enable-NetFireWallRule -DisplayGroup “Remote Scheduled Tasks Management”
  • Enable-NetFireWallRule -DisplayGroup “Windows Firewall Remote Management”

If security is not a concern, you can run the one single command shown below to disable the Core server local Firewall. I prefer using this command, as I am running a core server in a lab.

  • Get-NetFirewallProfile | Set-NetFirewallProfile -enabled false

That is all that you need to do on the Core server.

Your next stop before getting on with the remote management is running the following command on the Management server; yes, the server you are going to use to manage the core server.

  • Enable-NetFirewallRule -DisplayGroup “Remote Volume Management”

Conclusion

Running those commands, we showed you on both the core server and the management server will see you able to easily manage your core server, including the HyperV role, remotely.

I hope this quick post will help you with your day to day remote Windows core server management.

One thought on “Remotely Administering Windows Server Core

Leave a Reply