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



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: Migrating DC/File Server to new hardware...
    ... Any luck Little-Joe? ... Notice the only thing I changed was the server names...I also tried ... Not sure about creating a .bat file to run this script as I have not done ... searches and remaps the drives on the local machine is the way to go. ...
    (microsoft.public.windows.server.migration)
  • Re: Moving Drive Map role
    ... wrote a KIX script to map drive letters based on AD group membership. ... Have question regarding Drive Mapping on Windows 2000 Server. ... box which is mainly acting as a Drive Map to one of the drives in SAN. ...
    (microsoft.public.windows.server.general)
  • Re: Migrating DC/File Server to new hardware...
    ... Post the script here and I'll look at it. ... Modify this line and put your old server name between the quotes ... Map new UNC to existing drive letter ... searches and remaps the drives on the local machine is the way to go. ...
    (microsoft.public.windows.server.migration)
  • Re: Microsoft SWORE TO MARY this Drive space script would work but Mary must have been busy.
    ... StrComputer = RS.Value ... ''' First try to ping the server. ... ''' If getting the list of drives fails, log it to the errors table. ... Microsoft guarantees this script to work but all I can say is "Algun ...
    (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)