zoukankan      html  css  js  c++  java
  • Windows Server Core Remote Manage Hyper-V

    原帖:https://serverfault.com/questions/852144/how-do-i-remotely-manage-hyper-v-2016-standalone-via-windows-10

    Found my specific issue :) I was using an invalid hostname, and the DNS wasn't resolving properly.

    • WRONG: server-1.local
    • RIGHT: server-1-local

    But on a different note, I also found that the Microsoft doc (Remotely manage Hyper-V hosts with Hyper-V Manager) didn't document all the instructions necessary for me to make things work. It was mostly correct, but was missing one step. So I've attached my manual setup instructions.

    See below for my full setup instructions for remotely managing Hyper-V 2016 via Windows 10 Professional. My setup involved two separate physical machines - I install both systems from scratch.

    On the Hyper-V server

    1. Install Hyper-V Server 2016 (via GUI)
    2. Set password Note: change following in the terminal gui running sconfig
    3. Set computer name (e.g. server-1); note: do NOT use periods
    4. Configure remote management (disabled => enabled)
    5. Remote Desktop (disabled => enabled)
    6. In the Powershell window, run as admin:

    Powershell commands:

    Enable-PSRemoting
    Enable-WSManCredSSP -Role server
    

    On the desktop/laptop you're going to manage Hyper-V remotely

    1. Install Windows 10 Professional/your drivers/your apps (GUI)
    2. Change your network adapter setting
      • If on older patches of Windows 10
        • Click Start > Search "Homegroup" > Launch "Homegroup"
        • Click on the link to change network type (public => private)
      • If on newer patches of Windows 10
        • Try this: go to "Start Menu > (type) 'Ethernet' > (click) Ethernet adapter > (click) Private"
    3. Add a DNS entry in your hostfile (run notepad as Administrator)
      • Edit "C:WindowsSystem32driversetchosts"
      • Add an entry like "192.168.100.2 server-1"
    4. In the Powershell window, run as admin:

    Powershell commands:

    Enable-PSRemoting
    Set-Item WSMan:localhostClientTrustedHosts -Value server-1
    Enable-WSManCredSSP -Role client -DelegateComputer server-1
    Enable-WindowsOptionalFeature -Online -FeatureName:Microsoft-Hyper-V -All
    cmdkey /add:server-1 /user:Administrator /pass
    

    Note

    The official Microsoft documentation was missing the cmdkey instruction, which registers the login info necessary to get into the Hyper-V server. I found it in a separate doc.

  • 相关阅读:
    敏捷开发中的sprint是什么意思_百度知道
    桐君堂_百度百科
    HSTS Preloading
    做CloudXNS产品运营的这半年 – CHINA Testers
    java~spring-ioc的使用
    java~api返回值的标准化
    java8的函数式接口
    redis使用场景和java测试案例
    springboot~注册bean的方法
    学生信息管理系统问题集锦
  • 原文地址:https://www.cnblogs.com/easyc/p/Windows_Server_Core_2016_Remote_Manage_HyperV.html
Copyright © 2011-2022 走看看