Home » 2015 » February

Monthly Archives: February 2015

Translate:

Archives

Restoring Active Directory Deleted objects using LDP.exe without Backup Software

In the previous blog we were discussing about Accessing Active Directory Information using ldp.exe.

 

Today let’s talk about Restoring the Deleted Object using ldp.exe

 

I have user “Test9” and it got deleted.

ADLDP1

So now I would like to restore or recover it using ldp.exe

As discussed in the last post, launch ldp.exe

This tool can be run either “Run Window or from the Command Prompt”

 

From Run Window

ADLDP2

OR

From Command Prompt

ADLDP3

 

New Window will Popup as shown below:

ADLDP4

 

Click on Connections Tab -> Click Connect

ldp4

Specifying the Server you want to connect

ldp5

 

Press OK

Now go back to Connections Tab -> click Bind as shown below:

ADLDP5

 

 

Select either option 1 “Bind as currently logged on user” or option 2 “Bind with Credentials”.

ADLDP6

 

Press OK

User got Authenticated as shown below:

ADLDP7

 

Select the Tab “Options” in the Menu bar and Select “Controls”

ADLDP8

 

New popup window opened as shown below:

ADLDP9

 

Under the Active Controls -> Select the Load Predefined -> And Select “Return Deleted Objects”

ADLDP10

 

You will get the Guid ID under Active Controls for the Deleted Object

ADLDP11

 

Click OK

In the Menu Bar Select View and Select Tree

ADLDP12

 

In the Base DN select Domain Partition

ADLDP13

 

Click OK

Expand the Root Tab and Select Deleted Object -> Right Click and Click Modify

ADLDP14

 

Right Click on the Deleted User and Click Modify as shown below:

ADLDP15

 

ADLDP16

 

New Window will appear as shown below:

Here in the Edit Entry Attribute TYPE IsDeleted -> Enter

ADLDP17

 

Then again Type distinguishedName in Edit Entry Attribute, and Provide the details of the Deleted Object

Example: CN=Test9,CN=User,DC=DC1,DC=COM ( These values are provided according to my scenario)

Click Replace and Press Enter

Before Running this Modification, you need to keep check mark on Extended as shown.

ADLDP18

Now Press Run

Beside the Modify Box you can see the Modification details as shown in the above figure

Go back to Active Directory Users and Computers and you will be able to view the Deleted User Object.

 

ADLDP19

But it will be in Disabled state.

Go ahead and Enable the Object.

 

Great from this you have learned Restoring the Deleted Object Using ldp.exe.

 

Praveen Kumar

MCSA, MCSE | Windows Server 2012

Publisher @ Techrid.com

 

Translate »