Steps to restore deleted Active Directory users using PowerShell
This article explains how to restore a deleted AD user account using PowerShell and RecoveryManager Plus, the Active Directory backup and recovery tool. The GUI-based RecoveryManager Plus makes it easy for any administrator to restore deleted user accounts in a few simple clicks, without having to write a single line of PowerShell script.
Windows PowerShell
Steps to restore deleted user objects using PowerShell:
- Note: You have to enable Active Directory Recycle Bin before you can restore deleted objects using PowerShell. Once enabled, Recycle Bin cannot be disabled.
- Step 1: Identify the distinguished name of the user object to be restored by executing the following PowerShell script.
- Step 2: Execute the following script to restore the deleted user object.
Sample script:
Sample script:
RecoveryManager Plus
Steps to restore deleted user objects using RecoveryManager Plus:
- Step 1: Navigate to Active Directory > Active Directory Objects > Quick Recovery > Deleted Objects.
- Step 2: Select the user object you wish to restore and click Restore.
Screenshot
That’s all it takes. No PowerShell scripting. Easy, GUI-based point-and-click restore for user objects with advanced options such as advanced search and automatic membership restoration.
Limitations of using PowerShell to restore deleted AD user accounts:
- The native AD Recycle Bin has to be enabled for user restoration using PowerShell. It isMultiple users cannot be restored simultaneously. not possiblIf the deleted user account was present in an OU which has also been deleted, the OU has to be restored before the user account can be restored. i>
Overcome the limitations of PowerShell by using
RecoveryManager Plus to restore deleted objects
Thank you for downloading!
Your download should begin automatically in 15 seconds. If not, click here to download manually.

