Tips and tricks to manage Hyper-V server remotely from another computer in a workgroup:

In that example, the server and the client are in a workgroup. As a consequence there is no domain controller and by consequence kerberos is not possible. How to remotely manage hyper-V server from this client computer?

Reference article:

https://www.ivobeerens.nl/2015/08/28/manage-hyper-v-in-a-workgroup-remotely/

Configuration steps:

Both computers must be in the member of the same WORKGROUP

Both computers must have the same local username/password. And it must be member of local administrators group.

Create a local user to manage the hyperV service and put this account member of hyper-V administrators. On the client computer create also the same account with the same password.

Both computers must have the same time/date ; you can use net time \\server /set /y to synchronize the time

On hyper-V server:

On the server BIOS, enable the Virtualization support (CPU settings):

How to check if hyper-V hypervisor is running: https://technet.microsoft.com/en-us/library/ee941154(v=ws.10).aspx

RAID:  It is recommended to create the RAID using the Storage array directly on the server (at the boot time, by entering the Raid adapter tool). But to manage the hyperV storage remotely from the client (using Computer management “compmgmt.msc”): https://blogs.technet.microsoft.com/wincat/2012/05/02/what-needs-to-be-configured-to-do-remote-disk-management-of-a-server-core-installation-in-windows-server-2012-via-powershell/

Other article: https://www.pandatech.co/2015/04/remote-disk-management-on-windows-server-2012-core/

From a command line on the server start: SCONFIG

a.      Set Computer Name

b.      Joined Domain

c.      Set Network settings

d.      Downloaded updates

e.      Enable Remote Management   ( or from powershell: enable-PSRemoting)

f.      Enable RDP

g.      Enable Ping

h.      Telemetry Settings = security

2.      View Firewall Rules PowerShell

a.      Get-netfirewallrule | format-table name, displaygroup, action, direction, enabled -autosize

3.      Ran powershell: enable-netfirewallrule -DisplayGroup “File and Printer Sharing”

5.      Powershell: enable-netfirewallrule -DisplayGroup “Remote Event Log Management”

6.      Powershell: enable-netfirewallrule -DisplayGroup “Remote Volume Management”

7.      Powershell: enable-netfirewallrule -DisplayGroup “Remote Service Management”

8.      Cmd: netsh advfirewall firewall set rule group = “Windows Firewall Remote Management” new enable=yes

9.      winrm s winrm/config/client “@{TrustedHosts=”client”}”

10.      Set Virtual Disk Service to Auto Start and start it

 

 

On client computer (management computer):

1. Test to ping the hyper-V server (and vice versa)

2. Install the HyperV management tools and the management stack

3. On powershell: enable-PSremoting

4. allow Windows remote managenent: winrm s winrm/config/client “@{TrustedHosts=”server”}”

5. netsh advfirewall firewall set rule group=”Remote Volume Management” new enable=yes

 

6. DCOM configuration on client computer:

Open c:\windows\system32\dcomcnfg.exe, expand My Computer, properties, Security tab and allow ‘anonymous logon’ for local and remote access.

 

 

 

 

 

Advertisements