Share via


DisableSR

DisableSR enables or disables System Restore.

Values

0

Enables System Restore and creates restore points according to events and a schedule. This is the default value.

1

Specifies that no more restore points will be created. This limits the ongoing usefulness of System Restore on the computer.

Parent Hierarchy

Microsoft-Windows-SystemRestore-Main | DisableSR

Valid Passes

specialize

Applies To

For the list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-SystemRestore-Main.

XML Sample

The following XML output shows how to disable System Restore.

<DisableSR>1</DisableSR>

See Also

Concepts

Microsoft-Windows-SystemRestore-Main