Auto mapping

G

Guest

I have a PC a nd a laptop.
i shared two directories on the pc and mapped them on the laptop.
i want the lap top to auto identify using a specific user on the PC.

i mapped the drive and at the user name i entered "PC\user" and correct
password.
the problem is that after reboot when i want to access the mapped drive at
the laptop im being prompt for password.

How can i make it auto map with this user and pass?


Both computers use XP SP2 PRO
 
G

Guest

Simplest approach is a batchfile containing:

net use driveletter: \\computername\sharename /user:username password

The only disadvantage is that this exposes the password in plaintext. If
this is a problem then investigate AutoIt's DriveMapAdd function, whichj can
be run from within a compiled executable, reducing the risk of password
misappropriation.
 

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