Overview and SymptomsThe backup engine uses Microsoft VSS to perform backups of open files and also to backup the system state. VSS consists of providers (which provide volume snapshot functionality), writers (application components that ensure the integrity of their data before a snapshot is taken, such as Exchange or SQL), and requestors (such as backup application). One of the VSS writers that comes with Windows is the WMI Writer. WMI is an acronym for Windows Management Instrumentation and is part of the operating system. If the WMI system files or the WMI database become corrupted, the WMI VSS writer can fail and prevent open file backups and system state backups from happening. In these cases, errors will be visible in the backup log, windows application or system log, and/or the ntbackup log files such as:
ResolutionWMI is part of the operating system, and as such we do not have direct control over it and are unable to recommend steps for an exact fix. That being said, we have learned from experience certain procedures will resolve the above issue. The steps are in this article are for Windows 2003 or SBS 2003 only. For assistance on other operating systems, please contact Microsoft support. Note that if you are having trouble with system state backups, please use the software updater to update to version 3.7.3, and then retry the system state backup by right clicking on the Backup Now button on the system status page and choosing Backup System State. If a problem still occurs, and the logs indicate that it was a WMI writer failure, then continue and follow the steps in this article. Note that the steps below are from this forum thread, and are provided "AS IS" with no warranties of correctness. Procedure #1: VSS hotfixesThe first thing to check is to make sure that all VSS hotfixes are installed, especially on Server 2003 or SBS 2003. After installing the hotfixes and rebooting, if the issue still occurs try the next procedure. Procedure #2: Check connectivity to WMI Service and security permissions
If WMI is running properly, then you should be able to browse WMI properties, such as the server operating system version and WMI version number. Now that you are connected, you can verify that permissions are setup correctly. In the WMI service browser that you just opened:
If making sure permissions are set correctly doesn't work, or if you can't connect to the WMI service, proceed to the next procedure. Procedure #3: Check WMI classes and namespaces using WBEMTEST.exeThe purpose of this procedure is to see if the appropriate WMI classes are registered. If any are not registered properly, or you have errors during the below process, try registering them using the next procedure.
Note that there should be 59 objects (for Exchange 2003 only). Click the Close button when finished.
Note that there should be 74 objects (for Exchange 2003 only). Click the Close button when finished. Procedure #4: Re-register Exchange WMI DLLs, Namespaces, and ClassesIf you get a failure such as an invalid namespace or invalid class error when performing the above procedures, then you will need to recreate the WMI Repository.
If this procedure does not resolve the issue, please proceed to the next one. Procedure #5: Rebuild the WMI repository
The Windows Management Instrumentation service will start automatically when you restart the computer. If this procedure does not resolve the issue, please proceed to the next one. Procedure #6: Further attempts to repair the WMI repositoryThis is a last resort attempt to repair the WMI repository:
ConclusionIf the above steps do not resolve the issue, please contact Microsoft support for further assistance. The problem is in the WMI component in the operating system and is unable to be fixed by the backup software. Microsoft support will likely suggest to run a repair install of Windows in order to repair all of the corrupt WMI DLL files and the WMI repository. | |