none
Type mismatch (Error: 80041005; Source: WMI) RRS feed

  • Question

  • I've created a Configuration Baseline for workstations that checks for the existence of PageFile.Sys on the root of C:\
    I've created a Configuration Baseline for servers that checks for the existence of PageFile.Sys on the root of D:\

    The compliance reports for several servers and workstations indicates an Error, 'Type mismatch'. 


    DcmWmiProvider.log from a client on a Windows Server:
     Initialize called for the provider 7/27/2012 7:16:01 AM
     CreateInstanceEnumAsync called for the provider 7/27/2012 7:16:01 AM
     Query supplied is: select * from CCM_File_Setting where (((Path = "D:\\" AND Name = "pagefile.sys") AND SearchDepth = 0) AND FileSystemRedirectionMode = 1) 7/27/2012 7:16:01 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: D:\ evaluated to : D:\ 7/27/2012 7:16:01 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %WinDir%\System32 evaluated to : C:\Windows\System32 7/27/2012 7:16:01 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %ProgramFiles% evaluated to : C:\Program Files 7/27/2012 7:16:01 AM
     Query for lantern's provider is (redirected path): Select * from FileSystem_FileMetadata where BasePath = "D:\\" and Name = "pagefile.sys" 7/27/2012 7:16:01 AM
     Failed to serialize discovered filesystem object () to wmi object, error: 0x80041005 7/27/2012 7:16:02 AM
     CPermissionWMIProvider::ExecQueryAsync - failed (0x80041005). 7/27/2012 7:16:02 AM
     Failed to precess CFileSystemWMIProvider::ExecQueryAsync.
     Type mismatch (Error: 80041005; Source: WMI) 7/27/2012 7:16:02 AM
     
     
    0x80041005:
     Type mismatch
     Source: Windows Management (WMI)

    DcmWmiProvider.log from a Windows 7 client:
     CreateInstanceEnumAsync called for the provider 7/27/2012 11:12:15 AM
     Query supplied is: select * from CCM_File_Setting where (((Path = "C:\\" AND Name = "pagefile.sys") AND SearchDepth = 0) AND FileSystemRedirectionMode = 1) 7/27/2012 11:12:15 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: C:\ evaluated to : C:\ 7/27/2012 11:12:15 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %WinDir%\System32 evaluated to : C:\Windows\System32 7/27/2012 11:12:15 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %ProgramFiles% evaluated to : C:\Program Files 7/27/2012 11:12:15 AM
     Query for lantern's provider is (redirected path): Select * from FileSystem_FileMetadata where BasePath = "C:\\" and Name = "pagefile.sys" 7/27/2012 11:12:15 AM
     Failed to serialize discovered filesystem object (c:\pagefile.sys) to wmi object, error: 0x80041005 7/27/2012 11:12:16 AM
     CPermissionWMIProvider::ExecQueryAsync - failed (0x80041005). 7/27/2012 11:12:16 AM
     Failed to precess CFileSystemWMIProvider::ExecQueryAsync.
     Type mismatch (Error: 80041005; Source: WMI) 7/27/2012 11:12:16 AM
     CreateInstanceEnumAsync called for the provider 7/27/2012 11:12:17 AM
     Query supplied is: select * from CCM_File_Setting where (((Path = "C:\\" AND Name = "pagefile.sys") AND SearchDepth = 0) AND FileSystemRedirectionMode = 1) 7/27/2012 11:12:17 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: C:\ evaluated to : C:\ 7/27/2012 11:12:17 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %WinDir%\System32 evaluated to : C:\Windows\System32 7/27/2012 11:12:17 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %ProgramFiles% evaluated to : C:\Program Files 7/27/2012 11:12:17 AM
     Query for lantern's provider is (redirected path): Select * from FileSystem_FileMetadata where BasePath = "C:\\" and Name = "pagefile.sys" 7/27/2012 11:12:17 AM
     Failed to serialize discovered filesystem object (c:\pagefile.sys) to wmi object, error: 0x80041005 7/27/2012 11:12:18 AM
     CPermissionWMIProvider::ExecQueryAsync - failed (0x80041005). 7/27/2012 11:12:18 AM
     Failed to precess CFileSystemWMIProvider::ExecQueryAsync.
     Type mismatch (Error: 80041005; Source: WMI) 7/27/2012 11:12:18 AM
     Initialize called for the provider 7/27/2012 11:18:15 AM
     CreateInstanceEnumAsync called for the provider 7/27/2012 11:18:15 AM
     Query supplied is: select * from CCM_File_Setting where (((Path = "C:\\" AND Name = "pagefile.sys") AND SearchDepth = 0) AND FileSystemRedirectionMode = 1) 7/27/2012 11:18:15 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: C:\ evaluated to : C:\ 7/27/2012 11:18:15 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %WinDir%\System32 evaluated to : C:\Windows\System32 7/27/2012 11:18:15 AM
     CAppExecutionLibrary::ExpandEnvironmentVariables: %ProgramFiles% evaluated to : C:\Program Files 7/27/2012 11:18:15 AM
     Query for lantern's provider is (redirected path): Select * from FileSystem_FileMetadata where BasePath = "C:\\" and Name = "pagefile.sys" 7/27/2012 11:18:15 AM
     Failed to serialize discovered filesystem object (c:\pagefile.sys) to wmi object, error: 0x80041005 7/27/2012 11:18:16 AM
     CPermissionWMIProvider::ExecQueryAsync - failed (0x80041005). 7/27/2012 11:18:16 AM
     Failed to precess CFileSystemWMIProvider::ExecQueryAsync.
     Type mismatch (Error: 80041005; Source: WMI) 7/27/2012 11:18:16 AM

    Does anyone know why this is happening?


    Terry Wallner

    Friday, July 27, 2012 7:29 PM

Answers

All replies

  • Hi Terry,

    can you please confirm which SCCM build are you using?

    It seems to be the machines those having File (pagefile.sys) with larger size (can be >4GB) throwing this error. can you please confirm?

    It is known issue with RTM and fixed in CTP build.

    Thanks

    Praveen S.

    This posting is provided "AS IS", provides no warranties, and confers no rights. -- Praveen

    Saturday, July 28, 2012 12:01 AM
  • The one-and-only SCCM 2012 Primary Site Server shows Build 7711.

    Terry Wallner

    Saturday, July 28, 2012 12:25 PM
  • Yes, this issue exist in build 7711. CTP (7743) build has fixed.

    • Marked as answer by TerryWa Sunday, July 29, 2012 12:17 PM
    Saturday, July 28, 2012 6:12 PM
  • My SCCM 2012 version is 5.0.7958.1000, however, I'm encountering the same error as well..

    "Failed to do HandleExecQueryAsync().
    Type mismatch (Error: 80041005; Source: WMI) DcmWQLQueryProvider 3/19/2015 11:45:11 AM 4244 (0x1094)
    Failed to process CWqlQueryProvider::ExecQueryAsync.
    Type mismatch (Error: 80041005; Source: WMI) DcmWQLQueryProvider 3/19/2015 11:45:11 AM 4244 (0x1094)
    Failed in discovering instance.
    Type mismatch (Error: 80041005; Source: WMI) DcmWQLQueryProvider 3/19/2015 11:45:12 AM 4244 (0x1094)"

    Thursday, March 19, 2015 6:53 PM