{"id":10037,"date":"2015-10-07T15:15:27","date_gmt":"2015-10-07T22:15:27","guid":{"rendered":"https:\/\/www.sapien.com\/blog\/?p=10037"},"modified":"2015-10-07T15:15:27","modified_gmt":"2015-10-07T22:15:27","slug":"wmi-explorer-windows-8-remote-connection-issues","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2015\/10\/07\/wmi-explorer-windows-8-remote-connection-issues\/","title":{"rendered":"WMI Explorer Windows 8 Remote Connection Issues"},"content":{"rendered":"<p>Connecting WMI Explorer to a remote Windows 8 computer is not an easy task. Due to the various firewall and permission settings that Windows 8 has, there are a few things that need to be modified in order to connect properly. Please note that this article only addresses Windows 8 and 8.1 but not Windows 10. We will examine the necessary modifications for Windows 10 at a later time.<\/p>\n<p>The first step is to enable Remote Admin on the computer you\u2019re connecting to. You can do this two different ways, through the command line interface (CLI) or the Windows Firewall GUI. I find the easiest way is to simply type the following in a command console with administrator rights: <\/p>\n<p><b>netsh firewall set service RemoteAdmin enable <\/b><\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"476\" title=\"1\" style=\"float: none; display: inline; background-image: none;\" alt=\"1\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/1_thumb.png\" border=\"0\"><\/a><\/p>\n<p>When you press enter, you should get something like the above image where PowerShell lets you know this is deprecated and you should use the more up to date method with <b>netsh advfirewall firewall.<\/b> The only downside to the newer <b>netsh advfirewall firewall <\/b>method is it turns into a much longer command that is tougher to remember: <b>netsh advfirewall firewall set rule group=\u201cremote desktop\u201d new enable=Yes<\/b><\/p>\n<p>After enabling RemoteAdmin, it\u2019s on to the DCOM permissions. To change these you need to open <b>dcomcnfg <\/b>by typing <b>dcomcnfg<\/b> into a command console or from the run dialog (Win + R). When it opens, you should see a window that looks like this:<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"453\" title=\"2\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"2\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/2_thumb.png\" border=\"0\"><\/a><\/p>\n<p>Open the <b>Computers<\/b> folder, right click on <b>My Computer<\/b>, and then select properties. A dialog should appear with a few tabs at the top and you\u2019re looking for the <b>COM Security <\/b>tab.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/3.png\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"150\" title=\"3\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"3\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/3_thumb.png\" border=\"0\"><\/a><\/p>\n<p>In this tab there are two sections, the <b>Access Permissions<\/b>, and the <b>Launch and Activation Permissions<\/b>. Both of them need to be modified, but we\u2019ll start with Access Permissions by clicking <b>Edit Limits\u2026<\/b><\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/clip_image006.png\"><img loading=\"lazy\" decoding=\"async\" width=\"348\" height=\"484\" title=\"clip_image006\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"clip_image006\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/clip_image006_thumb.png\" border=\"0\"><\/a><\/p>\n<p>Verify that <b>Everyone<\/b> has the <b>Remote Access<\/b> permission enabled and then press OK. <\/p>\n<p>(<i>Please note that we used <b>Everyone <\/b>for simplicity but for security purposes, you may want to limit this to specific users or groups.)<\/i><\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"391\" height=\"484\" title=\"5\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"5\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/5_thumb.png\" border=\"0\"><\/a><\/p>\n<p>After pressing OK, move on to the second section and select <b>Edit Limits\u2026<\/b> in the <b>Launch and Activation Permissions <\/b>area.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"348\" height=\"484\" title=\"6\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"6\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/6_thumb.png\" border=\"0\"><\/a><\/p>\n<p>Verify that <b>Everyone<\/b> has<b> Remote Launch <\/b>and <b>Remote Activation<\/b> permissions, and then press OK.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/10.png\"><img loading=\"lazy\" decoding=\"async\" width=\"391\" height=\"484\" title=\"10\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"10\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/10_thumb.png\" border=\"0\"><\/a><\/p>\n<p>By this point there\u2019s only one final step until we should be able to connect and that\u2019s the WMI Namespace permissions. To get there you can type <b>wmimgmt.msc<\/b> into either a command console or the run box (Win + R). When that opens, right click on <b>WMI Control (Local)<\/b> and select properties. The following dialog should appear, and we want to navigate to the <b>Security<\/b> tab.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"434\" height=\"484\" title=\"7\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"7\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/7_thumb.png\" border=\"0\"><\/a><\/p>\n<p>Select <b>Security <\/b>and then click <b>Advanced<\/b> in the bottom right. When the window opens, select <b>Authenticated Users<\/b> and then <b>Edit<\/b>. <\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/8.png\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"436\" title=\"8\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"8\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/8_thumb.png\" border=\"0\"><\/a><\/p>\n<p>The only permission required is <b>Remote Enable<\/b> so verify that it is enabled and then press OK and Apply until you close all open windows.<\/p>\n<p><a href=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/9.png\"><img loading=\"lazy\" decoding=\"async\" width=\"644\" height=\"416\" title=\"9\" style=\"margin-right: auto; margin-left: auto; float: none; display: block; background-image: none;\" alt=\"9\" src=\"https:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2015\/10\/9_thumb.png\" border=\"0\"><\/a><\/p>\n<p>After enabling the final permission, you should be able to connect without any issues. If for some reason you cannot connect after following these steps, try looking at the following links from Microsoft as they go into other possible solutions. <\/p>\n<p>\u00b7 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa389286(v=vs.85).aspx\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa389286(v=vs.85).aspx<\/a><\/p>\n<p>\u00b7 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa393266(v=vs.85).aspx\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa393266(v=vs.85).aspx<\/a><\/p>\n<p>\u00b7 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa822854(v=vs.85).aspx\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa822854(v=vs.85).aspx<\/a><\/p>\n<p>\u00b7 <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa393613(v=vs.85).aspx\">https:\/\/msdn.microsoft.com\/en-us\/library\/aa393613(v=vs.85).aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Connecting WMI Explorer to a remote Windows 8 computer is not an easy task. Due to the various firewall and permission settings that Windows 8 has, there are a few things that need to be modified in order to connect properly. Please note that this article only addresses Windows 8 and 8.1 but not Windows [&hellip;]<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2,283,833],"tags":[1000,686,899,997,35,1020],"class_list":["post-10037","post","type-post","status-publish","format-standard","hentry","category-general","category-howto","category-wmi-explorer","tag-howto","tag-windows-8","tag-windows-8-1","tag-windows-powershell","tag-wmi","tag-wmi-explorer"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/10037","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=10037"}],"version-history":[{"count":1,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/10037\/revisions"}],"predecessor-version":[{"id":10038,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/10037\/revisions\/10038"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=10037"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=10037"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=10037"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}