[DUG] connection to a UNC folder with remote user andpasswordonlocal LAN

Paul A Norman paul.a.norman at gmail.com
Wed Apr 26 15:33:33 NZST 2006


Thanks Conor,

I completely overlooked

 /SAVECRED

I'll give it a go. For either ...

net use  /SAVECRED   \\192.168.1.3 <file://192.168.1.3/> password

OR

net use  \\192.168.1.3 <file://192.168.1.3/> password /SAVECRED

I get this back,

"A command was used with conflicting switches."

Which sort of confuses me as I only used one switch I think
Paul


On 26/04/06, Conor Boyd <Conor.Boyd at trimble.co.nz> wrote:
>
>  If the net use thing is still an option, the net use command on XP has a
> optional /SAVECRED parameter which seems to be supposed to maintain the
> credentials used to connect...
>
> net use /? doesn't give you much in the way of detail, but at least it
> will give you the available parameters which might help you when googling.
>
> HTH again,
>
> Conor
>
>  ------------------------------
>  *From:* delphi-bounces at ns3.123.co.nz [mailto:delphi-bounces at ns3.123.co.nz]
> *On Behalf Of *Paul A Norman
>
>  Thanks guys,
>
> I had tried
>
> net use  \\computer password
>
> sucessfully, but the ok clearance does not appear to be system wide.
> Explorer still requires a login even if subsequently launched from the same
> dos prompt.
>
> I'll look into WNetAddConnection again.
>
>  . .what is happening here is that users on peer to peer Xp  who have a
> shared resource like a printer, are for modern security reasons, putting a
> password on the Guest account.
>
> The means that any app on other users systems trying to use the shared
> printer, need to authenticate themselves manually first.
>
> People can do it manually by simply trying to open explorer on the UNC
> name of the computer, be prompted for a password and then all is fine, other
> apps on their workstation can now access shared resources on the remote
> computer, but people forget to and then get bugged when they can not print!
> Or they forget the name of the \\computer they are supposed to connect to,
> etc  . .
>
> _______________________________________________
> Delphi mailing list
> Delphi at ns3.123.co.nz
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ns3.123.co.nz/pipermail/delphi/attachments/20060426/0e54c293/attachment.html


More information about the Delphi mailing list