Hi Pat,

The utility, Snetcfg.exe works if run on the local machine, but how can 
this be used from remote?  Do you have any idea on how to run this on the 
remote machine, I tried psexec.exe but it didn't work.  Any chance we can 
use WMI to start a process on a remote machine, but Snetcfg.exe needs to 
be run too on the other end.

I can implement this via login script but the thing is, not all users 
login regularly.

Regards,
************************************************
Sam Dela Cruz
Lotus Notes Support









"Patrick J. LoPresti" <[EMAIL PROTECTED]>
Sent by: 
[EMAIL PROTECTED]
09/30/2003 11:52 AM

 
        To:     Sam Dela Cruz/SVL/SC/[EMAIL PROTECTED]
        cc:     [EMAIL PROTECTED]
"Jim's Mail" <[EMAIL PROTECTED]>
        Subject:        Re: Is it possible to read a file remotely using WMI?
        Classification: 



[EMAIL PROTECTED] writes:

> Thanks, the script works in creating a share on a remote system.
> But I was not able to access the share on the remote machine because
> "File and Printer Sharing for Microsoft Networks" is disabled.  My
> original question was, is it possible to use WMI to enable "File and
> Printer Sharing for Microsoft Networks", on the remote machine,
> since WMI can query and do stuffs on the remote machine even if the
> above NetBIOS service is OFF.

Hm, tricky.  A Google newsgroup search:

  http://groups.google.com/groups?q=%22file+and+printer+sharing%22+wmi+enable

...suggests that this is not easy.  The best answer appears to be:

  http://groups.google.com/groups?threadm=3DF64A16.9B761D2D%40hydro.com

I am sorry I cannot be of more help.

 - Pat
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs



_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to