none
如何使用圖形化的client軟體管理Hyper-V伺服器 RRS feed

  • 問題

  • 各位前輩 好:

    我有一台Hyper-V伺服器,使用mstsc連線登入之後,畫面都是黑漆漆的一片,

    雖然Hyper-V伺服器底下有先前安裝好的VM,但是要怎麼設定,

    才能用console的方式管理Hyper-V伺服器底下的VM,

    因為我想要有圖形介面,用command line方式不熟悉,

    再麻煩協助,謝謝



    • 已編輯 AskaSuModerator 2017年10月11日 上午 01:02 修改適當標題,原始標題: 如何使用圖形化的client軟體連線到烏漆嬤黑的Hyper-V伺服器管理其底下的VM
    2017年10月11日 上午 12:28

所有回覆

  • Hyper-V Server 端是否安裝的是純 Server Core 也就是純指令模式的作業環境?
    假設那台主機是 Hyper-V Server 2012 R2,
    可以參考這篇文章進行設定,就可以在其他台電腦以圖形化方式進行管理
    管理 Server Core 伺服器


    蘇老碎碎念
    資訊無涯,回頭已不見岸
    Facebook - 微軟台灣官方論壇愛好者俱樂部
    如何在論壇正確發問,請參考iThome的文章: 如何問到我要的答案

    2017年10月11日 上午 01:02
    版主
  • Hi 臺灣F4,

    您可以參考一下這篇:Managing FREE Hyper-V Server 2012 with a Local GUI Console Tool

    希望能夠幫助到您:)


    請記得將對您有幫助的回覆"標示為解答"以幫助其他尋找解答及參與社群討論的朋友們。

     

    Please remember to click Mark as Answer on the post that helps you.
    This can be beneficial to other community members reading the thread.


    2017年10月11日 上午 01:39
  • 感謝回覆,我的Hyper-V伺服器是 Server core版本(無圖形介面),
    我的client端電腦是Win 10,開啟MMC之後輸入Hyper-V伺服器的IP,
    卻出現錯誤訊息,我沒有權限可以連線,
    是否Hyper-V伺服器需要做一些設定以及如何做,
    才能讓client端電腦可以連線呢?
    謝謝
    2017年10月11日 上午 02:49
  • 該主機有無加入網域? 有加入的話,設定上會稍微簡單些,
    詳情可以參考這篇級另一個網站的討論
    12 Steps to Remotely Manage Hyper-V Server
    Windows10 遠端管理Hyper-V主機

    蘇老碎碎念
    資訊無涯,回頭已不見岸
    Facebook - 微軟台灣官方論壇愛好者俱樂部
    如何在論壇正確發問,請參考iThome的文章: 如何問到我要的答案

    2017年10月11日 上午 03:25
    版主
  • Hi 臺灣F4,

    您可以參考一下這篇:12 Steps to Remotely Manage Hyper-V Server

    希望能夠幫助到您:)


    請記得將對您有幫助的回覆"標示為解答"以幫助其他尋找解答及參與社群討論的朋友們。

     

    Please remember to click Mark as Answer on the post that helps you.
    This can be beneficial to other community members reading the thread.


    2017年10月11日 上午 03:37
  • 感謝回覆,但我需要的設定有以下幾個部分,我的Hyper-V伺服器 是 Server core 版本(無圖形介面),(1)要如何安裝新的VM (2) 安裝好的VM如何用 console方式登入管理 (3) 安裝好的VM如何做映像檔備份 (4) 如何還原VM映像檔 (5) 不加入網域,client端電腦 如何設定 MMC 的方式登入Hyper-V伺服器管理VM

    以上才是我所需要的設定,以上五個問題很有挑戰性,也考驗答題者的技術水平,期待有高手出現

    2017年10月12日 上午 12:55
  • 你好, 也不是甚麼很複雜的問題, 但只要你解決了 (5), 其他就跟普通的Hyper-V Server 使用方式一樣了

    微軟提供了幾個連接到Hyper-V Server的方式, 也特別點出以MMC連接到非網域Hyper-V Server的步驟

    https://technet.microsoft.com/en-us/jj647785(v=ws.11).aspx

    To use an MMC snap-in to manage a computer running Hyper-V Server that is not a domain member

    1. If the Hyper-V Server is not a member of a domain, type the following command at a command prompt on the remote computer. This establishes alternate credentials that you can use to connect to the computer running Hyper-V Server.

      cmdkey /add:<ServerName> /user:<UserName> /pass:<password>

      Where:

      ServerName is the name of the computer running Hyper-V Server.

      UserName is the name of an administrator account.

      System_CAPS_noteNote

      If you want to be prompted for a password, omit the /pass parameter.

    2. When prompted, type the password for the user name that is specified in the previous step.

    3. If the firewall on the computer running Hyper-V Server is not already configured to allow MMC snap-ins to connect, follow the steps in To configure Windows Firewall to allow MMC snap-ins to connect. Then return to this procedure.

    4. On a different computer, start an MMC snap-in, such as Computer Management.

    5. In the left pane, right-click the top of the tree, and then click Connect to another computer. (In the Computer Management example, you would right-click Computer Management (Local).)

    6. In the Another computer text box, type the name of the computer running Hyper-V Server, and then click OK. You can now use the MMC snap-in to manage the computer running Hyper-V Server the same way that you would manage any computer running the Windows Server operating system.

    To configure Windows Firewall to allow MMC snap-ins to connect

    • To allow all MMC snap-ins to connect, run the following Windows PowerShell command:

      Enable-NetFirewallRule -DisplayGroup "Remote Administration"

    • To allow only specific MMC snap-ins to connect, run the following Windows PowerShell command:

      Enable-NetFirewallRule -DisplayGroup "<rulegroup>"

      Where:

      Rulegroup is one of the values from the following table, depending on which snap-in you want to connect.

    MMC snap-in

    Rule group

    Event Viewer

    Remote Event Log Management

    Services

    Remote Services Management

    Shared Folders

    File and Printer Sharing

    Task Scheduler

    • Performance Logs and Alerts

    • File and Printer Sharing

    Disk Management

    Remote Volume Management

    Windows Firewall with Advanced Security

    Windows Firewall Remote Management

    System_CAPS_noteNote

    Some MMC snap-ins do not have a corresponding rule group that allows them to connect through the firewall. However, enabling the rule groups for Event Viewer, Services, or Shared Folders will allow most other snap-ins to connect. Additionally, certain snap-ins require further configuration before they can connect through Windows Firewall:

    • Disk Management   You must first start the Virtual Disk Service (VDS) on the computer running Hyper-V Server. You must also configure the Disk Management rules appropriately on the computer running the MMC snap-in.

    • IP Security Monitor   You must first enable remote management for this snap-in. To do this, at a command prompt, type:

      Cscript \windows\system32\scregedit.wsf /im 1

    • Reliability and Performance   The snap-in does not require any further configuration, but when you use it to monitor a computer running Hyper-V Server, you can only monitor performance data. Reliability data is not available.


    邊幫助, 邊鍛鍊

    2017年10月16日 上午 03:02
  • Dear Justin:

    You are really a professional engineer , but I still can not solve my big issue.

    I have already add the cmdkey from my Win 10 PC (client site).

    Then I open the mmc from my Win 10 , and try to connect the the Hyper-V server (core version , no UI).

    After doing the above actions , there is still something wrong , see the following picture.

    What should I do the next step ? 

    Thanks and regards.

    P.S: Because I do not have the permission to post my error picture.

    Would you mind to tell me your e-mail then I send you the error picture to show detail messages.

    2017年10月18日 上午 01:56
  • 在這裡不適合把問題帶到線下, 請盡量形容你的狀況, 這樣可以讓其他有相同處境的人在日後可以找到解決的方式

    邊幫助, 邊鍛鍊

    2017年10月18日 上午 07:58
  • Dear Justin:

    關於錯誤提示,請參考以下連結

    http://llllxtr.byethost3.com/MMC_error.png?i=1

    How to solve this big big ..... issue ?

    希望工程師多多幫忙,謝謝

    2017年10月19日 上午 03:44
  • Dear Sir/Miss:

    Have you solved my issue ?

    Please help me if you know the solution.

    If you do not know , tell me who knows.

    Thanks.

    2017年10月23日 下午 11:21
  • Dear All:

    After so many days, no one can answer me.

    I feel disappointed about this social tech.

    2017年10月26日 上午 12:16
  • 你好, 由於不能幫你每個步驟都檢查, 所以只能給你更多參考流程

    看看那裡和別人有分別的, 最壞情況可能要推倒所有步驟重來

    http://tweaks.com/windows/67216/remotely-manage-a-nondomain-hyperv-server/

    Youtube影片也有

    https://www.youtube.com/watch?v=i1eOK0rsS8Y


    邊幫助, 邊鍛鍊

    2017年10月26日 上午 01:52