{"id":623,"date":"2016-12-02T16:47:32","date_gmt":"2016-12-02T16:47:32","guid":{"rendered":"http:\/\/www.itcrumbs.com\/?p=623"},"modified":"2019-02-07T04:38:48","modified_gmt":"2019-02-07T04:38:48","slug":"netsh-int-ip-reset-says-access-denied","status":"publish","type":"post","link":"https:\/\/www.itcrumbs.com\/?p=623","title":{"rendered":"Netsh int ip reset says access denied"},"content":{"rendered":"<pre><a title=\"http:\/\/davidvielmetter.com\/tricks\/netsh-int-ip-reset-says-access-denied\/\" href=\"http:\/\/davidvielmetter.com\/tricks\/netsh-int-ip-reset-says-access-denied\/\">http:\/\/davidvielmetter.com\/tricks\/netsh-int-ip-reset-says-access-denied\/<\/a><\/pre>\n<pre>netsh int ip reset c:\\resetlog.txt<\/pre>\n<p>The command must be run in an elevated command prompt windows (WIN+X) and it can be destructive in terms of IPv4 info set on an adapter, so\u2026like don\u2019t run it remotely on a server with a static IP.<\/p>\n<p>I digress. The issue I\u2019m really getting to is related to Homegroup membership and the Windows 10 upgrade. I found that if you\u2019re upgrading from Windows 7 to Windows 10 and the original system you\u2019re upgrading was joined to a homegroup, then the upgraded system might have issues with the TCP\/IP stack (I.e. obtaining an IP address via DHCP).<\/p>\n<p>I spent hours troubleshooting this on several freshly upgraded systems running Windows 10 that couldn\u2019t connect to the network because they couldn\u2019t obtain an IP from the DHCP server. All machines exhibited the same issue and all machines were previously joined to a homegroup (not a domain). Here are the symptoms:<\/p>\n<ol>\n<li>The system is upgraded from Windows 7 to Windows 10 build 1511 and works as expected but cannot obtain an IP address via Ethernet or Wi-Fi.\n<li>The system works normally if a static IP is assigned.\n<li>Resetting the TCP\/IP stack results in the following information:<br \/><em>netsh int ipv4 reset<\/em><br \/><em>Resetting interface, OK!<\/em><br \/><em>Resetting Unicast Address, OK!<\/em><br \/><em>Resetting Neighbor, OK!<\/em><br \/><em>Resetting Path, OK!<\/em><br \/><em>Resetting , failed.<\/em><br \/><em>Access is denied.Resetting , OK!<\/em><br \/><em>Restart the computer to complete this action<\/em><\/li>\n<\/ol>\n<p>In essence having had the systems joined to a homegroup somehow messed up the TCP\/IP stack in windows 10 after the upgrade to the point that the system cannot obtain an IP address from DHCP. Here\u2019s how to fix the issue:<\/p>\n<ol>\n<li>Open Regedit.\n<li>Navigate to <strong>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Nsi<\/strong> and expand that folder.\n<li>Expand the subfolder named <strong>{eb004a00-9b1a-11d4-9123-0050047759bc}<\/strong> and right-click the subfolder named <strong>26<\/strong>. Select <strong>Permissions\u2026<\/strong> and ensure that for <strong>Everyone<\/strong> the <strong>Full Control<\/strong> box is checked.\n<li><img loading=\"lazy\" decoding=\"async\" alt=\"change_network_key_permission_registry_editor\" src=\"http:\/\/davidvielmetter.com\/wp-content\/uploads\/2016\/11\/Change_Network_Key_Permission_Registry_Editor-300x149.png\" width=\"300\" height=\"149\">\n<li>Press <strong>WIN+X<\/strong> to open a command prompt with elevated permissions. Type <strong>netsh int ip reset<\/strong> and hit enter. Now you should see the following results:<br \/><em>Resetting , OK!<\/em><em>Restart the computer to complete this action<\/em>\n<li>Reboot the system.<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>http:\/\/davidvielmetter.com\/tricks\/netsh-int-ip-reset-says-access-denied\/ netsh int ip reset c:\\resetlog.txt The command must be run in an elevated command prompt windows (WIN+X) and it can be destructive in terms of IPv4 info set on an adapter, so\u2026like don\u2019t run it remotely on a server with a static IP. I digress. The issue I\u2019m really getting to is related to [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-623","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=623"}],"version-history":[{"count":1,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/623\/revisions"}],"predecessor-version":[{"id":624,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=\/wp\/v2\/posts\/623\/revisions\/624"}],"wp:attachment":[{"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.itcrumbs.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}