diTii.com Digital News Hub

Sign up with your email address to be the first to know about latest news and more.

The Repository on Vista / Server 2008 – WMI Troubleshooting


The Repository on Vista / Server 2008 – WMI Troubleshooting

This post cover a quick method to verify the consistency of the repository.  Many of you have probably done a rebuild of the repository on Windows Server 2003 or an earlier operating system by renaming the repository and  allowing WINMGMT to rebuild the repository automatically.  There are some inherent risks in any rebuild or recovery of the WMI Repository, regardless of the operating system – for example, if an application only updates the repository during installation and does not use .MOF files then a repository rebuild means that the WMI data for that application is lost – at least until the application is re-installed.

Beginning with Windows Vista and Windows Server 2008, there is a new switch that can be used to check the consistency of the repository – /verifyrepository.  If you run WINMGMT.EXE /? at a command prompt you can see a description of this switch.  The description is below:

Performs a consistency check on the WMI repository. When you add the /verifyrepository switch without the <path> argument, then the live repository currently used by WMI is verified. When you specify the path argument, you can verify any saved copy of the repository. In this case, the path argument should contain the full path to the saved repository copy. The saved repository should be a copy of the entire repository folder. For more information about errors returned by this command, see the Remarks section.

Full Article

Additional Resources:

Share This Story, Choose Your Platform!