windows 2003 sbs currently patched
clients are a mix of windows xp, vista, and windows 7.
Here is a simple login script I created. If I manually run the script it works just fine and they are no errors. If I set the loginscript under the users profile for the AD account. it does not appear to be running. Non of the printers get map, nor does the drive mappings occur. What am I doing wrong here. The issue happens on XP, I have yet to test on vista or windows 7 yet.
one more thing yes I am calling the script from \server.local\NETLOGON\tmg_login.vbs
Option Explicit
Dim WSHShell, wshNetwork
Set WSHShell = CreateObject("WScript.Shell")
Set wshNetwork = CreateObject("WScript.Network")
wshNetwork.AddWindowsPrinterConnection "\\server.local\TMG-HP3600"
wshNetwork.AddWindowsPrinterConnection "\\server.local\TMG-xerox2240"
'wscript.sleep 30
wshNetwork.MapNetworkDrive "S:","\\server\DATA", True
WScript.Quit
Best Answer
Try calling it without the full path. Just having "tmg_login.vbs" in Login Script should also work if the script is at the root of netlogon.