Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Windows 7 mapped drives lost when not on network

Posted on 2012-09-15
Medium Priority
Last Modified: 2012-10-16
I have a 2008R2 domain with Windows 7 computers.  Have setup a logon script that maps certain drives when a user logs on.  As long as the user is connected to the network and logs onto the domain they get their mapped drives.  But if they go mobile and are not connected to the network they lose their mapped drives.  Drives that have been manually mapped still show up but those that are done thru the logon script do not.  This is a problem when they are mobile and connect to our network with a VPN and cannot access the drives they need.

Is there a way of keeping the mapped drives whether they are on the network or not?

Thanks for any suggestions
Question by:amforem
LVL 24

Accepted Solution

yo_bee earned 1000 total points
ID: 38402166
why use a script when you can use Group Policy Preferences to map your drives.
This will at least help simplify the process vs. batching it.


If you are looking to map using the batch you might be missing the switch /persistent:yes
net use g: "\\server1\share1" /persistent:yes

Assisted Solution

pvlier earned 1000 total points
ID: 38402237
You can also specify at the logon screen that you want to logon using a VPN connection. That way the GP's will be processed at logon presenting your users with al settings like they have when connected to the network.

More information can be found here:

Expert Comment

ID: 38404438
I'm with yo_bee Group Policy simplifies network mapping a lot easier

Author Comment

ID: 38409435
I am currently on the road right now which is why the question came up.  As soon as I get off the road I will try your suggestions to see which one works for me.

Thanks for your help

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
A quick guide on how to use Group Policy to create a custom power plan and set it active on Windows 7.
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
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…
Suggested Courses

581 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