net use /user:another user

E

elffi

I am attempting to map a drive using credentials other than those used
to login to the PC, and then robocopy a file from this mapped drive.
The shared folder is on a windows 2003 server, all domain users have
read/write access. PC is accessing server remotely via VPN.

NET USE x: \\server\Public password /user:[email protected]
/persistent:NO

x:\Testing\Robocopy.exe x:\temp c:\testing /XO /TBD /NJS

net use x: /delete

When run on a Win XP sp1 machine, the drive is mapped, but no folders
are viewable when view in windows explorer... however the file copies
over correctly.

When run on a Win XP sp2 machine, again the drive is mapped but no
folders viewable, in addition get the error message "cannot find path"
when attempting to copy over the file.

Any idea why the folders aren't viewable (is it because explorer is
being runas a user other that used to map the drive?)

What I can do to successfully map and copy the file in all NT and above
OSs?

I would appreciate any comments or suggestions you may have....

Thanks
Diane
 
B

B Chriscoli

If they are using VPN, surely you'd have it so that they are already
authenticated (windows integration etc)?

Having to enter a user/pass when VPN'd in is strange.
 
E

elffi

B said:
If they are using VPN, surely you'd have it so that they are already
authenticated (windows integration etc)?

Having to enter a user/pass when VPN'd in is strange.

No, there is no authentication against the AD once the VPN connection
is established.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top