Solved

Map Network Drive when connecting to Microsoft VPN

Posted on 2013-01-04
12
590 Views
Last Modified: 2013-01-08
Hi,

I would like to know if there is a way to map network drive for my Microsoft VPN users.  All my network drive are mapped trough GPO on my local network but if a user di not logon to the local network at least once the network drive will not be mapped on their computer when they logon to the VPN.  Is there a solution ?
0
Comment
Question by:Tamaggo
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 4
12 Comments
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
ID: 38744982
You can create a batch file for them and include commands similar to:

net use x: \\server\share_name /persistent:yes
net use y: \\server\share_name2 /persistent:yes

Then copy it to their desktop and ask them to run it after connecting to the VPN.
0
 
LVL 1

Author Comment

by:Tamaggo
ID: 38745034
I was hoping that there was another solution than this one...  Making a batch file can be very tedious because i will have to be very specific for each user ...
0
 
LVL 1

Author Comment

by:Tamaggo
ID: 38745146
Is it possible to create a batch file that will map network drive based on Group membership?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 38745365
How would you determine the group membership if they are connecting via VPN?
0
 
LVL 1

Author Comment

by:Tamaggo
ID: 38745380
Since they are connecting to Microsoft VPN i was thinking that during authentication there would be a possibility of determining group membership or such...
0
 
LVL 76

Assisted Solution

by:Alan Hardisty
Alan Hardisty earned 500 total points
ID: 38745409
You can try kix scripts as per the following link:

http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=195611

This isn't something I have tried before, but might work from what I have read.
0
 
LVL 1

Accepted Solution

by:
Tamaggo earned 0 total points
ID: 38752338
Finally,

The only way i got it work was to install the Microsoft Resource Kit Tools (for the ifmember.exe file) and i had no other choice to create my own Batch file to map de drive.  Good thing that Resource Kit tools still work for Windows 8.

Saddly i was unable to find something more "automatic"
0
 
LVL 1

Author Comment

by:Tamaggo
ID: 38752807
I've requested that this question be closed as follows:

Accepted answer: 0 points for Tamaggo's comment #a38752338

for the following reason:

Wished to get something more automatic.
0
 
LVL 76

Expert Comment

by:Alan Hardisty
ID: 38752808
You asked for a way to do this and I provided a solution.  You then asked for a different solution and I offered an alternative and now you mention you were hoping for something more automated.

In future, it would benefit you and the volunteer Experts on EE trying to help you if you could ask more clearly for what you want in the question.

Objecting to the closure of the question as solutions have been presented based on the original question.
0
 
LVL 1

Author Comment

by:Tamaggo
ID: 38756363
I've requested that this question be deleted for the following reason:

I've found my own answer.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

No matter the version of Windows you are using, you may have some problems with Windows Search running too slow or possibly not running at all. Before jumping into how you can solve this issue, just know there are many other viable alternative deskt…
While working, an annoying popup showing below will come and we cannot cancel or close it form the screen. The error message will come again and again.
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question