Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

How to delete Organizational Unit in Active Directory

Posted on 19/11/202030/08/2026 Christian By Christian 2 Comments on How to delete Organizational Unit in Active Directory
  1. Home
  2. Windows Server
  3. How to delete Organizational Unit in Active Directory
Text graphic displaying 'Delete Organizational Unit' next to data storage server racks.

An organizational unit (OU) is a container within the Active Directory in which you can place users, groups, computer objects, and even nested OUs. You can create organizational units to mirror your organization’s functional or business structure. In this article, I will show you How to delete Organizational Unit in Active Directory. For some related content on Active Directory, see the following guides. Active Directory Authentication methods: Kerberos and NTLM, Concept of AD Computer Account, and how to install RSAT on Windows 10.

OU owners are data managers who control a subtree of objects in Active Directory Domain Services (AD DS). See the following article on how to create a contact in AD.

Active Directory is a directory system from Microsoft that can be installed on Windows Server. Active Directory is used by companies to store objects such as computers, users, groups etc in an AD environment. With the help of a directory system, the objects can be managed centrally and can grant access to other resources such as the file server.

Please see How to Create and Find Organisation Unit Paths in AD, how to Create Organisation Units, Service Accounts, and Active Directory Security Groups, and How to detect who disabled a user in Active Directory-Best Monitoring Tools and Software.

Delete a Container in Active Directory

To delete a container or OU, please follow the steps described below. Login to your domain controller or use RSAT. See some articles on RSAT. Navigate to Start, Administrative Tools, and Active Directory Users and Computers.

Alternatively, you can also launch this from the Tools menu under Server Manager. Locate the Organisation Unit you wish to delete. I will first try to delete it without disabling the protection so you could see the kind of error it will prompt.

Screenshot of the Active Directory Users and Computers interface in Server Manager, showing a context menu with the 'Delete' option highlighted.

Click on Yes. It will through an error afterwards because the OU is protected.

Active Directory Users and Computers window displaying a warning prompt about deleting the Organizational Unit named 'Service Accounts' with 'Yes' and 'No' options.

Please see how to Delete or Rename and Create a Protected Organisation Unit in AD, and How to add or delete users and set permissions in Azure Active Directory.

How to remove Protected OU in AD

As we can see, the OU cannot be deleted. This is because it is protected against accidental deletion.

Error message in Active Directory displaying insufficient privileges to delete Service Accounts.

To fix this issue, click on View on the menu bar, and then click on Advanced Features.

Menu options in Active Directory Users and Computers, highlighting the 'View' section with 'Advanced Features' selected.

Uncheck the Protect against accidental deletion

Navigate to the OU that you want to delete. Right-click on it and click on Properties. Now right-click on the OU and select the properties

Under the object tab, uncheck the "Protect against accidental deletion"
Active Directory Service Accounts Properties window showing details about the object including its canonical name, creation and modification dates, and an option to protect the object from accidental deletion.

As you can see, it has been unchecked “Protect from accidental deletion”.

Screenshot of Active Directory Users and Computers showing the properties of a service account, including its canonical name, creation and modification dates, object class, and an option to protect the object from accidental deletion.

Now proceed to delete the container once more. This time, no error message will be prompted.

Active Directory Users and Computers interface showing a confirmation dialog for deleting the Organizational Unit named 'Service Accounts'.

As we can see below, the OU has been deleted.

Screenshot of Active Directory Users and Computers interface displaying saved queries, domain structure, and container categories like Builtin, Computers, and Users.

I hope you found this blog post helpful on How to delete Organizational Unit in Active Directory. If you have any questions, please let me know in the comment session.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server Tags:Active Directory, Active Directory Domain Services, Windows Server 2016

Post navigation

Previous Post: The virtual machine has terminated unexpectedly during startup with exit code 1 (1×0): Failed to open a session for the virtual machine Windows Server 2019
Next Post: Enable Active Directory Recycle Bin: How to delete and restore objects using Active Directory Administrative Center

Related Posts

  • image 35
    How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
  • Keb
    How to configure a service account for Kerberos delegation Windows Server
  • Manage OU
    Delete or Rename and Create a Protected Organisation Unit in AD Windows Server
  • add or remove features on the specified server failed
    Error 0x80073701: The request to add or remove features on the specified server failed Windows Server
  • fhgjk
    Replicating MDT Deployment Share: How to Create a Selection Profile and Link MDT Deployment Shares Windows Server
  • Slide1 1
    How to manage Microsoft Defender Antivirus using Group Policy and Command Line Utility Anti-Virus Solution

More Related Articles

image 35 How to Activate and Press Ctrl+Alt+Del in Anydesk for Remote Access Connection to Windows system Windows
Keb How to configure a service account for Kerberos delegation Windows Server
Manage OU Delete or Rename and Create a Protected Organisation Unit in AD Windows Server
add or remove features on the specified server failed Error 0x80073701: The request to add or remove features on the specified server failed Windows Server
fhgjk Replicating MDT Deployment Share: How to Create a Selection Profile and Link MDT Deployment Shares Windows Server
Slide1 1 How to manage Microsoft Defender Antivirus using Group Policy and Command Line Utility Anti-Virus Solution

Comments (2) on “How to delete Organizational Unit in Active Directory”

  1. Avatar photo luvvalentio46 says:
    26/03/2024 at 11:42 AM

    Useful 🙂

    Log in to Reply
    1. chris Christian says:
      26/03/2024 at 11:45 AM

      Thank you for finding it useful.

      Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

veeaam100

Veeam Vanguard

  • how to install ms office 365 title
    How to complete Microsoft Office 365 Family Subscription Mac
  • FimageUbuntuUpgrade
    How to Upgrade From Ubuntu 20.04 LTS to 22.04 LTS Linux
  • VHDX resizing and veeam back
    Hyper V Disk allocation: Why Veeam reports full size after Shrinking Windows Server
  • oracle virtualbox
    Fix VirtualBox Virtual Machine Encountered a Non-Fatal problem Virtualization
  • VBR upgrade to 12.3.1
    Upgrade VBR to 12.3.1: Setup detected inconsistent configuration Backup
  • Enable Hyper V on Windows 11 Create a VM with PowerShell
    Run Hyper-V on Windows 11: Convert Physical PC to Hyper-V VM Virtualization
  • Uninstall MicrosoftDefenderUpdate
    What you need to know about Microsoft Defender Antivirus Security | Vulnerability Scans and Assessment
  • How to Set Up and Configure a Squid Proxy Server Linux

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,757 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.