0% found this document useful (0 votes)
77 views5 pages

20411D-Lab02-Ex02-Configuring AD DS Snapshots-Template

This document provides instructions for creating and exploring an Active Directory Domain Services (AD DS) snapshot on a Windows Server 2012 system. The steps include: 1) Creating an AD DS snapshot using Ntdsutil and verifying successful creation. 2) Making a change to AD DS by deleting a user account. 3) Mounting the snapshot, starting a new AD DS instance, and verifying the deleted user is still present in the snapshot. 4) Unmounting the snapshot after exploration is complete. Screenshots are requested throughout to document the process.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
77 views5 pages

20411D-Lab02-Ex02-Configuring AD DS Snapshots-Template

This document provides instructions for creating and exploring an Active Directory Domain Services (AD DS) snapshot on a Windows Server 2012 system. The steps include: 1) Creating an AD DS snapshot using Ntdsutil and verifying successful creation. 2) Making a change to AD DS by deleting a user account. 3) Mounting the snapshot, starting a new AD DS instance, and verifying the deleted user is still present in the snapshot. 4) Unmounting the snapshot after exploration is complete. Screenshots are requested throughout to document the process.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Class & Module 20411D: Administering Windows Server® 2012

Module 02: Maintaining Active Directory® Domain Services


Name

IC No.

Date & Time

Exercise 2: Configuring AD DS Snapshots


 Task 1: Create a snapshot of AD DS
Note: The commands in the following steps return a message indicating that the snapshot
set was generated successfully. Either make a note of the GUID number that the command
returns, or copy the GUID (highlight the text in the command line or Windows PowerShell®
console, right-click and then select Copy) to the clipboard.

1. On LON-DC1, move your mouse to the bottom left corner, and then click the Start charm.
2. From the Start screen, type cmd, and then press Enter.
3. At the command prompt, type the following, and then press Enter:
Ntdsutil

4. At the command prompt, type the following, and then press Enter:
Snapshot

5. At the command prompt, type the following, and then press Enter:
activate instance ntds

6. At the command prompt, type the following, and then press Enter:
Create

7. After the snapshot is created, at the command prompt, type the following, and then press
Enter:
Quit

8. At the command prompt, type the following, and then press Enter:
quit

create a screenshot showing command window with command result above

*** place here the screenshot ***


Then click OK button

 Task 2: Make a change to AD DS


1. On LON-DC1, open Server Manager, click Tools, and then click Active Directory Users
and Computers.
2. In Active Directory Users and Computers, double-click the Marketing OU, right-click
Adam Barr, and then click Delete.
Create a screenshot

*** place here the screenshot ***

3. Click Yes to confirm the deletion

 Task 3: Mount an Active Directory snapshot, and create a new instance


1. On LON-DC1, move your mouse to the bottom left corner, and then click the Start charm.
2. On the Start screen, type cmd, right-click the Command Prompt, and then click Run as
Administrator.
3. At the command prompt, type the following, and then press Enter:
Ntdsutil

4. At the command prompt, type the following, and then press Enter:
Snapshot

5. At the command prompt, type the following, and then press Enter:
activate instance ntds

6. At the command prompt, type the following, and then press Enter:
list all

7. At the command prompt, type the following, and then press Enter:
mount <GUID>
Where <GUID> is the GUID returned by the Create command in Task 1.

8. At the command prompt, type the following, and then press Enter:
Quit

9. At the command prompt, type the following, and then press Enter:
Quit

10. On the Desktop taskbar, click the File Explorer icon, and select the Local Disk (C:) node.
There should be only one folder on your drive C with a name that begins with $snap.
Note the full name of the $SNAP folder, which includes a datetime value. Write down the
datetime value.
11. While many command executables can be run without any issue in Windows
PowerShell, you cannot run the dsamain.exe command from Windows PowerShell. Ensure
that you are in the command prompt as administrator to perform this step. At the command
prompt, type the following, and then press Enter:
Note: Note that datetime will be a unique value. Replace it with the value written down in
step 11.

dsamain /dbpath C:\$SNAP_datetime_volumec$\windows\ntds\ntds.dit /ldapport 50000

12. A message indicates that Active Directory Domain Services startup is complete. Leave
Dsamain.exe running, and do not close the command prompt..

Create a screenshot showing the command windows with all commands above

*** place here the screenshot ***


 Task 4: Explore a snapshot with Active Directory Users and Computers
1. Switch to Active Directory Users and Computers. Right-click the root node of the snap-
in, and then click Change Domain Controller.
2. Click <Type a Directory Server name[:port] here>, type LON-DC1:50000, and then
press Enter.
Click OK.
3. In the navigation pane, double-click Adatum.com.
4. In the navigation pane, double-click the Marketing OU.
5. Locate the Adam Barr user account object. Note that the Adam Barr object is displayed
because the snapshot was taken prior to deleting it.
Create a screenshot showing Marketing OU & Adam Barr user account
*** place here the screenshot ***

 Task 5: Unmount an Active Directory snapshot


1. In the command prompt, press Ctrl+C. to stop DSAMain.exe.
2. Type the following commands and press Enter after each line:
ntdsutil
snapshot
activate instance ntds
list all
unmount guid
list all
quit
Quit
Where guid is the GUID of the snapshot.

Create a screenshot showing the command windows with all commands above

*** place here the screenshot ***

Results: After completing this exercise, you should have successfully configured Active
Directory Domain
Services (AD DS) snapshots.

You might also like