Auto mapping

  • Thread starter Thread starter Guest
  • Start date Start date
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
 
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.
 
Back
Top