{"id":9687,"date":"2017-06-15T10:08:22","date_gmt":"2017-06-15T09:08:22","guid":{"rendered":"http:\/\/www.itwriting.com\/blog\/?p=9687"},"modified":"2017-06-15T10:08:22","modified_gmt":"2017-06-15T09:08:22","slug":"how-to-remove-the-wins-server-feature-from-windows-server","status":"publish","type":"post","link":"https:\/\/www.itwriting.com\/blog\/9687-how-to-remove-the-wins-server-feature-from-windows-server.html","title":{"rendered":"How to remove the WINS server feature from Windows Server"},"content":{"rendered":"<p>The WINS service is not needed in most Windows networks but may be running either for legacy reasons, or because someone enabled it in the hope that it might fix a network issue.<\/p>\n<p>It is now apparently a security risk. See <a href=\"https:\/\/blog.fortinet.com\/2017\/06\/14\/wins-server-remote-memory-corruption-vulnerability-in-microsoft-windows-server\" target=\"_blank\">here<\/a> and Reg article <a href=\"https:\/\/www.theregister.co.uk\/2017\/06\/15\/its_2017_and_someones_probably_still_using_wins_naming_if_so_stop\/\" target=\"_blank\">here<\/a>.<\/p>\n<p>Apparently Microsoft says \u201cwon\u2019t fix\u201d despite the service still being shipped in Server 2016, the latest version:<\/p>\n<blockquote>\n<p>In December 2016, FortiGuard Labs discovered and reported a WINS Server remote memory corruption vulnerability in Microsoft Windows Server. In June of 2017, Microsoft replied to FortiGuard Labs, saying, &quot;a fix would require a complete overhaul of the code to be considered comprehensive. The functionality provided by WINS was replaced by DNS and Microsoft has advised customers to migrate away from it.&quot; That is, Microsoft will not be patching this vulnerability due to the amount of work that would be required. Instead, Microsoft is recommending that users replace WINS with DNS.<\/p>\n<\/blockquote>\n<p>It should be removed then. I noticed it was running on a server in my network, running Server 2012 R2, and that although it was listed as a feature in Server Manager, the option to remove it was greyed out.<\/p>\n<p>I removed it as follows:<\/p>\n<p>1. Stop the WINS service and set it to manual or disabled.<\/p>\n<p>2. Remove the WINS option in DHCP Scope Options if it is present.<\/p>\n<p>3. Run PowerShell as an administrator and execute the following command:<\/p>\n<blockquote>\n<p>uninstall-windowsfeature wins<\/p>\n<\/blockquote>\n<p>This worked first time, though a restart is required.<\/p>\n<p>Incidentally, if Microsoft ships a feature in a Server release, I think it should be kept patched. No doubt the company will change its mind if it proves to be an issue.<\/p>\n<p><strong>Note<\/strong>: you can also use remove-windowsfeature which is an alias for uninstall-windowsfeature. You do need Windows Server 2008 R2 or higher for this to work.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WINS service is not needed in most Windows networks but may be running either for legacy reasons, or because someone enabled it in the hope that it might fix a network issue. It is now apparently a security risk. See here and Reg article here. Apparently Microsoft says \u201cwon\u2019t fix\u201d despite the service still &hellip; <a href=\"https:\/\/www.itwriting.com\/blog\/9687-how-to-remove-the-wins-server-feature-from-windows-server.html\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">How to remove the WINS server feature from Windows Server<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[60],"tags":[810,996,1029],"class_list":["post-9687","post","type-post","status-publish","format-standard","hentry","category-notes-from-the-field","tag-security","tag-windows","tag-wins"],"_links":{"self":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/9687","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/comments?post=9687"}],"version-history":[{"count":0,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/posts\/9687\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/media?parent=9687"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/categories?post=9687"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itwriting.com\/blog\/wp-json\/wp\/v2\/tags?post=9687"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}