1

 

Here Im deleting the user object(User3).After this we can run ldp.exe on run menu to open the tool

2

 

On the ldp.exe just open the connection menu and select connect.It will prompt for a dialog box and we can just type our domain controllers name.In a my domain it’s a lion.mydomain.lk and im using default ldap port 389.

3

Again open the connection menu and select bind

4

Open the options menu and select control

5

From the load predefind: drop downl list select Return deleted objects and select ok

6

Open the view menu and select tree view

7

Now we can see all the deleted items and at last there will be user3(last delete item)

8

Right click on the user cn and select modify

9

From this windows first type isDeleted on Attribute test box and select Delete from Operation and click on enter

10

Again type distinguishedName on the attribute text box,Type objects cn value in the values text box(In my example its CN=user3,OU=Users,OU=BRANCH01,DC=mydomain,DC=lk)select replace from operation,click on enter

12

Click Extended check box on left down corner and click on run

13

Now we can see the recovered account in the ad.We have to enable and set the password.

14

Advertisements