The Printer Name is invalid (error 80070709)

Posted on 2007-08-06
Last Modified: 2013-12-05
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)
Question by:jjrules68
    1 Comment
    LVL 9

    Accepted Solution

    In Terminal Services Configuration, RDP-Tcp Properties,
    there is a tab names 'Client Settings' in which ou can check 'Connect client printers at logon'

    This will connect any printer existing in the user profile.
    Uncheck this checkbox or delete the obsolete printer from your 5 users' profiles.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How does your email signature look on mobiles?

    Do your employees use mobile devices to reply to emails? With mobile becoming increasingly important to the business world, it is in your best interest to make sure that your email signature looks great across all types of devices.

    Some time ago I faced the need to use a uniform folder structure that spanned across numerous sites of an enterprise to be used as a common repository for the Software packages of the Configuration Manager 2007 infrastructure. Because the procedu…
    As network administrators; we know how hard it is to track user’s login/logout using security event log (BTW it is harder now in windows 2008 because user name is always “N/A” in the grid), and most of us either get 3rd party tools, or just make our…
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now