Why won't my logon scripts map drives under Windows 7?
Posted
by Steven
on Server Fault
See other posts from Server Fault
or by Steven
Published on 2009-12-17T16:31:28Z
Indexed on
2010/05/17
21:21 UTC
Read the original article
Hit count: 339
Why won't my logon scripts map drives under Windows 7?
I'm using a vb script similar to the one below, the script runs using a group policy.
Dim WshNetwork
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.MapNetworkDrive "g:", "\\\Saturn\data\"
WshNetwork.MapNetworkDrive "k:", "\\\Saturn\stuff\"
Works fine for Windows XP.
Update: Copying the script locally and running it runs fine so I suspect the Group Policy isn't running the script on Windows 7.
Many thanks Steve
© Server Fault or respective owner