Tuesday, October 27, 2009

Windows Vista / 7 Network Drive Mapping

All of my consulting clients that have Windows Server 2003 networks use a Windows Visual Basic Script (VBS) to map the network printers and drives upon the user login. Since adding two Windows 7 systems the network printer mapping script runs, but very slowly, and the network drive mapping script doesn't run automatically. I've found if I run the script manually then the drives are mapped just fine.

I was able to correct this by modify the registry, adding a 32-bit DWORD entry and value of 1. Save the following text into a Notepad document, save it with a ".reg" extension, then double-click on the file to add the key "EnableLinkedConnections" with the DWORD value of "1". This allowed my network drive mapping script to run successfully each time.

Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System] "EnableLinkedConnections"=dword:00000001

No comments: