logo
Windows Server Back Up System State of the Windows Server 2016 Domain Controller via PowerShell

Back Up System State of the Windows Server 2016 Domain Controller via PowerShell

By Sophia | Last Updated

In the Microsoft Windows Server 2016, the domain controller provides core identity services to a business network. The corruption of a domain controller would bring your network services to the hell. This remind us about the importance of backing up the system state of a domain controller in Windows server. Here we would show you how to back up system state of the Windows Server 2016 domain controller. Please follow my words.

Step 1: After you succeed in logging in windows server 2016 (If you happen to forget your password to log in Windows Server 2016, just refer to reset domain admin account password in Windows server 2016.), open the elevated PowerShell prompt and type the following command into it to bring up Windows Backup cmdlets.

Install-WindowsFeature Windows-Server-Backup

virtualbox begin interface

Tips: If you want to make the system state backup comprise all the system subfeatures and system management tools, just type this command.

Install-WindowsFeature Windows-Server-Backup -IncludeAllSubfeature -IncludeManagementTools

What's more, if you want to find more backup commands, just type

Get-Command -Module WindowsServerBackup.

Step 2: Type the under command in PowerShell prompt to make a new backup policy.

$policy = New-WBPolicy

Step 3: In the next coming operation, just type the following command to point out this new backup policy is to back up system state.

Add-WBSystemState -Policy $policy

Step 4: Type the under command to make a location for the backed up system state data.

$target = New-WBBackupTarget -VolumePath "H"

Note: In the above command, i choose H volume in my system to store the backed up system state files. When it comes to your turn, just adapt the volume name to your conditions.

Step 5: Copy the under command to tell the back up process where to place the backed up system state data.

Add-WBBackupTarget -Policy $policy -Target $target

Step 6: Last, just type the under command to execute the backup procedure.

Start-WBBackup -Policy $policy

Related Articles: