Scroll To Top

Creating Active Directory Snapshots On Windows Server 2016

Posted in Articles, MCSA, Servers6 months ago • Written by ShaisNo Comments

The Active Directory snapshots are a point-in-time view of Active Directory from Windows Server 2008, which are created by using the Volume Shadow Copy Service (VSS). In Windows Server 2012 R2 we are going to simply create Active Directory Snapshots using Ntdsutil.exe command. It works the same on Windows Server 2012 and 2016.

How to Create Active Directory Snapshots?

In order to create active directory snapshots using ntdsutil command line tool, you should open the cmd or PowerShell with domain admin privilege. So run the command prompt as administrators.

1. Run the PowerShell as Administrators and type “Ntdsutil” then press enter.

Ntdsutil Command Line Tool

Ntdsutil Command Line Tool

You can get the help by typing “help” command or “?“. It is better to use the help guide when you don’t know the exact structure of a command.

2. Type the “Snapshot” command to enter the snapshot environment.

Create Snapshots

Create Snapshots

3. Try to set the specific AD LDS instance as the active instance by typing “Activate Instance ntds” then press enter.

Activate Instance NTDS

Activate Instance NTDS

4. Type the List all to check whether the previews snapshots exist. Then create the active directory snapshots by “Create” command. Type “Create” and press enter.

Create Active Directory Snapshots

Create Active Directory Snapshots

The snapshot created successfully. Now try to mount and see the contents of the snapshot with active directory users and computers console.

How to Mount Active Directory Snapshots?

To mount an AD snapshot, use the “Mount” command and following by snapshot order number.

1. From the preview opened PowerShell type “List all” to display the list of all snapshots. Then type “mount 2” and press enter to mount the snapshot with the order number of “2“.

Mount Active Directory Snapshots

Mount Active Directory Snapshots

Then Snapshot mounted successfully on drive c:\$SNAP_********$\. Go to drive C and see the mounted snapshot.

Mounted Snapshot

Mounted Snapshot

2. Try to connect to the mounted snapshot with the “Dsamain command.

dsamain –dbpath C:\$SNAP_201508140026_VOLUMEC$\ADDB\ntds.dit –ldapport 34000

Note: Currently the Dsamain command is not working with PowerShell, try to run it with Command Prompt.

Dsamain Command

Dsamain Command

3. Now open the Active Directory Users and Computers with “dsa.msc” shortcut in Windows Run or open from Server Manager.

4. Right-click the Active Directory Users and Computers then click Change Domain Controller.

Change Domain Controller

Change Domain Controller

5. Select This Domain Controller or AD LDS instance and type the directory server name and port then hit enter and click OK to apply it.

This Domain Controller or AD LDS Instance

This Domain Controller or AD LDS Instance

6. Finally, you can see and explore all contents of mounted active directory snapshots using AD DS.

When you done the task with mounted snapshot, at the end try to unmount it with “unmount” command.

ntdsutil
snapshot
activate instance ntds
list all
unmount 4
unmount 2 
list mounted

Unmount Active Directory Snapshots

Unmount Active Directory Snapshots

That’s all. Hope you learn something new about Windows Server 2012 R2.

 


Searches related to Active Directory snapshots
ad snapshot windows 2012.
active directory snapshot restore.
active directory snapshot location.
active directory snapshot tool.
active directory snapshot tool download.
dsamain mount snapshot.
schedule active directory snapshots.


TAGS: , , , , ,
About this Author
Shais

I'm a network and Information Security instructor. Here is my online pictorial notebook. I would like to write and share my experience through this website for computer enthusiasts and technology geeks.

Like us on Facebook
on Facebook
Shais

Follow me on Twitter
Follow @technigs on Twitter
Shais
Add me on Google+
on Google+
Shais

Leave A Response