Enable the Active Directory Recycle Bin in Windows Server 2012 R2
By Vladimir Mikhalev · Solutions Architect · Docker Captain · IBM Champion
This article is for those looking for a detailed and clear guide on how to enable the Active Directory Recycle Bin in Windows Server 2012 R2.
The Active Directory Recycle Bin is designed to recover deleted Active Directory objects and can be of great help to an administrator if he accidentally deleted a large number of user accounts.
IMPORTANTIn this guide, we will consider the case when you already have a server with the Windows Server 2012 R2 operating system installed on it.
For details on installing Windows Server 2012 R2, read my guide: Install Windows Server 2012 R2.
NOTETo learn how to install Active Directory Domain Services on Windows Server 2012 R2, read: Install Active Directory Domain Services on Windows Server 2012 R2.
By default, the Active Directory Recycle Bin is disabled.
To enable the Active Directory Recycle Bin, open “Server Manager”, click on “Tools” in the upper right corner of the screen and select “Active Directory Administrative Center”.

In the menu on the left, select the section with your domain, then in the menu on the right, click on the “Enable Recycle Bin” button.

Now you need to confirm enabling the Active Directory Recycle Bin.
NOTEIt will not be possible to disable the Active Directory Recycle Bin in the future.
Click on the “OK” button.

The Active Directory Recycle Bin process has started.
Next, you need to update the information in the “Server Manager” and wait for a little while all the domain controllers in the Active Directory forest get the information about enabling the Active Directory Recycle Bin.
Click on the “OK” button.

In the “Server Manager” click on the arrow icon in the upper right corner of the screen and wait for the information to be updated in the section with your domain.

After updating the information in the “Server Manager” in the section with your domain, a new container “Deleted Objects” will appear.

Now let’s delete the user account and try to restore it from the Active Directory Recycle Bin.
Go to the “Users” container and select a user account, then click on the “Delete” button in the menu on the right.

Now you need to confirm the deletion of the user account.
Click on the “OK” button.

To restore a deleted user account, you need to go to the “Deleted Objects” container and select the user account that you want to restore, then click on the “Restore” button in the menu on the right.
NOTEObjects can only be restored during their lifetime, which by default is 180 days.

The user account was successfully restored and reappeared in the Users container.

Related Posts
- 1Recovering a Corrupt Exchange Database with Stellar Repair — Real-World Lab TestSysAdmin & IT Pro · We deliberately broke an Exchange 2019 server to see if Stellar Repair for Exchange could recover a dirty-shutdown EDB file. Step-by-step recovery process, lab setup, and lessons learned.
- 2Distinctions Between Terminal, Command Line, Shell, and PromptSysAdmin & IT Pro · Learn the differences between terminal, command line, shell, and prompt in Linux. A beginner-friendly guide to essential CLI concepts and tools.
- 3Install Ubuntu Server 22.04 LTSSysAdmin & IT Pro · Step-by-step guide to install Ubuntu Server 22.04 LTS. Covers language, disk setup, OpenSSH, user creation, and system configuration for beginners.
- 4Install OTRS on Ubuntu ServerSysAdmin & IT Pro · Comprehensive guide to installing OTRS Community Edition on Ubuntu Server. Learn to configure PostgreSQL, Apache, SSL with Let's Encrypt, and launch OTRS securely.
Random Posts
- 1Configure Exchange Server 2010SysAdmin & IT Pro · Complete guide to configuring Exchange Server 2010. Learn mailbox setup, certificates, DNS, email policies, and secure mail delivery—step by step.
- 2The AI Era — From Technology to Global DominationAI & MLOps · Exploring a future where AI controls all aspects of life, redefining global governance and social interactions.
- 3Recovering a Corrupt Exchange Database with Stellar Repair — Real-World Lab TestSysAdmin & IT Pro · We deliberately broke an Exchange 2019 server to see if Stellar Repair for Exchange could recover a dirty-shutdown EDB file. Step-by-step recovery process, lab setup, and lessons learned.
- 4Install Outline and Keycloak Using Docker ComposeSelf-Hosting · Deploy Outline with Keycloak SSO, Traefik, and MinIO on Ubuntu using Docker Compose. A complete, secure wiki setup with SSL, access control, and cloud storage.