0559.html 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <!DOCTYPE html>
  2. <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <title>Try Out Microsoft Hyper-V Server Hypervisor in VirtualBox</title>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  6. <meta charset="UTF-8">
  7. <meta name="keywords" content="Virtualization,Virtual Machines,VMs,VM,Hypervisor,Microsoft,Hyper-V,Hyper-V Server,Server 2019,Hyper-V Manager,How To,Tutorial,i12bretro">
  8. <meta name="author" content="i12bretro">
  9. <meta name="description" content="Try Out Microsoft Hyper-V Server Hypervisor in VirtualBox">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="revised" content="05/28/2022 10:18:49 AM" />
  12. <link rel="icon" type="image/x-icon" href="includes/favicon.ico">
  13. <script type="text/javascript" src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
  14. <script type="text/javascript" src="includes/js/steps.js"></script>
  15. <link href="css/steps.css" rel="stylesheet" type="text/css" />
  16. </head>
  17. <body>
  18. <div id="gridContainer">
  19. <div class="topMargin"></div>
  20. <div id="listName" class="topMargin">
  21. <h1>Try Out Microsoft Hyper-V Server Hypervisor in VirtualBox</h1>
  22. </div>
  23. <div></div>
  24. <div id="content">
  25. <p>NOTE: This is a helpful exercise to get familiar with the Hyper-V user interface and terminology but is not recommended for production use.</p>
  26. <ol>
  27. <li>Download the Microsoft Hyper-V Server .iso file <a href="https://archive.org/download/en_microsoft_hyper-v_server_2019_updated_sept_2019_x64_dvd_18bf011c/en_microsoft_hyper-v_server_2019_updated_sept_2019_x64_dvd_18bf011c.iso" target="_blank">Download</a></li>
  28. <li>Launch Virtualbox</li>
  29. <li>Create a New VM by selecting Machine &gt; New
  30. <p>Name: Hyper-V Server<br />
  31. Machine Folder: C:\VMs<br />
  32. Type: Microsoft Windows<br />
  33. Version: Windows 2019 (64-bit)<br />
  34. Memory Size: 8192 MB<br />
  35. Hard disk: Create a virtual hard disk now</p>
  36. </li>
  37. <li>Click Create</li>
  38. <li>On the Create Virtual Hard Disk dialog
  39. <p>Name the virtual disk image Hyper-V Server.vdi<br />
  40. File size: 500 GB<br />
  41. Hard disk file type: VDI<br />
  42. Storage on physical hard disk: Dynamically Allocated</p>
  43. </li>
  44. <li>Click Create</li>
  45. <li>Select the VM and Click Settings</li>
  46. <li>Select System &gt; Processor</li>
  47. <li>Give the VM at least 2 processors</li>
  48. <li>Check the Enable Nested VT-x/AMD-V</li>
  49. <li>Select Display</li>
  50. <li>Slide the Video Memory to 128 MB</li>
  51. <li>Select Network</li>
  52. <li>Set the attached to dropdown to Bridged Adapter</li>
  53. <li>Select Storage</li>
  54. <li>Click on the CD-ROM drive</li>
  55. <li>Select the disc dropdown to the right &gt; Choose a virtual optical disc file...</li>
  56. <li>Browse to and select the downloaded Hyper-V Server .iso file</li>
  57. <li>Click OK</li>
  58. <li>Click OK to accept the settings</li>
  59. <li>Make sure the Hyper-V Server VM is selected and click Start &gt; Normal</li>
  60. <li>Click Next</li>
  61. <li>Click Install Now</li>
  62. <li>Check the I accept box &gt; Click Next</li>
  63. <li>Click Custom (advanced) &gt; Click Next</li>
  64. <li>Wait for Windows to copy files &gt; Click Restart now</li>
  65. <li>When prompted, Press Enter to set the Administrator password</li>
  66. <li>Enter the password and confirm &gt; Press Enter</li>
  67. <li>Press Enter to clear the success message</li>
  68. <li>At the Server Configuration (sconfig.cmd) menu, Type 2 &gt; Press Enter</li>
  69. <li>Enter hyperv-vm as the new host name</li>
  70. <li>Select Yes to reboot for the host name change to take effect</li>
  71. <li>Select Input &gt; Keyboard &gt; Ctrl-Alt-Del</li>
  72. <li>Enter the Administrator password &gt; Press Enter</li>
  73. <li>At the Server Configuration menu, Type 6 &gt; Press Enter</li>
  74. <li>Type R for Recommended updates only &gt; Press Enter</li>
  75. <li>Type A for All updates &gt; press Enter</li>
  76. <li>Select Yes to reboot to complete applying updates</li>
  77. <li>Select Input &gt; Keyboard &gt; Ctrl-Alt-Del</li>
  78. <li>Enter the Administrator password &gt; Press Enter</li>
  79. <li>At the Server Configuration menu, Type 14 &gt; Press Enter</li>
  80. <li>Run the following commands at the command prompt
  81. <div class="codeBlock CMD"># start powershell<br />
  82. powershell<br />
  83. # enable remote powershell<br />
  84. Enable-PSRemoting<br />
  85. # enable credssp server<br />
  86. Enable-WSManCredSSP -Role server</div>
  87. </li>
  88. <li>Type Y to confirm enabling CredSSP &gt; Press Enter
  89. <p><em>NOTE: You need to have a user on the Hyper-V Server VM with the same username and password as the user running the Hyper-V Manager GUI. To create a user other than the built in administrator, run sconfig and select option 3 to create a new user and set the password</em></p>
  90. </li>
  91. <li>On the VM host (or another Windows PC to manage Hyper-V), right click the Start button &gt; Windows PowerShell (Admin)</li>
  92. <li>Run the following PowerShell commands
  93. <div class="codeBlock PS"># start the winrm service and set it to startup automatically<br />
  94. Set-Service -Name WinRM -Status Running -StartupType Automatic<br />
  95. # add hyperv-vm.local to trusted hosts<br />
  96. Set-Item WSMan:\localhost\Client\TrustedHosts -Value &quot;hyperv-vm.local&quot;</div>
  97. </li>
  98. <li>Type Y to confirm adding the trusted host</li>
  99. <li>Close the PowerShell window</li>
  100. <li>Right click the Start menu &gt; Type gpedit.msc &gt; Press Enter</li>
  101. <li>Expand Computer Configuration &gt; Administrative Templates &gt; System &gt; Credentials Delegation</li>
  102. <li>Double click Allow delegating saved credentials with NTLM-only server authentication</li>
  103. <li>Changed the status to Enabled &gt; Click the Show... button next to Add servers to the list</li>
  104. <li>Type wsman/hyperv-vm.local &gt; Click OK</li>
  105. <li>Click Apply and then OK</li>
  106. <li>Close out of the open Group Policy Editor window</li>
  107. <li>Click the Start button &gt; Search feature &gt; Click Turn Windows features on or off</li>
  108. <li>Expand Hyper-V &gt; Hyper-V Management Tools &gt; Select Hyper-V GU Management Tools &gt; Click OK</li>
  109. <li>Once Hyper-V Manager is installed click the Close button</li>
  110. <li>Click the Start button &gt; Search hyper &gt; Click Hyper-V Manager</li>
  111. <li>Click the Connect to Server... link in the top right</li>
  112. <li>Type hyperv-vm.local and press Enter</li>
  113. </ol>
  114. <p>CredSSP/Authentication info: <a href="https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/remotely-manage-hyper-v-hosts" target="_blank">https://docs.microsoft.com/en-us/windows-server/virtualization/hyper-v/manage/remotely-manage-hyper-v-hosts</a></p>
  115. </div>
  116. </div>
  117. </body>
  118. </html>