wmi cannot see mapped drive
The problem went away after a reboot.
February 4th, 2012 7:53pm

WMI cannot see my mapped drive on one particular server (2003 sp1). I am logging on through RDP. I can see the drive in Explorer. But the following fails. Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") Set listFiles = objWMIService.ExecQuery("ASSOCIATORS OF {Win32_Directory.Name='Z:\'} Where ResultClass = CIM_DataFile") wscript.echo listFiles.count I have done the following: Restart WMI service rundll32 wbemupgd, CheckWMISetup - with no result Perhaps someone here has seen this issue or can troubleshoot WMI in general.
Free Windows Admin Tool Kit Click here and download it now
February 4th, 2012 9:23pm

Please share an error message , if you are getting any or any events in event log. Thanks.MCSE Certified
February 5th, 2012 3:16am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics