Re: Does WMI have to be installed on Remote Computer?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Try capturing err.description as well as err.number. Also, you can use MSDN
to lookup error codes.

Mark

"Jennifer" <jennifer1970@xxxxxxxxxxx> wrote in message
news:1142527519.364530.141520@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thank you for your response. It is appreciated. Just a couple of
questions to clarify things for me.

What exactly does -2147217405 mean when it is returned as an error
code?
And this is a weird thing for me to understand... I've been keeping a
close eye on results from one particular server. When I run my script
from my computer I only get results for Drive C on this server. And
what's more, the size of Drive C comes back as 76254. I'm thinking,
okay - I just don't have rights to see the other drives. But then if I
can't see drives D, E, H and Q, why can I see C? And what's more, when
someone else runs the script who does have admin rights, they get
results back for ALL the drives and yet the size for drive C comes
back at 10001. So what's up with that? Why would the size change? I
could run the script 2 minutes later and it is 76254 again.

Any thoughts on that?

Thanks again!



.



Relevant Pages

  • Re: Does WMI have to be installed on Remote Computer?
    ... When I run my script ... from my computer I only get results for Drive C on this server. ... okay - I just don't have rights to see the other drives. ... someone else runs the script who does have admin rights, ...
    (microsoft.public.scripting.vbscript)
  • Re: Script initiate a drive connection?
    ... Network & Software Integration ... Dim objWMI, objPing, colPings, ServerOnline, Result ... in a script the double click on a disconnected drive. ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: Script initiate a drive connection?
    ... I tried this script and received an error "The NTVDM CPU has ... Dim objWMI, objPing, colPings, ServerOnline, Result ... Network & Software Integration ... automatically connect map drives on boot up.) ...
    (microsoft.public.windows.server.scripting)
  • Re: ubuntu-users Digest, Vol 54, Issue 174
    ... For a specific usb drive I instead want a script to run (to run ... folks: random vnc attempts ... the security updates to get into the system to fiddle with rootkits. ...
    (Ubuntu)
  • Re: mapped drives and desktop shortcut all a group of users
    ... I added the logon script in the user config area of the default domain GPO ... I updated group policy on the DC and the workstation I was working on ... As mapped drives are generally profile specific, ...
    (microsoft.public.windows.server.active_directory)