จัดการ Hyper-V Infrastructure ผ่าน Hyper-V Manager หรือ Windows Admin Center ทำได้ทั้ง Local และ Remote (มีประสิทธิภาพกว่าหลาย Server) ตั้งแต่ Windows 8 Microsoft รวม Hyper-V Client ใน Pro/Enterprise Editions (Win 8, 8.1, 10) ทำให้ IT Admin จัดการจาก Client Machine ได้
ขั้นตอนเชื่อมต่อ Remote: เปิด Hyper-V Manager → คลิก Connect to Server… (ขวา)
บาง IT Admin เจอ Error เชื่อมต่อจาก Windows Client ไป Remote Hyper-V Server สาเหตุหลัก: ขาด Trust ระหว่าง Source และ Target Error:
"An error occurred while attempting to connect to server 'ServerName'. Check that the Virtual Machine Management service is running and that you are authorized to connect to the server. Connecting to remote server failed: The WinRM client cannot process the request. A computer policy does not allow the delegation of the user credentials to the target computer…"
แก้ได้โดย Enable Trust ผ่าน Group Policy (GUI) นโยบายชื่อ Allow delegating fresh credentials with NTLM-only server authentication
เปิดใช้งาน Delegation of Fresh Credentials
- คลิกขวา Start → พิมพ์ gpedit → เปิด Edit Group Policy
- ไปที่: Computer Configuration > Administrative Templates > System > Credentials Delegation
- Double-click Allow delegating fresh credentials with NTLM-only server authentication
- Enable
- คลิก Show… ถัดจาก Add servers to the list
- พิมพ์ WSMAN/Hyper-V Server Name (เช่น Server เรียก hyperv01 → พิมพ์
wsman/hyperv01) - OK → Apply → OK
Group Policy Refresh ทุก 90 นาที (Random 0-30 นาที) ไม่อยากรอ → บังคับ Update:
- คลิกขวา Start → Windows PowerShell (Admin) หรือ Command Prompt (Admin)
- Yes ยืนยัน Admin
- พิมพ์ gpupdate /force → Enter → Policy อัปเดตในไม่กี่วินาที
ทดสอบเชื่อมต่อ:
- เปิด Hyper-V Manager บน Client
- Connect to Server… → Another Computer: พิมพ์ Hyper-V Server Name (hyperv01) → Connect as another user → Set User…
- Username Format:
servername\userหรือdomain\user(เช่น hyperv01\Administrator) - OK → OK → เชื่อมต่อสำเร็จ
เพลิดเพลินกับการจัดการ Virtual Machines แบบ Remote!