Question Locked

Mapped drive batch file

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I am new to this so bear with me. I have seen several posts of batch files to map network drives after a VPN connection but they do not explicitly say what to do next. I need to know what to do after you create the batch file. Do you copy the batch file to the server then create a shortcut on the users desktop? If so where exatly is the batch file copied to.

3 replies

by wizard-09

You can have the GPO call the bat file from the server then execute it when they logon via vpn, you could have a shortcut on the desktop for the mapped drives and have the user launch it, or you could stick it in the startup menu.

Keep us informed as to your progress if you require further assistance.

If you think that any of the posts that have been made by all TR Members, have solved or contributed to solving the problem, please Mark them as Helpful so that others may benefit from the outcome.

by unhappyuser

I created a batch file to automatically install the VPN client onto a PC. It will then set up the appropriate permissions, add shortcuts on the users' desktop so they can connect/disconnect to the remote site via the VPN, map/unmap a drive to the correct server and open Windows Explorer to the appropriate folder.

We have just a few users that need this so it's been burned to a CD. Pushing a batch file out via a GPO is a good idea.

EMD

This discussion is closed to new replies.