• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 604
  • Last Modified:

Map Network Drive when connecting to Microsoft VPN

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
Tamaggo
Asked:
Tamaggo
  • 6
  • 4
3 Solutions
 
Alan HardistyCo-OwnerCommented:
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
 
TamaggoAuthor Commented:
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
 
TamaggoAuthor Commented:
Is it possible to create a batch file that will map network drive based on Group membership?
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

 
Alan HardistyCo-OwnerCommented:
How would you determine the group membership if they are connecting via VPN?
0
 
TamaggoAuthor Commented:
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
 
Alan HardistyCo-OwnerCommented:
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
 
TamaggoAuthor Commented:
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
 
TamaggoAuthor Commented:
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
 
Alan HardistyCo-OwnerCommented:
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
 
TamaggoAuthor Commented:
I've requested that this question be deleted for the following reason:

I've found my own answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 6
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now