Manage Remote Workgroup Hyper-V Hosts with Hyper-V Manager


The following procedures are tested on Windows Server 2016 TP4 and Windows 10 Computer.

Step1: Basic Hyper-v Host Configuration

Once Hyper Server 2016 is installed. Log on to Hyper-v host as administrator. You will be presented with command prompt. On the command prompt type sconfig.cmd and hit enter

You will be presented with the following screen. For a workgroup hyper-v host perform the following tasks from the configuration window.

Task 2: Computer Name (Reboot required)

Task 4: Remote Management

Task 7: Remote Desktop

Task 8: Network Settings

Task 11: Windows Activation

Sconfig

  Step2: Configure Hyper-v Server 2016 Host

Open a PowerShell console as Administrator. Run the following command

Enable Remote Management

Configure-SMRemoting.exe -Enable

Open firewall for Remote Computer Management

Set-NetFirewallRule -DisplayGroup ‘Windows Management Instrumentation (WMI)’ -Enabled true –PassThru

Set-NetFirewallRule -DisplayGroup ‘Remote Event Log Management’ -Enabled true -PassThru

Open firewall for ping (ICMPv4)

Set-NetFirewallRule -DisplayName “File and Printer Sharing (Echo Request – ICMPv4-In)” -Enabled True -PassThru

Enable Remote Desktop and allow remote connections

cscript.exe c:\Windows\System32\SCregEdit.wsf /AR 0

Enable Remote disk management

Set-NetFirewallRule -DisplayGroup ‘Remote Volume Management’ -Enabled true -PassThru

Enable Anonymous logon from remote computer

Navigate to c:\windows\system32 folder Type dcomcnfg.exe , Expand Computers, Right Click on My Computer, Click Properties, Click Com Security, On the Access Permission Window, Click Edit Limits, Click ‘anonymous logon’ Select local access and remote access, Click Ok.

Step3: Configure Windows 10 Computer or Windows Server 2016 with Desktop Experience

If you choose to manage workgroup hyper-v host from Windows 10 computer, enable Hyper-v feature on Windows 10 computer. Open a PowerShell console as Administrator. Run the following command

Enable Hyper-v Feature on Windows 10

Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V –All

Add Hyper-v Role in Windows Server 2016

Install-WindowsFeature –Name Hyper-V -IncludeManagementTools -Restart

Add a Host (A) Record

Open Windows Explorer or navigate to C:\Windows\System32\Drivers\etc

Type Notepad hosts

Add IP address and host name of the remote hyper-v host. Save and exist notepad

Enable Remote Management

winrm quickconfig

For Managing remote systems, add remote hyper-v host as a trusted computer

winrm set winrm/config/client @{TrustedHosts=”Name of the Remote Hyper-v Server”}

Enable remote disk Management (add this command on both systems) firewall rule

Set-NetFirewallRule -DisplayGroup ‘Remote Volume Management’ -Enabled true -PassThru

Enable Anonymous logon from remote computer

Navigate to c:\windows\system32 folder Type dcomcnfg.exe , Expand Computers, Right Click on My Computer, Click Properties, Click Com Security, On the Access Permission Window, Click Edit Limits, Click ‘anonymous logon’ Select local access and remote access, Click Ok.

Step3: Connect to Remote Hyper-v Host

Open Hyper-v Manager, Right Click on Hyper-v Manager, Click Connect to Server.., Type the host name you added in hosts file,

To specify credentials for the remote Hyper-V host, select Connect as another user: in the Select Computer dialogue box then select Set User….

Type HostName\Administrator and Password , Click Remember Password, Click Ok

Click Ok.

 

References

Using Windows 10 Client Hyper-V

Install Hyper-V on Windows 10

Enable and Use Remote Commands in Windows PowerShell

About Raihan Al-Beruni

My Name is Raihan Al-Beruni. I am working as an Infrastructure Architect in Data Center Technologies in Perth, Western Australia. I have been working on Microsoft technologies for more than 15 years. Other than Microsoft technologies I also work on Citrix validated solution and VMware data center virtualization technologies. I have a Masters degree in E-Commerce. I am certified in Microsoft, VMware, ITIL and EMC. My core focus is on cloud technologies. In my blog I share my knowledge and experience to enrich information technology community as a whole. I hope my contribution through this blog will help someone who wants more information on data center technologies.
Gallery | This entry was posted in Virtualization and tagged , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s