Solved

Map Network Drive when connecting to Microsoft VPN

Posted on 2013-01-04
12
586 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
  • 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
 
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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Ever wondered why Windows 8 and 10 don't seem to accept your GPO-based software deployment while Windows 7 does? Read on.
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now