{"id":1406,"date":"2016-03-16T12:54:53","date_gmt":"2016-03-16T19:54:53","guid":{"rendered":"http:\/\/jim-zimmerman.com\/?p=1406"},"modified":"2016-03-16T12:54:53","modified_gmt":"2016-03-16T19:54:53","slug":"grant-user-permission-to-unlock-active-directory-accounts","status":"publish","type":"post","link":"https:\/\/jim-zimmerman.com\/?p=1406","title":{"rendered":"Grant user permission to unlock Active Directory accounts."},"content":{"rendered":"<p>OS: Windows 2012 R2<\/p>\n<p>This is the command I used to grant a group permission to unlock accounts.<\/p>\n<blockquote><p>C:\\> DSACLS &#8220;<em>ou distinguished name<\/em>&#8221; \/i:s \/G &#8220;<em>group name<\/em>&#8220;:rpwp;LockOutTime;user<\/p><\/blockquote>\n<p>Example:<\/p>\n<blockquote><p>C:\\> DSACLS &#8220;<em>OU=MyOU,DC=MYDOMAIN,DC=MYTLD<\/em>&#8221; \/i:s \/G &#8220;<em>MYDOMAIN\\MYGROUP<\/em>&#8220;:rpwp;LockOutTime;user<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>OS: Windows 2012 R2 This is the command I used to grant a group permission to unlock accounts. C:\\> DSACLS &#8220;ou distinguished name&#8221; \/i:s \/G &#8220;group name&#8220;:rpwp;LockOutTime;user Example: C:\\> DSACLS &#8220;OU=MyOU,DC=MYDOMAIN,DC=MYTLD&#8221; \/i:s \/G &#8220;MYDOMAIN\\MYGROUP&#8220;:rpwp;LockOutTime;user<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[82,426,427],"class_list":["post-1406","post","type-post","status-publish","format-standard","hentry","category-documentation","tag-active-directory","tag-lock","tag-permission"],"share_on_mastodon":{"url":"","error":""},"_links":{"self":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1406","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1406"}],"version-history":[{"count":1,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions"}],"predecessor-version":[{"id":1407,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=\/wp\/v2\/posts\/1406\/revisions\/1407"}],"wp:attachment":[{"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1406"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1406"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jim-zimmerman.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1406"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}