{"id":15856,"date":"2014-01-02T13:14:00","date_gmt":"2014-01-02T13:14:00","guid":{"rendered":"https:\/\/aidanfinn.com\/?p=15856"},"modified":"2014-01-02T13:14:00","modified_gmt":"2014-01-02T13:14:00","slug":"kb2761899-hyper-v-vmms-fails-when-dynamicportrange-is-changed-on-ws2012","status":"publish","type":"post","link":"https:\/\/aidanfinn.com\/?p=15856","title":{"rendered":"KB2761899 &#8211; Hyper-V VMMS Fails When Dynamicportrange Is Changed On WS2012"},"content":{"rendered":"<p>Microsoft released a <a href=\"http:\/\/support.microsoft.com\/kb\/2761899\/\" target=\"_blank\">KB article<\/a> for when the Hyper-V Virtual Machine Management Service (VMMS) fails and event ID 14050 is logged after dynamicportrange is changed in Windows Server 2012. Note that the VMMS is a service that runs in the Management OS of a Hyper-V host and provides the WMI API to manage Hyper-V and the VMs running on that host.<\/p>\n<blockquote>\n<p><strong><u>Symptoms<\/u><\/strong><\/p>\n<p>Assume that you have a computer that is running Windows Server 2012 with Hyper-V installed. If you try to manage the Hyper-V hosts either by using System Center Virtual Machine Manager 2012 Service Pack 1 (SP1) or remotely by using Hyper-V Manager, the attempt fails. Additionally, an event may be logged in the event log that resembles the following:<\/p>\n<pre>Log Name: Microsoft-Windows-Hyper-V-VMMS-Admin\nSource: Microsoft-Windows-Hyper-V-VMMS\nDate: &lt;Date&gt; &lt;Time&gt;\nEvent ID: 14050\nLevel: Error\nDescription: Failed to register service principal name.\nEvent Xml: \u2026\n&lt;Parameter0&gt;Hyper-V Replica Service&lt;\/Parameter0&gt;<\/pre>\n<p><strong><u><\/u><\/strong><\/p>\n<p><strong><u>Cause<\/u><\/strong><\/p>\n<p>This problem may occur if the TCP dynamic port range is out of the default range. The Virtual Management Service (Vmms.exe) of Hyper-V uses Windows Service Hardening, and it limits itself to the dynamic port range.<br \/>\n    <br \/>To determine the TCP dynamic port range, run the following command at an elevated command prompt:<\/p>\n<pre>C:&gt;netsh int ipv4 show dynamicportrange tcp\nProtocol tcp Dynamic Port Range\n---------------------------------\nStart Port      : 49152\nNumber of Ports : 16384<\/pre>\n<p>This problem may also occur if the NTDS port has been restricted to a specific port on your domain controllers. If this selected NTDS port is not within the default ranges, you must add this port by running the script in the &quot;Resolution&quot; section on every Hyper-V host.<br \/>\n    <br \/>For more information, click the following article number to go to the article in the Microsoft Knowledge Base:<\/p>\n<p><strong><u>Resolution<\/u><\/strong><\/p>\n<p>Run the script from the original <a href=\"http:\/\/support.microsoft.com\/kb\/2761899\" target=\"_blank\">KB article<\/a> on each affected host. This script adds a custom port range to enable Vmms.exe to communicate over an additional port range of 9000 to 9999<\/p>\n<\/blockquote>\n<div id=\"scid:0767317B-992E-4b12-91E0-4F059A8CECA8:ce369778-e78b-4ba6-84f6-f025fecc58d4\" class=\"wlWriterEditableSmartContent\" style=\"float: none; padding-bottom: 0px; padding-top: 0px; padding-left: 0px; margin: 0px; display: inline; padding-right: 0px\">Technorati Tags: <a href=\"http:\/\/technorati.com\/tags\/Hyper-V\" rel=\"tag\">Hyper-V<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Windows+Server+2012\" rel=\"tag\">Windows Server 2012<\/a>,<a href=\"http:\/\/technorati.com\/tags\/Virtualisation\" rel=\"tag\">Virtualisation<\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Microsoft released a KB article for when the Hyper-V Virtual Machine Management Service (VMMS) fails and event ID 14050 is logged after dynamicportrange is changed in Windows Server 2012. Note that the VMMS is a service that runs in the Management OS of a Hyper-V host and provides the WMI API to manage Hyper-V and &hellip; <a href=\"https:\/\/aidanfinn.com\/?p=15856\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;KB2761899 &#8211; Hyper-V VMMS Fails When Dynamicportrange Is Changed On WS2012&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[20],"tags":[181,195,118],"class_list":["post-15856","post","type-post","status-publish","format-standard","hentry","category-hyper-v","tag-hyper-v","tag-virtualisation","tag-windows-server-2012"],"aioseo_notices":[],"jetpack_featured_media_url":"","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15856","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15856"}],"version-history":[{"count":0,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=\/wp\/v2\/posts\/15856\/revisions"}],"wp:attachment":[{"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15856"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15856"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aidanfinn.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15856"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}