By default, Windows XP's System Restore feature is enabled. Users don't have the ability to install or remove software on our systems, so the System Restore data is taking up unnecessary disk space. Is there a way to disable it from the command line or a script?
Microsoft doesn't provide a tool for directly managing System Restore from the command line, but fortunately there's a Windows Management Instrumentation (WMI) class named SystemRestore that provides an interface for controlling it. In
XP, there are two primary ways to work with WMI: through the Windows Management Instrumentation Command-line (WMIC) tool or a scripting language, such as VBScript.
Disabling System Restore with WMIC. In XP, you can view SystemRestore restore points by using the basic wmic command, which follows the format
wmic /node:computer
/namespace:\\root\default path
SystemRestore
(Although this command appears on several lines here, you would enter it on one line in the command-shell window. The same holds true for the other multiline commands in this article.) In this command, computer can be one or more remote computer names, separated by commas. You can omit the /node option, in which case WMIC checks the restore points on the current computer. . . .