Home > Error Code > Unable To Add Print Driver Error Code 87

Unable To Add Print Driver Error Code 87


On Error Resume Next strComputer = InputBox("Computer to install printer on." & vbCrlf & vbCrlf & "For local install, use a Full Stop "".""") PPrinter = InputBox("Set the printer name the Yes, all the driver files are in the C:\Test\3800 folder. Name Every driver has a name. My batch file used this line to install the driver:  Cscript "C:\FAIS\Printers\Scripts\Prndrvr.vbs" -a -m "Xerox GPD PCL6 V3.5.404.8.0" -i "C:\FAIS\Printers\Drivers\Xerox Drivers\x2UNIVX.inf" -h "C:\FAIS\Printers\Drivers\Xerox Drivers" >nul And this this line to attach his comment is here

Contact me and let me do the trick. Hello and welcome to PC Review. echo              2.  Phaser 3600. If on the command line I specify a .inf that doesn't exist, I receive error code 87, if I specify a Driver name that doesn't exist in the ..inf I receive

Unable To Add Printer Error Code 87

Ralph Jansen - Author IT Tech Log Follow me on Twitter Ruime instapklare woning te koop in #Nuenen zie #Funda bit.ly/2eMAQ3J #Geldrop #Mierlo #Eindhoven #SonEnBreugel #Helmond #Veldhoven 5daysago Categories App-V AppSense In any case, this thread is already marked as answered. About Us PC Review is a computing review website with helpful tech support forums staffed by PC experts. Make sure everything is spelled ok.

  1. You can find out how the driver is named by opening the INF file.
  2. Hi, thanks for the reply.
  3. I get the same message (Win32 error code 5) if I try to install the Lexmark universal driver, but I get error code 87 for the HP Laserjet universal driver.
  4. Leave a Reply Cancel Name (required) Mail (will not be published) (required) Website You can use these HTML tags
  5. Eric , Oct 27, 2006 #1 Advertisements Alan Morris [MSFT] Guest error 2 is File Not Found.

Ive tried googling it but it just says wrong syntax but ive gone over and over it and it and i carnt find them problem. Do I need to elevate the cmd prompt line some how? Get 1:1 Help Now Advertise Here Enjoyed your answer? Unable To Add Printer Driver Win32 Error Code 2 Ran as local admin, non elevated command prompt and received the same error 5.

Windows 7 64-bit, Windows XP Service Pack 2, etc)? Prndrvr.vbs Win32 Error Code 87 thanks heaps for the info and comments. All rights reserved. https://ittechlog.wordpress.com/2012/12/28/add-printer-driver-to-windows-7-8-2008-r2-using-a-command-line/ Reply TheWagner says: June 28, 2013 at 2:10 PM Thank you very much for this.

Join & Ask a Question Need Help in Real-Time? Prndrvr.vbs Examples I just wanted to throw out what I have been doing and you can even do this over a network. I am curious if you are able to install this print driver using prndrvr.vbs? Tom Monday, July 15, 2013 2:57 PM Reply | Quote 0 Sign in to vote Hi, This question was marked as answered over two years ago.

Prndrvr.vbs Win32 Error Code 87

It does this via a c… Document Imaging Document Management Adobe Acrobat Images and Photos Photos / Graphics Software PRTG Quick Overview (07:27) Video by: Kimberley Get a first impression of learn this here now Well, without posting the whole driver .inf here is an example of a driver's .inf [Strings] section that works fine: [Strings] Printer1="HP LaserJet 4100 PCL 5e" DiskID1="HP LaserJet 4100 PCL 5e Unable To Add Printer Error Code 87 For standard Win32 error codes, you can use the net helpmsg command to get the error's string representation: C:\>net helpmsg 87 The parameter is incorrect. Unable To Add Printer Driver Win32 Error Code 5 Basically, the script checks to see if a printer driver directory exists on the machine and if not, copies over the drivers and windows built in VBS files to install them,

How is the printer connected to the computer (USB, wireless, or Ethernet)? http://centralpedia.com/error-code/unable-to-add-printer-error-code-87.html All rights reserved.Newsletter|Contact Us|Privacy Statement|Terms of Use|Trademarks|Site Feedback TechNet Products IT Resources Downloads Training Support Products Windows Windows Server System Center Browser   Office Office 365 Exchange Server   SQL Server Guest I have been using prndrvr.vbs and prnmgr.vbs to automate the installation of any one of the hundreds of printers in our organization. echo. Win32 Error Code 1797

The drivers will still be installed to the right locations and if the script if otherwise good, the printer object should be created. see output from non working PC below C:\Users\OFFICE~1\AppData\Local\Temp\IXP000.TMP>cscript c:\windows\system32\prin ting_admin_scripts\en-us\prndrvr.vbs -a -m "TOSHIBA e-STUDIO4520CSeriesPCL6" -h "\..\eS4ex6.INF" Microsoft (R) Windows Script Host Version 5.8 Copyright (C) Microsoft Corporation. So im stuck in the middle with neither party giving me solution. weblink Now with Tutorials & Support menu Whirlpool Go to navigation Whirlpool Search Forums Archive Server management Windows prndrvr.vbs printer scripting Last updated: 21 May 2010 Archive View Return to standard view

For the HP Universal Print Driver, it is named "HP Universal Printing PCL6". Unable To Add Printer Error 0x80041001 Generic Failure Richard MuellerMVP ADSI Tuesday, February 22, 2011 6:33 PM Reply | Quote Moderator 0 Sign in to vote After the -e parameter i have the path with is : C:\Windows\System32\DriverStore\FileRepository\lmud0c40.inf_amd64_neutral_742d8fe9350bbd47\ And It's easy!

Bill Tuesday, February 22, 2011 5:38 PM Reply | Quote Moderator 0 Sign in to vote The error "Unable to add printer" in prndrvr.vbs is raised on the last statement in

Join and Comment By clicking you are agreeing to Experts Exchange's Terms of Use. Reply 0 0 VisionAiry Distinguished Professor Posts: 3,396 Member Since: ‎02-15-2013 Message 4 of 4 (1,119 Views) Report Inappropriate Content Re: M1522nf error - unable to install print driver hpfax1 Options I had to play with the path and name of the folder to get theses drivers to install correctly. Prndrvr.vbs Switches Additionally, similar batch files work just fine on these 'other PC's; but, I think the problem is 'Printer Driver' Specific. @echo off rem "Printer Automation" rem "Mapping the network drive"

It appears to me that file not found, > or driver entry not found would result in an error code of 87. > > I am curious, can anyone install the I'm still encountering issues with the HP universal driver (error 87) We use this printer driver too and dug out my old startup script. I am curious if you are able to install this > print driver using prndrvr.vbs? > > Thanks > Eric > Alan Morris [MSFT], Oct 31, 2006 #6 Guest I check over here So if this will work for you check it out and there is more functionality than the little bit that I used it for.

Then I used it on a few old XP machines we still keep around and 3 of the printers would not install. I am just happy I was able to find a work around. Unable to add printer SmallCopyToshibaPCL6 Error 0x80041001 Generic failure Operation PutInstance Provider Win32 Provider Description The printer driver is unknown. Reply 0 0 HKHGH Student Posts: 1 Member Since: ‎05-16-2013 Message 3 of 4 (1,137 Views) Report Inappropriate Content Re: M1522nf error - unable to install print driver hpfax1 Options Mark

Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... Oddly however, for this driver I cannot use the /q switch for quiet. I do have a workaround so I am > going to go with that. > > Thanks for you assistance. > Eric Michaud > Alan Morris [MSFT], Nov 1, 2006 Thanks.

Sign in here. If I install > the driver manually using the UI it installs without any issues. > > By using both driver names I am assuming you are referring to "HP Color You can find the Name if you run the following command: rundll32.exe printui.dll,PrintUIEntry /ii /f C:\epson374750eu\E_GF1HKP.INF replace C:\epson374750eu\E_GF1HKP.INF with the name of your INF file. Richard Windows XP Setup 0 02-13-2004 03:23 AM Developed by Xeonext Web Solutions Contact Us Archive Top Copyright 2005 - 2007 RealGeek.com.

Unable to add printer driver Win32 error code 87 Responses to "Unable to add printer driver Win32 error code 87" Cameron Shaw Alan Morris [MSFT] Guest Posts: n/a Re: Unable Here is a typical command line that works fine to add a driver: cscript c:\test\prndrvr.vbs -a -h "C:\Test\4100" -i c:\test\4100\hp4100p5.inf -m "HP LaserJet 4100 PCL 5e" HP's new drivers have a