ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable to fully remote manage Hyper-V Server 2012 R2

    IT Discussion
    hyper-v 2012 r2 remote management
    2
    10
    3.2k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by

      I have site with 2 Hypert-V 2012 R2 servers. I normally manage everything from a Windows 8.1 based desktop installed in the rack purely for remote management.

      All systems are domain joined and I have no problem opening Hyper-V manager form the Windows 8.1 desktop and managing the virtual machines on the two Hyper-V servers.

      Today I was trying check a firewall setting on HV02 and when I opened MMC it said it could not connect.

      I connected directly to HV02 and tried to issue the following PowerShell command per the MS documentation here.
      Enable-NetFirewallRule -DisplayGroup "Remote Administration"

      Here was the result. How do I correctly fix this since the MS documentation is obviously wrong?
      https://i.imgur.com/i1hYTDZ.jpg

      Forum side note: There was a remotemanagement (all one word) tag that I intentionally did not use.

      1 Reply Last reply Reply Quote 2
      • brianlittlejohnB
        brianlittlejohn
        last edited by

        Run Sconfig and enable remote administration from there again.

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @brianlittlejohn
          last edited by

          @brianlittlejohn said:

          Run Sconfig and enable remote administration from there again.

          It is Hyper-V Server sconfig is always running unless you kill it.

          That said, it is enabled there and always had been. I have always had this issue with Hyper-V server and had simply forgot about it because I worked around it for the one issue that was impacting me before.
          https://i.imgur.com/8Y1DbSj.jpg

          That also still does not address the issue as to what is the group name of the firewall rules. They are obviously not all set when you enable remote management or Microsoft's own instructions would not be telling you to enable them.

          1 Reply Last reply Reply Quote 0
          • brianlittlejohnB
            brianlittlejohn
            last edited by

            Have you disabled it, then re-enabled it.

            JaredBuschJ 1 Reply Last reply Reply Quote 0
            • JaredBuschJ
              JaredBusch @brianlittlejohn
              last edited by

              @brianlittlejohn said:

              Have you disabled it, then re-enabled it.

              No, and I will not with a good reason to expect it to work. It obviously was not working right before, I do not want prior manual changes disabled that I will then be required to go back and manually again.

              1 Reply Last reply Reply Quote 0
              • brianlittlejohnB
                brianlittlejohn
                last edited by

                Found these for 2012R2

                Set-NetFirewallRule -DisplayGroup 'Windows Management Instrumentation (WMI)' -Enabled true
                Set-NetFirewallRule -DisplayGroup 'Remote Event Log Management' -Enabled true
                Set-NetFirewallRule -DisplayName "Windows Firewall Remote Management (RPC)" -Enabled True
                Set-NetFirewallRule -DisplayName "Windows Firewall Remote Management (RPC-EPMAP)" -Enabled True

                JaredBuschJ 1 Reply Last reply Reply Quote 1
                • JaredBuschJ
                  JaredBusch @brianlittlejohn
                  last edited by

                  @brianlittlejohn said:

                  Found these for 2012R2

                  Set-NetFirewallRule -DisplayGroup 'Windows Management Instrumentation (WMI)' -Enabled true
                  Set-NetFirewallRule -DisplayGroup 'Remote Event Log Management' -Enabled true
                  Set-NetFirewallRule -DisplayName "Windows Firewall Remote Management (RPC)" -Enabled True
                  Set-NetFirewallRule -DisplayName "Windows Firewall Remote Management (RPC-EPMAP)" -Enabled True

                  This was it.

                  Set-NetFirewallRule -DisplayName "Windows Firewall Remote Management" -Enabled True

                  1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch
                    last edited by

                    Here is a list that seems to work.

                    Taken from this old tech net post

                    http://blogs.technet.com/blogfiles/askds/WindowsLiveWriter/HowtoEnableRemoteAdministrationofServerC_FEE9/clip_image002_thumb.jpg

                    1 Reply Last reply Reply Quote 1
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      Today I tried to use computer management snap in form one of my DC's to check the status of a Hyper-V server that I racked three months ago.

                      I apparently forgot to setup remote management that day (not surprising because I was in a hurry to get in and out of the colo).

                      Well as soon as I got the error, i ran the command I ran above that worked last time. It failed.

                      Today I had to use the updated commands for Server 2012 R2.

                      I have a feeling this must have been addressed in a Windows update, but I do not have a Hyper-V system to test on.

                      1 Reply Last reply Reply Quote 0
                      • JaredBuschJ
                        JaredBusch
                        last edited by

                        Also of note, the original command from the first post does still not work.

                        1 Reply Last reply Reply Quote 1
                        • 1 / 1
                        • First post
                          Last post