Windows Management Instrumentation (WMI) has a new registry key to enable or disable the AutoRestore repository feature.. For more information on restoring the WMI repository, see Backup or Restore WMI Repository.
In Windows 7, the default behavior is to auto-restore a repository from a backed-up version if a repository corruption is detected. WMI provides the AutoRestoreEnabled registry value to disable this feature.
The registry keys for WMI are located in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM\.
AutoRestoreEnabled
Enables the user to determine whether or not to use the AutoRestore repository feature. By default this key is set to 1 and the AutoRestore Repository feature is enabled.
The following settings are possible:
0
Disabled
1
Enabled
The AutoRestoreEnabled registry value can be modified by using the Group Policy Management Console (GPMC). For more information, see Group Policy Management Console.
This procedure provides details about how to enable or disable the AutoRestore repository feature:
To change the default value of the AutoRestoreEnabled key by using Group Policy
Open the GPMC.
Create a Group Policy object (GPO).
Edit the GPO.
Browse to Preferences/Windows Settings/Registry.
Right-click and select New... Registry. This action presents a user interface where you can enter registry information.
Select the Update command.
Select the following registry key path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WBEM\CIMOM.
In the name field, enter AutoRestoreEnabled.
In the data field, enter 0 to disable or 1 to enable the AutoRestore repository feature.
This module explains how to use CIM and WMI to make changes by using methods. The methods available vary depending on the type of object. Discovering and understanding these methods is an important step in querying and manipulating the repository information.