Protecting your data is a critical responsibility for any system administrator. While Windows 11 includes consumer-friendly backup options like File History and OneDrive sync, IT professionals and power users often require a more robust solution for full system image backups. The wbadmin command provides a powerful, command-line interface for the Windows Server Backup utility, which is also built directly into Windows 11 Pro and Enterprise editions.
Using wbadmin, you can schedule automated backups, create complete bare-metal recovery images, and back up specific volumes or system states directly from the Windows Terminal or Command Prompt.
Requirements for Using wbadmin
Before you begin creating backups with the command line, ensure your system meets the following requirements:
- Administrator Privileges: You must run the Terminal, PowerShell, or Command Prompt as an Administrator to execute
wbadmincommands. - Target Drive: You need a dedicated internal, external, or network drive to store the backup. The target drive must be formatted with NTFS.
- Sufficient Space: A full system backup requires significant storage space. Ensure your target drive has enough capacity to hold the entire contents of your operating system drive.
Creating a Complete System Image Backup
A system image backup (often called a bare-metal backup) captures everything required to restore your computer from scratch, including the operating system, installed applications, drivers, and hidden system partitions.
Step 1: Open Terminal as Administrator
Right-click the Start button and select Terminal (Admin) or Windows PowerShell (Admin). Accept the User Account Control (UAC) prompt.
Step 2: Execute the Backup Command
To create a complete system backup, use the wbadmin start backup command. You must specify the backup target and include the -allCritical flag, which tells Windows to include all volumes containing operating system components.
Assuming you want to save the backup to an external drive assigned the letter E:, type the following command and press Enter:
wbadmin start backup -backupTarget:E: -include:C: -allCritical -quiet
Here is what each parameter does:
- -backupTarget:E: Specifies the destination drive for the backup. Replace ‘E:’ with your actual target drive letter.
- -include:C: Explicitly includes the C: drive in the backup.
- -allCritical: Automatically includes all hidden system partitions (like the EFI System Partition and Recovery Partition) required for a full system restore.
- -quiet: Runs the backup without prompting you for confirmation. Remove this flag if you prefer to review the backup summary and manually type ‘Y’ to proceed.
Backing Up to a Network Share
If you prefer to store your backups on a Network Attached Storage (NAS) device or a shared folder on another server, wbadmin fully supports network targets.
Use the following syntax to back up directly to a network path:
wbadmin start backup -backupTarget:\\ServerName\ShareName -include:C: -allCritical -user:YourUsername -password:YourPassword -quiet
Be aware that when backing up to a network share using wbadmin, Windows will typically overwrite previous backups stored in that specific folder, retaining only the most recent version. To keep multiple versions, you must manually rename the backup folder after each successful run or use different target folders.
Scheduling Automated Backups
While wbadmin has a built-in scheduling feature (wbadmin enable backup), it can be complex to configure via the command line and often requires a dedicated, formatted disk that will be hidden from Windows File Explorer.
A more flexible approach is to combine the wbadmin start backup command with the Windows Task Scheduler.
Step 1: Create a Batch File
Open Notepad and paste your preferred backup command:
wbadmin start backup -backupTarget:E: -include:C: -allCritical -quiet
Save the file as SystemBackup.bat in a secure location on your computer.
Step 2: Configure Task Scheduler
Open the Task Scheduler application and click Create Task.
- On the General tab, name the task “Weekly System Backup”. Check the box that says Run whether user is logged on or not and select Run with highest privileges.
- On the Triggers tab, click New and set your desired schedule (e.g., Weekly, every Friday at 2:00 AM).
- On the Actions tab, click New, ensure “Start a program” is selected, and browse to your
SystemBackup.batfile. - Click OK and enter your administrator password to save the task.
Verifying Your Backup Status
To check the status of your current or previous backups, you can use the get versions command.
Type the following into your administrator terminal:
wbadmin get versions
This command lists all successful backups, their completion times, and the target locations, allowing you to verify that your scheduled backups are running correctly without needing to open the GUI application.