ThaiVeeam

Virtualization and Hypervisor => Hyper-V => Topic started by: New User on March 04, 2026, 09:16:15 AM

Title: การจัดการ standalone Hyper-V
Post by: New User on March 04, 2026, 09:16:15 AM
สำหรับการเข้าถึง Hyper-V ที่เป็น standalone หรือ workgroup นั้นทำได้ดังนี้คือ

ฝั่ง Hyper-V ต้องพิมพ์
Enable-PSRemoting
Enable-WSManCredSSP -Role server

ฝั่ง CLIENT : กรณีเครื่องไม่ได้ join domain พิมพ์
Get-NetConnectionProfile
Set-NetConnectionProfile -Name "mynetworkname" -NetworkCategory Private
แทน networkname ด้วยชื่อ connection ที่ท่านเห็นจากการใช้คำสั่ง Get-NetConnectionProfile
Enable-PSRemoting
Set-Item WSMan:\localhost\Client\TrustedHosts -Value hyperv01
Enable-WSManCredSSP -Role client -DelegateComputer hyperv01
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
cmdkey /add:hyperv01 /user:Administrator /pass
แทน hyperv01 ด้วยชื่อ server hyper-v ของท่าน โดยอย่าลืมไปกำหนดชื่อแทน IP ใน
c:\windows\system32\drivers\etc\hosts

ฝั่ง CLIENT : กรณีเครื่องjoin domain พิมพ์

Enable-PSRemoting
Set-Item WSMan:\localhost\Client\TrustedHosts -Value hyperv01
Enable-WSManCredSSP -Role client -DelegateComputer hyperv01
Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
cmdkey /add:hyperv01 /user:Administrator /pass
แทน hyperv01 ด้วยชื่อ server hyper-v ของท่าน โดยอย่าลืมไปกำหนดชื่อแทน IP ใน
c:\windows\system32\drivers\etc\hosts
หลังจากนั้นเข้าไปยัง Local Group Policy
และแก้ไฟลตามรูปได้เลย