locked
如何在Win 7 上使用ServerManager,遠端管理(WinRM) Hyper-V Server 2008 R2 或者 Windows Server 2008 R2 ? RRS feed

  • 問題

  • 各位先進您好:
    我想向各位請教的問題是,如何在Win 7 上使用ServerManager,遠端管理(WinRM) Hyper-V Server 2008 R2 或者 Windows Server 2008 R2 ?

    Client (Win 7 x86):
    已安裝 Remote Server Administration Tools For Windows 7(KB958830);

    Server(Hyper-V Server 2008 R2):
    已安裝Core Configuratior圖形介面工具、文字介面工具,lynx文字介面瀏覽器;

    目前已完成:
    1. Win 7可使用遠端桌面(RDP)管理Hyper-vSrv2008R2;
    2. Win 7可以偵測(ICMP)到Hyper-vSrv2008R2;
    3. Win 7可以使用網芳(SMB)管理Hyper-vSrv2008R2檔案,並,Win 7 以及Hyper-vSrv2008R2皆屬於工作群組(Workgroup);
    4. Win 7可以使用電腦管理(Computer Management)管理Hyper-vSrv2008R2(部分功能,如,可以觀看事件檢視簿,但無法使用裝置管理員);
    5. Win 7可以使用Hyper-V Manager管理Hyper-vSrv2008R2的Hyper-V角色;

    但,問題是:
    Win 7無法透過伺服器管理員(Server Manager)連線管理Hyper-vSrv2008R2
    ,連線時出現錯誤訊息(錯誤訊息:Connecting to remote server failed with the following error message: The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more infomation about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.);

    懇請知道解決方案的先進賜教,謝謝您。
    James Potter
    2010年2月19日 下午 06:16

解答

所有回覆

  • 希望小弟之前所寫的文章能幫助您:如何在網域環境下管理Hyper-V伺服器 (三)
    方法也適用於兩端都為Workgroup 的環境。
    蘇老碎碎念
    資訊無涯,回頭已不見岸
    好用的微軟技術支援小工具
    Facebook - 微軟台灣官方論壇愛好者俱樂部
    2010年2月20日 下午 03:22
  • 各位先進您好:
    我想向各位請教的問題是,如何在Win 7 上使用ServerManager,遠端管理(WinRM) Hyper-V Server 2008 R2 或者 Windows Server 2008 R2 ?

    Client (Win 7 x86):
    已安裝 Remote Server Administration Tools For Windows 7(KB958830);

    Server(Hyper-V Server 2008 R2):
    已安裝Core Configuratior圖形介面工具、文字介面工具,lynx文字介面瀏覽器;


    1. Win 7可使用遠端桌面(RDP)管理Hyper-vSrv2008R2;
    2. Win 7可以偵測(ICMP)到Hyper-vSrv2008R2;
    3. Win 7可以使用網芳(SMB)管理Hyper-vSrv2008R2檔案,並,Win 7 以及Hyper-vSrv2008R2皆屬於工作群組(Workgroup);
    4. Win˙7可以使用電腦管理(Computer Management)管理Hyper-vSrv2008R2(部分功能,如,可以觀看事件檢視簿,但無法使用裝置管理員);

    但,Win 7無法使用伺服器管理員(Server Manager)管理Hyper-vSrv2008R2(錯誤訊息:Connecting to remote server failed with the following error message: The WinRM client cannot process the request. If the authentication scheme is different from Kerberos, or if the client computer is not joined to a domain, then HTTPS transport must be used or the destination machine must be added to the TrustedHosts configuration setting. Use winrm.cmd to configure TrustedHosts. Note that computers in the TrustedHosts list might not be authenticated. You can get more infomation about that by running the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.);

    懇請知道解決方案的先進賜教,謝謝您。
    James Potter
    您問的問題都是在hyper-v那台上要做設定的.

    1.RDP問題請參考
    http://support.microsoft.com/default.aspx/kb/555964
    http://www.petri.co.il/managing-windows-2008-server-core-rdp.htm
    2. 請用指令試試.
    netsh
    advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow
    kb:http://brianfinnegan.blogspot.com/2009/08/enable-icmp-response-on-w2k8-firewall.html



    其它相關server core(hyper-v)問題可參考
    http://msmvps.com/blogs/russel/archive/2008/10/22/configuring-hyper-v-server-for-remote-management.aspx
    http://www.petri.co.il/understanding-windows-server-2008-core.htm

    $亮晶晶的小欣$ Gary Yuan. http://yuanwenshin.spaces.live.com
    2010年2月20日 下午 03:47
  • 各位先進您好:

    謝謝AskaSu的Facebook - 微軟台灣官方論壇愛好者俱樂部連結,我加入俱樂部囉;

    謝謝小欣的回答,但我根據"其它相關server core(hyper-v)問題可參考"之中的指令:

    echo off
    REM initsetup2.cmd
    REM
    REM initial setup for a Server 2008 Server Core installation.
    REM command file 2 of 2 for Hyper-V and SBS
    REM
    REM Created: 4 September, 2007
    REM ModHist: 08/30/08 - added WinRM command
    REM
    REM Copyright 2007, 2008 Charlie Russel and Sharon Crawford. All rights reserved.
    REM   You may freely use this script in your own environment, modifying it
    REM   to meet your needs. But you may not re-publish it without permission.

    REM Use netsh to enable remote management through the firewall for
    REM all profiles. This is the minimum to allow using remote MMCs to work
    REM from other computers on the network.

    netsh advfirewall set allprofiles settings remotemanagement enable

    REM allow remote administration group
    netsh advfirewall firewall set rule group="Remote Administration" new enable=yes

    REM Allow remote desktop through firewall
    netsh advfirewall firewall set rule group="Remote Desktop" new enable=yes

    REM Enable Remote Desktop for Administration, and allow
    REM downlevel clients to connect
    cscript %windir%\system32\scregedit.wsf /AR 0
    cscript %windir%\system32\scregedit.wsf /CS 0

    REM Now, run the WinRM configuration script. -q is for quiet.
    winrm quickconfig -q

    (來源:http://msmvps.com/blogs/russel/archive/2008/10/22/configuring-hyper-v-server-for-remote-management.aspx)

    輸入的結果還是不能使用Win 7的Server Manager遠端管理Hyper-V Server 2008 R2(錯誤訊息:Server Manager cannot connect to ComputerName.    Click Retry to try to connect again.).


    懇請先進賜教,謝謝!!


    James Potter
    2010年2月24日 下午 01:32
  • Server 2008 R2 Server Core 可以透過 sconfig 指令去啟動遠端管理功能

    Configuring a Server Core installation of Windows Server 2008 R2 with Sconfig.cmd
    http://technet.microsoft.com/en-us/library/ee441254(WS.10).aspx


    如果是完整安裝的Server 2008 R2,不會有此指令,可以參考下面文章試看看

    Remote Management with Server Manager - To configure Server Manager remote management by using the Windows interface
    http://technet.microsoft.com/en-us/library/dd759202.aspx#BKMK_windows

    Thanks

    不管問題有沒有解決..麻煩都回來回報一下..對回答者也算是一種尊重:)
    微軟技術支援網站
    • 已標示為解答 Vincent Lin 2010年2月26日 上午 10:10
    2010年2月25日 上午 07:35