When you run a WMI query against the CIM_DataFile class by using the “Run as administrator” option in Windows Vista or in Windows Server 2008, the query returns incomplete results
You log on to a Windows Vista-based or Windows Server 2008-based computer by using an administrator account. When you run a Windows Management Instrumentation (WMI) query against the CIM_DataFile class, the WMI query returns incomplete results.
This problem occurs if you run the WMI query by using the Run as administrator option (Elevated Permission).
For example, when you run the following query by using the Run as administrator option, the query returns incomplete results.
Select * from CIM_DataFile where filename = filename and extension = extension_name
This issue does not occur if you run the query without the Run as administrator option.
For more information on this issue, including potential causes, workarounds, and resolutions, see: Microsoft KB Article KB954061.