I get an error 0x80041001 on one of the machine while instantiating
MSiSCSI_PersistentLogins class. The rest of the MSiSCSI_ classes are all
fine. The script thats invoking this is part of the WLK on Windows 2008. The
particular test basically adds MSiSCSI_PersistentLogins class to Root\WMI
namespace (since its unpublished in the userspace) and attempts to
instantiate the class. All this is part of the iSCSI WMI verification test.
The test adds a couple of other classes into the namespace and their
instantiation works fine, but this this particular class instantiation
fails.
I tried rebuilding the WMI repository, but I get the same error. Does anyone
know of a way of troubleshooting 0x80041001 errors? We have 2 machines and
only one of them is showing this error.
@rem Register the iscsiop mof file
@mofcomp -N:root\wmi iscsiop.bmf > nul
@rem run the test
@rem -----------------------------------------------------------------------
cscript iscsiwmi.vbs
@rem
@rem Remove the mof file registration
@mofcomp -N:root\wmi iscsirem.mof > nul
TIA,