
Back up files on Windows 10 and 11 from Command Prompt with robocopy, xcopy and wbadmin, plus a ready-to-use backup script you can schedule.
Get past "You must enable system protection on this drive". Turn on System Protection and run System Restore from the command prompt on Windows 10.


Content writer, trio.so
"You must enable system protection on this drive" means System Restore is off for that drive, so Windows cannot create or use a restore point. To fix it, open PowerShell as administrator and run Enable-ComputerRestore -Drive "C:\". Then create a restore point and set how much disk space System Restore may use. The steps are the same on Windows 11.
The message appears when you open System Restore or try to create a restore point on a drive where protection is off. Turn it on:
Enable-ComputerRestore -Drive "C:\"
The cmdlet prints nothing when it works. It runs in Windows PowerShell 5.1, which ships with Windows. Microsoft's reference says you cannot use it to enable System Restore on external drives or network drives, and the system drive must be on first or at the same time.
To check the result, type SystemPropertiesProtection and look at the Protection column for your drive. It should say On.
sysdm.cpl and press Enter.System Restore stores restore points in shadow storage. To see the current limit:
vssadmin list shadowstorage
To set the limit to 10 percent of the drive:
vssadmin resize shadowstorage /for=C: /on=C: /maxsize=10%
Checkpoint-Computer -Description "Before driver update" -RestorePointType MODIFY_SETTINGS
Windows limits restore points created this way to one every 24 hours by default, and may skip a new one inside that window. To list the points you have:
Get-ComputerRestorePoint
To open the System Restore wizard from a command prompt or PowerShell, run:
rstrui.exe
To restore without the wizard, find the sequence number with Get-ComputerRestorePoint and run Restore-Computer -RestorePoint 12 in Windows PowerShell 5.1. Use your own number. The PC restarts to apply it. If Windows will not start, open the command prompt from the recovery environment (Troubleshoot > Advanced options > Command Prompt) and run rstrui.exe /offline:C:\windows=active.
sc query vss and set it to manual if it is disabled.For a fleet, put Enable-ComputerRestore -Drive "C:\" in a script and run it on every PC. trio.so can run a script on enrolled Windows PCs from the console. See remote terminal.
trio.so can run a script on enrolled Windows PCs from the console. Put Enable-ComputerRestore -Drive "C:\" in a script, test it on one PC, then send it to the rest. See remote terminal.

Related reading: back up files on Windows 10 with the command prompt, PowerShell execution policies and disable startup programs.
trio.so runs a script on enrolled Windows PCs from the console.
trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.
trio.so brings device management, patching and security policies for Windows, macOS, Linux, iOS/iPadOS and Android into one console. Enroll a device and see it in the console within minutes.





Have questions? We've got answers. This section covers some of the most commonly asked questions related to this topic.
rstrui.exe. In Windows PowerShell 5.1 you can also use Restore-Computer -RestorePoint with a sequence number from Get-ComputerRestorePoint.Enable-ComputerRestore -Drive "C:\".sysdm.cpl, open System Protection, select the drive, click Configure and choose Turn on system protection.Related
The related industry news, interviews, technologies, and resources.

Back up files on Windows 10 and 11 from Command Prompt with robocopy, xcopy and wbadmin, plus a ready-to-use backup script you can schedule.

Turn off startup programs on Windows 10 and 11 with Task Manager and Settings, then by command prompt and PowerShell, and on many PCs at once.

Discover how to use Event Logs on Windows for improved IT management, security, and compliance. Learn practical applications and best practices.

Enhance system security with virtual memory pagefile encryption. Learn about best practices and how a simple solution can help simplify your IT management.

Learn how to change the boot logo in Windows 10, customize the startup icon, and streamline the process with a simplified MDM solution.

Wondering how to protect corporate data on Windows devices? Discover why implementing MDM for Windows is essential for security and productivity.

Windows could not automatically detect this network's proxy settings? Fixes for Windows 10 and 11 in order, plus how policy-pushed proxies cause it.

What Windows Autopilot is, how it works, what it costs, how to set it up step by step, and how to use it with an MDM other than Intune.
14-day free trial. No credit card required.
trio.so for MSPs: one console, separate clients