Some Notes in Microsoft

a few more bits to help make it easier



Windows 7 libraries and network drive letter mapping

When this article was first written, 12/3/2009, when I searched the web, I found lots of pages which stated that drive letter mapping no longer works at all on Windows 7, or no longer works reliably enough to use.  Well, I spent quite a bit of time over a number of days working with a Microsoft rep who agreed, trying to work out a way to use shell libraries as an equivalent replacement — and while this was going on, lots of updates came in, and VBscript network drive letter mapping began working flawlessly.  Here is sample code:

On Error Resume Next
Dim objNetwork

Set objNetwork = CreateObject("WScript.Network")

objNetwork.MapNetworkDrive "Q:", \\SERVER_NAME\SHARE_NAME

However, new installs of 7 still often will not map drive letters reliably via login script.  All updates seem to be needed for this to work, even as of right now (3/3/2010).

Libraries can give a different problem.  Supposedly if one installs Windows Search 4.0 into Server 2003, libraries can then easily include both UNC and drive letter maps from the server.  But it doesn’t always work.  To make it easy, use this tool, the Win7 Library Tool:

http://zornsoftware.talsit.info/?p=3

Written by Jonathan E. Brickman

December 3rd, 2009 at 4:29 pm

Posted in LAN Networking

2 Responses to 'Windows 7 libraries and network drive letter mapping'

Subscribe to comments with RSS or TrackBack to 'Windows 7 libraries and network drive letter mapping'.

  1. Thanks for this post, I’ve been struggling to get network drive mapping on login to work reliably with Windows 7 for several months now. So after reading your post I decided to write a small utility that works around this issue. You can download it from here: http://zornsoftware.talsit.info/?p=129

    Mr. Bungle

    7 Mar 10 at 2:50 am

  2. That is wonderful! Thanks much!!!

    J.E.B.

    admin

    7 Mar 10 at 7:14 pm

Leave a Reply