Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatically Map Network Drives Using Cisco VPN Client?

Status
Not open for further replies.

mASTERgEE

IS-IT--Management
Sep 17, 2003
6
AT
Hi,

Is it possible to automatically map users' network drives when they connect to the network through the Cisco VPN Client Software?

I would like for users to have network resources available to them just as LAN users have. ie. Mapped home and public drives.

We have users logging onto a Microsoft Domain. Once a user is connected via the Cisco VPN they are not prompted for Microsoft credentials to access resources on the LAN. I believe that cached credentials are used. However users have to manually map their drives.

Any ideas, links, resources that can show me how to achieve this?

Thanks.


 
we wrote a batch file with netuse command to map drives. all the user needs to do is to run it after making the vpn connection.
 
If all of your users are Windows 2000/XP then you could write a batch file as mentioned before. However, when you do, make certain you make the batch file domain user aware or your script won't work for users who install the VPN client on their personal/home machines. For example, you could have the batch file query for a user to enter their username, then take that entry and input it into the net user command like so:

net use x: /user:Domain_Name\%username% \\servername\share

Obviously in the example above, you could place your own domain name in the 'Domain_Name' section and %username% would be populated automatically. Using the command Set /p will prompt a user for an entry. Follow Set /p with text to present a question like so:

Set /p username= Type your username here:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top