http://social.technet.microsoft.com/Forums/windowsserver/en-US/22ca1d25-05b5-416c-bf9b-b301a2065d31/forum-faq-when-you-use-disk-management-to-connect-to-a-remote-computer-in-the-same-domain-you?forum=winserverfiles


防火墙不仅要在目标电脑上打开,管理端电脑也需要打开,真是奇怪的设置

  • Symptom

    Considering the following scenario:

    ComputerA: Windows Server 2008 (Administration client)
    ComputerB: Windows Server 2008 Core(Remote server to be managed)
    Both computers are in the same domain.

    When you use Disk Management to connect to a remote computer, you receive the error message saying “RPC server is unavailable”.

    Cause

    Firewall blocks the remote communication to virtual disk service.

    Resolution

    Please perform the following steps to enable remote management via Disk Management:


    On ComputerA do the following:
    1. Type in the following command to configure the firewall
    netsh advfirewall firewall set rule group="Remote Volume Management" new enable=yes

    On ComputerB do the following:
    1. Type in the following command to set the VDS service to automatic and start it:
    sc config vds start= auto
    net start vds

    2. Type in the following command to configure the firewall to enable "Remote Volume Management":
    netsh advfirewall firewall set rule group="remote volume management" new enable=yes

    More Information

    When you remotely manage a computer, the VDS Loader on the client loads VDS on the server side. VDS calls CoCreateInstance, which passes an interface pointer back to the Disk Management snap-in, which then allows remote management of the server.

    server 2012远程磁盘管理报错 “RPC server is unavailable”_message

    As a result, there is a loopback RPC connection from the RPC server to client when you remotely manage the VDS. You need to open the corresponding firewall on management client too. For more information on how Virtual Disk Services works, please refer to the following link:

    How Virtual Disk Service Works

    http://technet.microsoft.com/en-us/library/cc739923(WS.10).aspx

    Applies to

    • Windows Server 2003 operating system

    • Windows Server 2008 operating system

    • Windows Server 2008 R2 operating system

    Monday, February 22, 2010 8:02 AM
    865 Points

All replies

  • This also works with Windows Server 2012 and Windows Server 2012 R2 technologies including Hyper-V Servers