{"id":11224,"date":"2026-02-09T10:00:42","date_gmt":"2026-02-09T10:00:42","guid":{"rendered":"https:\/\/cheapwindowsvps.com\/blog\/how-to-change-the-default-organizational-unit-for-new-computers-and-users-in-active-directory\/"},"modified":"2026-02-09T10:00:42","modified_gmt":"2026-02-09T10:00:42","slug":"how-to-change-the-default-organizational-unit-for-new-computers-and-users-in-active-directory","status":"publish","type":"post","link":"https:\/\/cheapwindowsvps.com\/blog\/how-to-change-the-default-organizational-unit-for-new-computers-and-users-in-active-directory\/","title":{"rendered":"How to Change the Default Organizational Unit for New Computers and Users in Active Directory"},"content":{"rendered":"<p>When a computer is joined to a domain using the System Properties GUI, its account is created in the default <strong>Computers<\/strong> container. This container is not an Organizational Unit (OU), meaning that it does not support Group Policy assignments, relying instead on root domain Group Policies like the Default Domain Policy. This setup can lead to security risks, as newly added computers may lack the necessary security policies until they are manually moved to appropriate OUs.<\/p>\n<p>To change the default OU for new computers, a domain admin can utilize the <code>redircmp.exe<\/code> command. First, check the current default container for new computers by executing:<\/p>\n<pre><code class=\"language-powershell\">Get-ADDomain | select ComputersContainer<\/code><\/pre>\n<p>This returns the current default container for newly created computer objects. To redirect this container to a specified OU, provide the distinguished name in the following format:<\/p>\n<pre><code class=\"language-powershell\">redircmp.exe &quot;OU=Workstations,OU=LA,DC=woshub,DC=com&quot;<\/code><\/pre>\n<p>Verify that the default container has changed by rerunning the earlier command.<\/p>\n<p>Similarly, the default container for user accounts can be checked with:<\/p>\n<pre><code class=\"language-powershell\">Get-ADDomain | select usersContainer<\/code><\/pre>\n<p>If a new user is created using the <code>New-ADUser<\/code> cmdlet without specifying a target OU, the account ends up in the default <code>CN=Users<\/code> container. To change the default OU for new user accounts, you can use the <code>redirusr.exe<\/code> command:<\/p>\n<pre><code class=\"language-powershell\">redirusr &quot;OU=Users,OU=LA,DC=woshub,DC=com&quot;<\/code><\/pre>\n<p>Both of these commands effectively change the target OUs for new computer and user accounts. However, previously created Active Directory objects will not move automatically and must be transferred manually using tools like the Active Directory Users and Computers (ADUC) snap-in or PowerShell.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When a computer is joined to a domain using the System Properties GUI, its account is created in the default Computers container. This container is not an Organizational Unit (OU), meaning that it does not support Group Policy assignments, relying instead on root domain Group Policies like the Default Domain Policy. This setup can lead [&hellip;]<\/p>\n","protected":false},"author":0,"featured_media":11225,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[97,117,121],"tags":[],"class_list":["post-11224","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-active-directory","category-powershell","category-windows-server-2025"],"_links":{"self":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11224","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"replies":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/comments?post=11224"}],"version-history":[{"count":0,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/posts\/11224\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media\/11225"}],"wp:attachment":[{"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/media?parent=11224"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/categories?post=11224"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cheapwindowsvps.com\/blog\/wp-json\/wp\/v2\/tags?post=11224"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}