Writing to WMI, then updating SMS with a MOF File



I have the VBS code that pulls mapped network drives from a machine.

I now want to write that information to a static portion of WMI so I
can access it using my SMS_DEF.MOF file.

I need to do this to get around the issue of the local system account
not being able to read my users mapped drives.

Does anyone have any similar sample code I could look at? I'm not much
of a coder and do not look forward to writing to all of the clients WMI
without some input from somone who has used this code in production.

Thanks in advance,

.



Relevant Pages

  • Re: Win32_NetworkAdapterConfiguration and EnableStatic
    ... > I have a couple of mapped network drives, ... > When using WMI to set static ip in Windows 2000 I can't connect to the drives. ... > The only way I can reconnect is if I restart the TCP/IP protocol. ... > After I have restarted tcp/ip and everything works fine, if I change back to DHCP ...
    (microsoft.public.win32.programmer.wmi)
  • Win32_NetworkAdapterConfiguration and EnableStatic
    ... I have a couple of mapped network drives, ... The only way I can reconnect is if I restart the TCP/IP protocol. ... After I have restarted tcp/ip and everything works fine, ... DHCP (using WMI) ...
    (microsoft.public.win32.programmer.wmi)

Loading