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

Windows 7 mapped drives lost when not on network

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
0
amforem
Asked:
amforem
2 Solutions
 
yo_beeDirector of Information TechnologyCommented:
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.

http://vimeo.com/16289615
http://blogs.technet.com/b/askds/archive/2009/01/07/using-group-policy-preferences-to-map-drives-based-on-group-membership.aspx

If you are looking to map using the batch you might be missing the switch /persistent:yes
net use g: "\\server1\share1" /persistent:yes
0
 
pvlierCommented:
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:
http://www.windowsnetworking.com/articles_tutorials/VPN-Single-Sign-On-Windows-7.html
0
 
zeusie85Commented:
I'm with yo_bee Group Policy simplifies network mapping a lot easier
0
 
amforemIT ManagerAuthor Commented:
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
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

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