{"id":78,"date":"2015-10-21T10:38:44","date_gmt":"2015-10-21T15:38:44","guid":{"rendered":"https:\/\/www.staging.javanator.org\/?p=78"},"modified":"2016-07-04T15:24:28","modified_gmt":"2016-07-04T20:24:28","slug":"determine-if-a-windows-machine-has-local-administrator-rights","status":"publish","type":"post","link":"https:\/\/www.staging.javanator.org\/?p=78","title":{"rendered":"Determine if a Windows Machine has Local Administrator rights"},"content":{"rendered":"<p>Use the command <code>net localgroup Administrators<\/code> to produce a list of all members of the <code>Administrators<\/code> group, then check if your user ID is in the list.<\/p>\n<p>In this example, the user in question is <code>OPR\\K2M6<\/code>.<\/p>\n<pre class=\"lang:default mark:1,11 decode:true \" >C:\\Users\\k2m6&gt;net localgroup Administrators\r\nAlias name     Administrators\r\nComment        Administrators of this workstation\r\n\r\nMembers\r\n\r\n-------------------------------------------------------------------------------\r\nG056\r\nOPR\\CDE_LTSAltClient_DLG\r\nOPR\\Domain Admins\r\nOPR\\K2M6\r\nOPR\\OPR_WKSAdmins_DLG\r\nOPR\\SMS2_INST_WKS_G\r\nOPR\\SVC_SMS2_CLTCFG_DLG\r\nThe command completed successfully.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Use the command net localgroup Administrators to produce a list of all members of the Administrators group, then check if your user ID is in the list. In this example, the user in question is OPR\\K2M6. C:\\Users\\k2m6&gt;net localgroup Administrators Alias name Administrators Comment Administrators of this workstation Members &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- G056 OPR\\CDE_LTSAltClient_DLG OPR\\Domain Admins OPR\\K2M6 OPR\\OPR_WKSAdmins_DLG &hellip; <a href=\"https:\/\/www.staging.javanator.org\/?p=78\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Determine if a Windows Machine has Local Administrator rights&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-78","post","type-post","status-publish","format-standard","hentry","category-windows"],"_links":{"self":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts\/78","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=78"}],"version-history":[{"count":2,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions"}],"predecessor-version":[{"id":80,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=\/wp\/v2\/posts\/78\/revisions\/80"}],"wp:attachment":[{"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=78"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=78"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.staging.javanator.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=78"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}