Jtoy68
asked on
Printer.VBS Scripting Error Message (80070709)
I just Implemented a new Terminal Server into my environment on Friday and now 5 out of 30 users are getting this scripting error message. If I have the users log back onto the old terminal server this error message is not present. I have removed the printer reference on the last line listed below of the printer script.vbs but I still continue to get this error message. I have also discovered that this printer is installed to my terminal server although it does not exist anymore and I didnt install the drive for it. I checked the 5 USERS in question to see if this was a profile issue but there profiles conform to out SOP. Can someone shed some light on how to proceed?
Error Message:
Script: \\ist\SysVol\IST\scripts\P rinters.vb s
Line: 6
Char: 1
Error: The printer name is incalid.
Code 80070709
Source: (null)
Printer Script:
'
' Printers.vbs - Windows Logon Script.
Set objNetwork = CreateObject("WScript.Netw ork")
objNetwork.AddWindowsPrint erConnecti on "\\appsrv\BizHub 500 PS"
objNetwork.AddWindowsPrint erConnecti on "\\appsrv\BizHub 350 PS"
objNetwork.AddWindowsPrint erConnecti on "\\appsrv\BizHub 350 PCL"
objNetwork.AddWindowsPrint erConnecti on "\\appsrv\7085 PS"
objNetwork.AddWindowsPrint erConnecti on "\\appsrv\KM 161" (this printer does not exist anymore - KONICA MINOLTA 161f PCL6)
Error Message:
Script: \\ist\SysVol\IST\scripts\P
Line: 6
Char: 1
Error: The printer name is incalid.
Code 80070709
Source: (null)
Printer Script:
'
' Printers.vbs - Windows Logon Script.
Set objNetwork = CreateObject("WScript.Netw
objNetwork.AddWindowsPrint
objNetwork.AddWindowsPrint
objNetwork.AddWindowsPrint
objNetwork.AddWindowsPrint
objNetwork.AddWindowsPrint
check the user registry if the printer is still listed there
addon: line 6 in this script is this line or?
objNetwork.AddWindowsPrint erConnecti on "\\appsrv\BizHub 350 PCL"
objNetwork.AddWindowsPrint
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.