共用方式為


DisableSR

Applies To: Windows 7, Windows 8, Windows 8.1, Windows Server 2012 R2, Windows Vista

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 a list of the supported Windows® editions and architectures that this component supports, see Microsoft-Windows-SystemRestore-Main.

XML Example

The following XML output shows how to disable System Restore.

<DisableSR>1</DisableSR>

See Also

Concepts

Microsoft-Windows-SystemRestore-Main