Download hyper-v server 2016 server image:
Recommended: msdn download
Can also server from Microsoft's official website to download the latest version of the v-2019 Hyper: https://www.microsoft.com/en-us/evalcenter/evaluate-hyper-v-server-2019
With the image file, using the floppy disk through the write U disk, and then inserted in the reload server system. Here installing the operating system is very simple, I will not say more.
Turn on the server, configure the computer name, configure remote control feature is turned on, open Remote Desktop, ip address is fixed.
At this point you can remote desktop management, and continue configured on the server.
Use powershell command, open credssp
C:\Users\Administrator>powershell
PS C:\Users\Administrator> Enable-PSRemoting
PS C:\Users\Administrator> Enable-WSManCredSSP -role server
Turn off the firewall:
PS C:\Users\Administrator> netsh advfirewall set currentprofile state off
确定。
At this point, the server configuration is finished.
Hyper-V client configuration manager.
My client is a win10 1903 version of the operating into the next:
1, enable the Hyper-V management tools (do not check the Hyper-V platform, otherwise it will affect your vm virtual machine)
2, modify the hosts file:
192.168.100.100 hyper-v-server
3, the client working group could not be "public"
Win- provided - Internet- network status and - to change the connection attributes, common to "private"
4, modify the Group Policy
gpedit.msc----本地计算机策略----管理工具----系统----凭证分配:允许分配新的凭证用于仅NTLM服务器身份验证
启用并添加一行值:wsman/HYPER-V-SERVER
5、powershell执行命令:
开启winrm:winrm quickconfig
winrm安全配置:Set-Item WSMan:\localhost\Client\TrustedHosts -Value "HYPER-V-SERVER"
winrm身份验证配置:Enable-WSManCredSSP -Role client -DelegateComputer "HYPER-V-SERVER"
客户端配置完成。
客户端测试连接:windows管理工具中打开Hyper-V管理器
操作---连接服务器,输入要连接的服务器即可