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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VPN Connection, users logging in with script

Status
Not open for further replies.

Lebanese007

Technical User
Apr 28, 2003
1
US
hi... i have a question... i'm using VPN to get to my server (windows 2003)... and i would like to let the users who are logging in to have a mapped drive already mapped for them. instead of going to each computer and mapping the drive for them.
What i did is i created a batch file that includes "net use u: \\servername\sharedfolder". and put it under "c:\windows\sysvol\sysvol\[domainname]\scripts". then in active directory, i right clicked the [domainname], properties, group polices, edit, under defualt domain policy, i went to windows settings, scripts, startup, right clicked on it, properties, then i broswered to the batch file "c:\windows\sysvol\sysvol\[domainname]\scripts".

it worked when my compter is part of the domain, and clicking the "log in with dial access" while loggin in.

it doesn't work when i just log in to my computer locally (not part of the domain) and just clicking on a shortcut that establishes the VPN session!!!!

thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top