Sunday, April 14, 2013

Windows Server 2008 + Knowing what is in your AD Tool Kit

Work in progress…

AD Recycle bin
http://koppihle3.blogspot.com/search?q=recycle

AD Tombstoning 
http://technet.microsoft.com/en-us/magazine/2007.09.tombstones.aspx

Video 1 of 1 (demo on restoring an AD object)
http://www.youtube.com/watch?v=hs3YqQVv-M0

AD LDS backup (Windows Backup or dsdbutil)
http://technet.microsoft.com/en-us/library/cc730941(v=ws.10).aspx

AD LDS restore (Windows Backup or dsdbutil)
http://technet.microsoft.com/en-us/library/cc725903(v=ws.10).aspx

AD LDS editing
http://technet.microsoft.com/en-us/library/cc732675(v=ws.10).aspx

AD AD LDS Snapshots step by step
http://technet.microsoft.com/en-us/library/cc753609(v=ws.10).aspx

Video 1 of 4 (explanation of who what and why)
http://www.youtube.com/watch?v=36cqfV38Q5Y
Video 2 of 4 (minute 6 is start of demo of process)http://www.youtube.com/watch?v=JUoiq_wYSUg'
Video 3 of 4 (this is video is the gold of the demo) http://www.youtube.com/watch?v=dQxCjmh_v8E
Video 4 of 4 (continued explanation including limitations)http://www.youtube.com/watch?v=Vn7DCDZYVNQ


Here are screen shots from my AD Snaphots Lab:

Snapshot Creation (input highlighted):

clip_image001

Snapshot Mount (input highlighted):

clip_image002Note: leave this window open

Snapshot View from Explorer:

clip_image004

Note: You may be able to restore files and folders by browsing the now mounted snapshot using explorer to copy/paste items.

Accessing Snapshot Using dsamain using port 50389 (input highlighted):

clip_image005

Note: You MUST leave this open till you are done working with the DB

Note: Please see unmounting instructions below


Opening mounted snapshot using LDP.exe:

Select Connection:

clip_image006

Enter in server name and port you assigned. In this cas 50389:

clip_image007

After it loads Bind the connection:

clip_image008


Opening mounted snapshot using ADSIedit.msc:

Select Action Connect to as shown below

clip_image009

Select Advanced: (demo is on same system)

clip_image011

Enter in the port and select OK:

clip_image013

You can then view the data additionally as shown below you can mount your current live instance as well and compare:

clip_image014


Google or Bing for “Directory Service Comparison Tools” to find tools to compare and restore from snapshots.

Unmounting Snapshot

When finished go to the dsamain command prompt window that is still open. Press Ctrl+C and close the window.

Next go to your ntdsutil command prompt window and unmount the snapshot as shown below:

clip_image015

Enter ? for a list of possible commands. You will likely want to delete the snapshots.

clip_image016

No comments:

Post a Comment