- Active Directory Administration Cookbook
- Sander Berkouwer
- 98字
- 2021-06-24 14:42:30
How to do it...
To modify the default location for new user and computer objects, we first need to create the OUs to which we want to redirect. I recommend creating two separate OUs to separate user objects from computer objects. Redirected Users OU and Redirected Computers OU would do nicely.
Then, on an elevated Command Prompt, run the following commands, replacing the values for your environment:
redirusr.exe "OU=Redirected Users OU,DC=LucernPub,DC=com"
redircmp.exe "OU=Redirected Computers OU,DC=LucernPub,DC=com"
If you ever need to change back, then the following two commands can be used:
redirusr.exe "CN=Users,DC=LucernPub,DC=com"
redircmp.exe "CN=Computers,DC=LucernPub,DC=com"