Link to home
Start Free TrialLog in
Avatar of Jtoy68
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\Printers.vbs
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.Network")
objNetwork.AddWindowsPrinterConnection "\\appsrv\BizHub 500 PS"
objNetwork.AddWindowsPrinterConnection "\\appsrv\BizHub 350 PS"
objNetwork.AddWindowsPrinterConnection "\\appsrv\BizHub 350 PCL"
objNetwork.AddWindowsPrinterConnection "\\appsrv\7085 PS"

objNetwork.AddWindowsPrinterConnection "\\appsrv\KM 161"      (this printer does not exist anymore - KONICA MINOLTA 161f PCL6)
Avatar of merowinger
merowinger
Flag of Germany image

check the user registry if the printer is still listed there
addon: line 6 in this script is this line or?
objNetwork.AddWindowsPrinterConnection "\\appsrv\BizHub 350 PCL"
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial