{"id":123,"date":"2021-12-06T17:10:27","date_gmt":"2021-12-06T17:10:27","guid":{"rendered":"https:\/\/12stick.de\/?page_id=123"},"modified":"2022-12-13T21:49:37","modified_gmt":"2022-12-13T21:49:37","slug":"steps-to-go-short-track","status":"publish","type":"page","link":"https:\/\/www.12beAdmin.com\/?page_id=123","title":{"rendered":"Steps to go &#8211; Short Track"},"content":{"rendered":"\n<ul class=\"wp-block-list\">\n<li>Edit&nbsp;<em>SearchBase.xml&nbsp;<\/em>to define the OU (Searchbase) where to find your computeraccounts and where to save the created users and groups.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create users and groups for each system you want to manage. This can be done by script&nbsp;<em>Task-BulkCreation-AdminGroups_and_AdminUsers.ps1<\/em>. The script will create a global group and a user for each system in&nbsp;<em>SearchBase.xml<\/em>&nbsp;using this pattern:&nbsp;<em>computername-admins<\/em>&nbsp;for groups and&nbsp;<em>computername-admin<\/em>&nbsp;for users , e.g. PC-12345-admins and PC-12345-admin.<br><br>The script will also add PC-12345-admin as a member of PC-12345-admins. You can run the script as a task to automatically create groups and users for newly domain joined systems. It will also remove groups and users, if the machine no longer exists in the scope of the searchbase.<\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Create a group policy object that integrates the&nbsp;<em>computername-admins<\/em>&nbsp;into&nbsp;<em>Administrators<\/em>&nbsp;on every computer you want to manage.<br><br><strong style=\"font-size: inherit; background-color: var(--base); color: var(--contrast);\">Computerconfiguration\\Preferences\\Control Panel Items\\Local Users and Groups -&gt; New Group -&gt; Update: Administrators (BuiltIn) -&gt; Member Add -&gt; %computername%-Admins<\/strong><span style=\"font-size: inherit; background-color: var(--base); color: var(--contrast);\">&nbsp;<\/span><br>Use the System variable&nbsp;<strong>%computername%<\/strong>. Each system itself will resolve this variable and uses its own hostname. It searches automatically for a group in AD.<br><br>The GPO will work similar to the CLI command&nbsp;<code>net localgroup Adminstrators %computername%-Admins \/add<\/code><\/li>\n<\/ul>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Run\u00a0<code>12beAdmin.ps1<\/code>. <br>In case you want to hide the powershell command window create a shortcut on your desktop, run\u00a0<code>powershell.exe -WindowStyle Hidden _yourpath_\\12beAdmin\\12beAdmin.ps1<\/code>\u00a0and change the icon of the shortcut.<br>Hiding the PoSH window will hide error messages aswell.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-123","page","type-page","status-publish"],"_links":{"self":[{"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=\/wp\/v2\/pages\/123","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=123"}],"version-history":[{"count":7,"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=\/wp\/v2\/pages\/123\/revisions"}],"predecessor-version":[{"id":252,"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=\/wp\/v2\/pages\/123\/revisions\/252"}],"wp:attachment":[{"href":"https:\/\/www.12beAdmin.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=123"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}