Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
Windows Server

Active Directory Domain Services 2008 : Delete an Organizational Unit

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
5/21/2012 4:53:52 PM

Scenario/Problem: Your company has an empty OU that is no longer required.

Solution: Delete an OU by using the Windows interface or the command line.

Delete an Organizational Unit by Using the Windows Interface

To delete an OU by using the Windows interface, perform the following steps:

1.
Log on to a domain controller or a member computer that has Windows Server 2008 RSAT installed.

2.
Click Start, click Administrative Tools, and then click Active Directory Users and Computers.

3.
In the console tree, right-click the OU you want to delete and select Delete.

4.
On the confirmation screen to delete the OU, shown in Figure 1, click Yes.

Figure 1. Deleting an OU using the Windows interface.


Deleting OUs in Windows Server 2008

In Windows Server 2008, the option to protect an OU from accidental deletion is selected by default when the OU is created using Active Directory Users and Computers. If you need to delete an OU, you must ensure that the object is not protected from accidental deletion before it can be deleted.


Delete an Organizational Unit by Using the Command Line

To delete an OU by using the command line, perform the following steps:

1.
Log on to a domain controller.

2.
Click Start, and click Command Prompt.

3.
In the Command Prompt window, type the following command and press Enter:

Dsrm "OU=Boston,DC=WS08DOMAIN01,DC=local"

(where "OU=Boston,DC=WS08DOMAIN01,DC=local" is the distinguished name of the OU you want to delete).

4.
Type Y on the confirmation to delete the OU and press Enter.

5.
Verify that the results of the dsrm command entered above returns dsrm succeeded, as shown in Figure 2.

Figure 2. Deleting an OU using the command line.
Other -----------------
- SQL Server 2008 : Physical server design - Disk configuration (part 2) - Validating disk storage performance and integrity
- SQL Server 2008 : Physical server design - Disk configuration (part 1) - Creating and aligning partitions
- Using Microsoft Content Management Server to Display SharePoint Content (part 3)
- Using Microsoft Content Management Server to Display SharePoint Content (part 2) - Limitations of the MCMS Connector for SharePoint
- Using Microsoft Content Management Server to Display SharePoint Content (part 1) - The MCMS Connector for SharePoint Technologies
- System Center Configuration Manager 2007 : Status Messages and Logs (part 3) - Viewing Intersite Replication
- System Center Configuration Manager 2007 : Status Messages and Logs (part 2) - Joining a Site to a New Parent
- System Center Configuration Manager 2007 : Status Messages and Logs (part 1)
- Recovering from a Disaster in an Exchange Server 2007 Environment : Using the Recovery Storage Group in Exchange Server 2007 & Recovering Internet Information Services
- Recovering from a Disaster in an Exchange Server 2007 Environment : Recovering from Database Corruption
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server