Skip to main content
Configuring System Restore

System Restore uses Windows Management Instrumentation (WMI) to provide a scriptable way of configuring and using its functionality. It exposes two classes, SystemRestore and SystemRestoreConfig, in the root\default namespace.

The SystemRestore class provides methods for the following tasks:

  • Disabling and enabling monitoring
  • Listing available restore points
  • Initiating a restore on the local system
  • Retrieving the status of the last system restore

The SystemRestoreConfig class provides properties for controlling the frequency of scheduled restore point creation and the amount of disk space consumed by System Restore on each drive.

Both classes can be accessed remotely using standard WMI techniques. For a complete description of WMI, see Windows Management Instrumentation.