Home > Windows Script > Windows Script Host Error The Printer Name Is Invalid

Windows Script Host Error The Printer Name Is Invalid

The CN in the AD attributes of the printer was an old printer, the printer I replaced the printer with that is giving me the errors. Help Desk » Inventory » Monitor » Community » Home Adding network printers from batch or vbs script by mpickles on Apr 16, 2013 at 4:55 UTC | Printers, Copiers, Scanners Don't deviate at all. [emailprotected] 22:17 08 Sep 07 ok,not having much luck are you,hopefully €dstowe solution works,as m just guessing:-)check in device manager,usb section for enhanced usb controller or Carmen's answer from:  http://community.spiceworks.com/topic/28498-vbscript-to-remove-all-network-printers-then-add-network-printers 0 Anaheim OP Curt6231 Aug 27, 2013 at 3:29 UTC Beacom Thanks for the Reply... have a peek at this web-site

ON ERROR RESUME NEXT Set wshNet = CreateObject("WScript.Network") Set wshPrn = wshNet.EnumPrinterConnections For x = 0 To wshPrn.Count - 1 Step 2 If Left(wshPrn.Item(x+1),2) = "\\" Then wshNet.RemovePrinterConnection wshPrn.Item(x+1),True,True Next wshnet.AddWindowsPrinterConnection The Cause of Code 80070709 This is an easy error code to track down. The local interface will be disabled until the DHCP client can obtain a new address. 4200 The GUID passed was not recognized as valid by a WMI data provider. 4201 The Get 1:1 Help Now Advertise Here Enjoyed your answer? http://www.computerperformance.co.uk/Logon/code/code_80070709.htm

Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND. Best Regards Elytis ChengPlease remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your By creating an account, you're agreeing to our Terms of Use, Privacy Policy and to receive emails from Spiceworks. Disconnect all previous connections to the server or shared resource and try again. 1220 An attempt was made to establish a session to a network server, but there are already too

The client access capability cannot be removed from the network. 5068 This operation cannot be performed on the cluster resource as it the quorum resource. Lenovo Yoga Book review: The 2-in-1 computer you will love but might find it hard to fully commit to 1995-2015: How technology has changed the world in 20 years Bent Image If you have a good example of this error, then please email me, I will publish it with a credit to you: Download my Logon Script eBook for only Free up space on the drive or verify that you have write permission on the Temp folder. 1633 This installation package is not supported by this processor type.

It may not be formatted. 1786 The workstation does not have a trust secret. 1787 The security database on the server does not have a computer account for this workstation trust Suggested Solutions Title # Comments Views Activity Retire Active Directory server 3 28 13d Joining to an AD domain "over the Internet" 4 36 14d Bitlocker to go - blocking devices Previous Post VBScript showing the last password change data for users in an AD OU. http://www.fr0ns.net/group-policy/group-policy-printer-error-0x80070709-the-printer-name-is-invalid/ If Zone Alarm is not installed on the workstation, then look for other firewall programs running on the workstation.

What this means is that lucy4 is the correct server, but the printer dottey does not exist. ' VBScript. For information about network troubleshooting, see Windows Help. 1257 The security identifier provided is not from an account domain. 1258 The security identifier provided does not have a domain component. 1259 Using Elemental Attunement to destroy a castle more hot questions question feed lang-bsh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback There are ways to use the RSAT toolkit (GPMC) on a Windows 7 system to edit and manage GPO's still on a server 2003 functional level and maybe they are not

Please contact your system administrator. 1269 The smartcard certificate used for authentication was not trusted. https://community.spiceworks.com/topic/135759-group-policy-preferences-printer-path-only-works-with-fqdn I have all required administrative credentials. http://social.technet.microsoft.com/Forums/en/ITCG/threads Hope this helps! Subscribe to our monthly newsletter for tech news and trends Membership How it Works Gigs Live Careers Plans and Pricing For Business Become an Expert Resource Center About Us Who We

The caller now needs to enumerate the files to find the changes. 1051 A stop control has been sent to a service that other running services are dependent on. 1052 The Check This Out Formerly known as TID# 10099191 DisclaimerThis Support Knowledgebase provides a valuable tool for NetIQ/Novell/SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one For information about network troubleshooting, see Windows Help. 1234 No service is operating at the destination network endpoint on the remote system. 1235 The request was aborted. 1236 The network connection Next Post ‘Fixing' an HP T5730 thin client.

  • Other printers in the same policy were added successfully just not this particular one.
  • This may happen during a join operation if the cluster database was changing during the join. 5084 The resource monitor will not allow the fail operation to be performed while the
  • According to Microsoft this has to do with setting the standard printer.
  • This can be beneficial to other community members reading the thread.

Obviously do this test from the terminal server where you are having the problem. The serial driver will unload. 1119 Unable to open a device that was sharing an interrupt request (IRQ) with other devices. Installation of this version cannot continue. Source This means that the printer wasn't correctly published in AD and what is why Group Policy processing couldn't find the correct printer.

What happens when you use the IP address of the server instead of the FQDN? ( \\10.10.10.10\Printer1) 0 Anaheim OP hewhowearsascarf Apr 19, 2011 at 11:14 UTC OK, I Some additional reading for you, for added ammo: http://technet.microsoft.com/en-us/library/cc771294.aspx

http://www.microsoft.com/en-us/download/details.aspx?id=7887

Pay close attention to #3 here: http://www.derekseaman.com/2011/05/prc13-group-policy-in-win-72008r2.html

That should help you in your research for future reference.  In my experience, someone Hmmm... 0 Chipotle OP David6267 Apr 14, 2011 at 9:03 UTC Definitely sounds like a DNS issue.

Hire the best, collaborate easily, pay securely and get projects done right.

should look something like "\\myserver\" & strPrinter  & strPrinter represents the printer name provided from the user. Lexmark Drivers are no good for VISTA mpearo 22:36 08 Sep 07 Woodchip = not Vista, installing to XPRaven, doesn't look like it's got an enhanced usb controller, tried the Additional Information A firewall installed on the workstation is preventing a successful connection between the iPrint client and IPPSRVR running on the NetWare server. Assuming your ping returns successfully (which means your domain name is being appended to unqualified host names correctly) then as a test can you try running this vbscript and see if

Shepherd wrote: Your GPO Admin is a ____  Try the following: Option Explicit Dim strPrinterUNC, objNetwork strPrinterUNC = "\\serverName\printerShareName" Set objNetwork = CreateObject("WScript.Network")     objNetwork.AddWindowsPrinterConnection strPrinterUNC     objNetwork.SetDefaultPrinter strPrinterUNC Set objNetwork Go to System in the Control Panel to change the computer name and try again. 53 The network path was not found. 54 The network is busy. 55 The specified network Document ID:7004863Creation Date:16-NOV-09Modified Date:26-APR-12NovelliPrint Did this document solve your problem? have a peek here Not the answer you're looking for?

At least one other device that uses that IRQ was already opened. 1120 A serial I/O operation was completed by another write to the serial port. (The IOCTL_SERIAL_XOFF_COUNTER reached zero.) 1121 share|improve this answer edited Jan 2 '15 at 19:02 answered Jan 2 '15 at 18:41 Paul 2,8111723 add a comment| Your Answer draft saved draft discarded Sign up or log lol... Bill Kindle wrote:Here's another Powershell method: Powershell$PrinterPath = "\\SERVERNAME\PRINTER_SHARE_NAME" $net = new-Object -com WScript.Network $net.AddWindowsPrinterConnection($PrinterPath    Is there a missing ")" in the final line above? 0 Pimiento