Active Directory Backups
Use this lab to install the Windows Server Backup role and test creating Active Directory backups and snapshots.
Session duration: 60 minutes· Typical launch: ~3 min
Difficulty
Intermediate
Lab level
Lab VMs
1
1 Hyper-V
XP Reward
300 XP
On completion
Virtual machines
Lab VMs
SADC01
Username / Password
user / password123
Connection type
In-browser RDP (nested)
CPU / RAM
—
Lab instructions
Follow the steps below to complete the lab.
In this section, you will install the Windows Server Backup feature and perform a System State backup to protect Active Directory.
- Click on the
...button on the Windows Server Remote Desktop screen. - Click
Ctrl+Alt+Delbutton. - Type for the user Administrator the password:
password123.
NOTE: You can click on the ... button on the Remote Desktop screen to hide the menu.
- From Server Manager, click Manage, and select Add Roles and Features.
- Click Next until you reach the Features section
- Select Windows Server Backup, and click Next, and click Install.
- Click Close to exit the installation wizard.
- Click Check step down below to proceed.
Creating a shared folder provides a network-accessible location where the System State backup can be securely stored and retrieved.
- Open File Explorer and navigate to the
C:\drive. - Create a new folder named backup.
- Right-click the backup folder and select Properties.
- Go to the Sharing tab and click Advanced Sharing...
- Check Share this folder and ensure the share name is set to backup.
- Click Permissions, add Everyone, and grant Full Control, then click OK.
- Click OK again to close the sharing settings.
- Click Close to close the backup properties window.
- Click Check step to proceed.
A System State backup captures critical system components, including Active Directory, to enable recovery of the server’s core configuration.
- From Server Manager, click Tools, and select Windows Server Backup.
- In the left pane, click Local Backup.
- In the right pane, click Backup Once....
- Select Different options and click Next.
- Choose Custom, then click Next.
- Click Add Items, select System State, and click OK.
- Click Next to continue.
- Select the backup destination Remote shared folder and click Next.
- Enter the path
\\localhost\backup. - Click Next to continue.
- Review the backup configuration and click Backup to start the process.
- Wait for the backup to complete, then click Close.
- Click Check Step.
Simulate accidental deletion of Active Directory objects to demonstrate the importance of System State backups.
- From Server Manager open Active Directory Users and Computers.
- Right click and delete the DNSAdmins group from Active Directory.
- Click Check step to continue.
In this task, you will restore Active Directory using a System State backup to recover previously deleted objects.
- Restart the server.
- During boot, press
F8(or use recovery options) to access Advanced Startup Options. - Select
Directory Services Restore Mode (DSRM)and press Enter. - Log in using the DSRM Administrator password.
- Open Command Prompt as Administrator.
- Launch Windows Server Backup recovery wizard by running:
wbadmin start systemstaterecovery - When prompted, specify the backup location: Remote shared folder \localhost\backup
- Select the appropriate backup version (usually the most recent).
- Confirm that you want to perform the System State recovery.
- When prompted, type:
Yto start the recovery process. - Wait for the restore operation to complete.
- After the restore finishes, restart the server normally.
- Log in with your domain administrator account and password.
- Open Active Directory Users and Computers. 15 Confirm that deleted objects (e.g., DNSAdmins group) have been restored.
- Click Check Step.