I am trying to edit the SBS_LOGIN_SCRIPT.bat and I have the below file: \\SERVER\NETLOGON\logon.vbs
logon.vbs:
What am I suppose to add into the SBS_LOGIN_SCRIPT.bat to make the VB script run? I have tried calling it via a Batch file but that didnt even work. I have also tried calling it through call ...path..\login.vbs that to no avail. Can anyone please help.Code:Set wshNetwork = CreateObject("WScript.Network") wshNetwork.MapNetworkDrive "h:", "\\SPSBS\users\" & wshNetwork.UserName wshNetwork.MapNetworkDrive "g:", "\\SPSBS\gemensam" & wshNetwork.UserName


Reply With Quote
Bookmarks