WMI architecture, repository or database on Windows 7

By Perry

If you wonder from where WMI query gets the information then this is correct place to read.

After lot of research I found that it is not the registry from where WMI fetches the information but it is called repository.  Whenever you execute the WMI query, It reads from WMI repository located in %WINDIR%\System32\Wbem.  I found it in WMI architecture: http://msdn.microsoft.com/en-us/library/aa394553%28v=VS.85%29.aspx

Moroover, this location is default but you can very well choose your own location as a WMI provider.  For example, you can write a WMI provider with SQL Server or file system as the data store.

Related FAQs

This is very useful feature as on Windows 7, it returns IPV4 and IPV6 address combine so you cannot use direct Dns.GetHostEntry(string.Empty).AddressList[0] method to get the IP address of specified machine.
I was really wondering why we need TransactionScope at all. Then I found very valid reason that I have posted here for other people.
I have shown here what all the things I have tried to get the current windows logged on user using Java Script.
This shows how I got rid of authentication prompt while opening Excel or Word files on Windows 7. This was happening when I open Office files placed on my network location from IE8 or Firefox. Putting corresponding sweblink in trusted site doesn't worked.
I wrote here about my finding for DefaultUserName and DefaultDomainName registry keys in Windows7.
This shows the step to get rid of given warning message.
WMI architecture, repository or database on Windows 7  (1281 Views)