How to change the default location for new computer accounts in Active Directory
Published October 28, 2023 by Danny Moran
Table of Contents
Introduction
Learn how to change the default location for newly added domain devices from the default Computers container and redirect them to a custom organisational unit within Active Directory. In this example, I show you how to create a new organisational unit and then use the redircmp command to update the default location of newly added computer objects so that they get put into the custom organisational unit rather than the default Computers container. This change also enables us to apply group policies directly to this organisational unit and I show you how by creating a GPO to block logon to any devices in the staging OU and set a custom logon message to say the device needs to be moved to the correct OU.