Is it safe to rename and remove an OU?

Grace Yin 116 Reputation points
2020-07-28T06:00:53.22+00:00

Hi,

I have Windows 2012 DC. I need to rename an OU. I wonder if it is safe to rename it. Will it impact anything?

I also need to remove a parent OU. For example, I have Computer OU, under Computer OU I have Workstation OU, under Workstation OU I have Department A, Department B. I want to remove Workstation OU, put Department A, Department B OU under Computer OU directly. Is it safe to move Department A, Department B under Computer OU and delete Workstation OU?

Need help!

Thanks,

Microsoft Security | Microsoft Entra | Microsoft Entra ID
0 comments No comments
{count} votes

Accepted answer
  1. Shashi Shailaj 7,631 Reputation points Microsoft Employee Moderator
    2020-07-30T16:37:22.037+00:00

    Hello @Grace Yin ,

    If you rename an OU , things will remain same apart from the fact that the inherited group policies that you have in the OU hierarchy will not apply to the computer accounts. It seems that you may have an extensive OU structure. If you would like to delete the Workstation OU or rename it you will need to make sure that any GPOs which were applying at the Workstation OU level are linked to the Computer OU becasue you would not want your applied group policies to break for the users computer devices in those OUs. Let me explain you with details.

    Lets say we have a directory called MS.LOCAL and have a Computer OU at the root level and then we have Workstation and DEP01 and DEP02 OUs within workstation OUs as per the below structure.

    14692-image.png

    And we want to move DEP01 to Computer OU . There are several group policies applied on these OUs as per the below structure. You can check this in the Group policy management console.
    14683-image.png

    If you go to the Group policy inheritance tab for the OU you want to move (in this case DEP01 ) in Group policy management (command - gpmc.msc) then you can see all the 4 policies being applied on the OU . You can see that GPO-EST-Computer is the policy which applies directly on the DEP01 OU and Default domain policy inherits from Computer OU and Citrix and Global GPO are inherited from Workstation. Let me move DEP01 directly under Computer OU.

    14702-image.png

    When I moved DEP01 to Computer , it will change the list of policies applied to the OUs and this will change the end user experience. AS you can see earlier the policies that were applying on the workstation OU are not being inherited anymore due to change in the OU structure and so the policies associated will also not apply. So As long as you understand what kind of policies you have setup , and if it will affect your users experience or not , you can surely go ahead with the movement.

    14600-image.png3

    I would suggest you need to check what all policies are setup at the Workstation level and how they affect the user experience. I do not have insights in your environment but I can safely say that you can unlink the policies from Workstation and link it to computer OU and that should be fine. But again there are many types of settings in Group policies and I would suggest you to get in touch with someone who had designed this or review the GPO design document for your AD domain to understand more before making any GPO level change.

    Hope the detailed explanation helps. Should you have any further queries , please let us know and we will be happy to help . If the information in the post is helpful , please do accept the post as answer so that it can help other community members searching for similar issues.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.