Windows puts newly joined computers and new users into built-in containers that Group Policy cannot reach. Two commands send them to your OUs instead.
New computers and users arrive where Group Policy applies.
Windows puts new objects in built-in containers that policies cannot reach.
Redirect the default containers to your OUs, then move what already exists.
Every name, address and value in this guide is an example. Replace them with your own.
Why this matters
Computers and Users in AD are containers, not OUs. You cannot link a policy to them. A PC that joins the domain and lands there gets no LAPS password and none of your policies until someone moves it.
Redirect new computers
redircmp "OU=CON-Workstations,OU=Contoso School,DC=ad,DC=contoso,DC=com"
New PCs now land in CON-Workstations, which carries the LAPS policy. Move each one into the staff or student OU afterwards.
Redirect new users
redirusr "OU=CON-Admins,OU=Contoso School,DC=ad,DC=contoso,DC=com"
Point new users at CON-Admins, which never syncs. An account someone creates in the wrong place then stays on site until you move it on purpose.
Done when
Both commands report "Redirection was successful", and Get-ADDomain | Select-Object ComputersContainer, UsersContainer shows your two OU paths.


