So: Use the exact name (aka copy) from the inf file. If you still need help, please start a new question. Question 0 Sign in to vote Hi Guys, Im having some trouble trying to get prndrvr.vbs to work and keep getting Win32 error code 87. Tuesday, February 22, 2011 5:06 PM Reply | Quote Answers 0 Sign in to vote Hi, You're asking for help with a standard Microsoft tool (which happens to be a VBS Source
I do have a workaround so I am going to go with that. Login. Moreno on Oracle ODBC Drive Configuratio… Archives July 2016 March 2016 January 2016 December 2015 September 2015 August 2015 July 2015 June 2015 May 2015 February 2015 January 2015 December 2014 Just click the sign up button to choose a username and then you can ask your own questions on the forum.
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. If you're having a computer problem, ask on our forum for advice. Bookmark the permalink. ← Citrix Provisioning Services blue screen error0x0000001A Unattended installation of a language pack in Windows 7SP1 → 2 Responses to Add printer driver to Windows 7 8 2008 echo 2. Phaser 3600.
this works G:\hp3800>rundll32 printui.dll,PrintUIEntry /if /b "Test Printer" /f G:\hp3800\hpc3800c.inf /r "lpt1:" /m "HP Color LaserJet3800 PCL 6" G:\hp3800>rundll32 printui.dll,PrintUIEntry /ia /K /m "HP Color LaserJet 3800 PCL 6" /h "Windows 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 The script to add a printer driver is: Cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "Xerox Global Print Driver PCL" -i "C:\Xerox\x2UNIVL.inf" -a is Add -m is the Name -i is the location of Win32 Error Code 1797 Join our community for more solutions or to ask questions.
did you expand the 26 cabs in the package and attempt to install with a flat file share? Prndrvr.vbs Win32 Error Code 87 It takes just 2 minutes to sign up (and it's free!). Any HP driver that has a driver who's .inf [Strings] section looks similar to the second posting failes with the "Win32 error code 2" error. http://blog.ogwatermelon.com/installing-printers-using-prnmngr-vbs/ Advertisements Latest Threads Titanfall 2 Review Becky posted Oct 31, 2016 at 5:21 PM create a form calling macros Ramona626 posted Oct 31, 2016 at 2:52 PM Hi Carl Johnman posted
Name Every driver has a name. Prndrvr.vbs Switches If I install the driver manually using the UI it installs without any issues. prndrvr.vbs just invokes rundll32 interfaces. I just wanted to throw out what I have been doing and you can even do this over a network.
If I comment that out the whole script runs fine. Hello and welcome to PC Review. Win32 Error Code 87 Unable To Add Printer komplikator October 30th, 2011 at 20:13 I just tried this, and also got Error Code 87. Prndrvr.vbs Error Code 5 Cheers, Eddie Wednesday, February 23, 2011 4:55 PM Reply | Quote 0 Sign in to vote Does anyone know of a powershell resource that doesnt use prndvr?
Bill Marked as answer by IamMredMicrosoft employee, Owner Friday, February 25, 2011 4:54 AM Unmarked as answer by Edward Humphrey Friday, February 25, 2011 1:47 PM Wednesday, February 23, 2011 9:25 http://prcflow.com/error-code/canon-printer-error-5012.html Wednesday, February 23, 2011 7:05 PM Reply | Quote 0 Sign in to vote Hi, I recommend contacting the driver manufacturer to find out what the correct technique is for what I have also used these scripts on Windows 7 and they worked. I have used them on Windows 7, they are just not part of the OS anymore. Prndrvr.vbs Examples
You can do more than what I did here. You can find the driver here: > http://h20000.www2.hp.com/bizsuppor...&swLang=8&mode=2&taskId=135&swItem=lj-35621-2 > Alan Morris [MSFT], Oct 30, 2006 #4 Guest Alan I appreciate your assistance and information regarding this problem I am having. Again, If you cannot find the information from the INF file, you can always install the driver on a dummy system. http://prcflow.com/error-code/error-code-40-unable-to-find-required-install-files.html Error code 87 means nothing to us.
echo x. Unable To Add Printer Driver Win32 Error Code 2 All of the 8 printers I had built into the disk installed fine. Here are the two im using: cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "Brother FAX-8750P" -v 3 -e "Windows x64" -h C:\Windows\System32\DriverStore\FileRepository\prnbr001.inf_amd64_neutral_aad7da6d7cd23042 -i C:\Windows\System32\DriverStore\FileRepository\prnbr001.inf_amd64_neutral_aad7da6d7cd23042\prnbr001.Inf cscript C:\Windows\System32\Printing_Admin_Scripts\en-US\prndrvr.vbs -a -m "Lexmark Universal XL" -v 3 -e
Join Now For immediate help use Live now! They both mean the script can't find the driver. AntonioGNAL September 27th, 2011 at 06:35 Hello, Your script is really helping me, this is exactly what i need. Unable To Add Printer Error 0x80041001 Generic Failure Anyone else run into this problem?
Are all the files in c:\test\3800 or in subdirectories under this? Sign In · Register Home › Visual Basic › Beginner VB Howdy, Stranger! Suggested Solutions Title # Comments Views Activity Wildcard help for adding antivirus exclusions on 2012 server 1 431 258d Windows XP on Acer Aspire One 49 143 149d Need to Copy http://prcflow.com/error-code/mvmc-is-unable-to-create-a-volume-snapshot-set-on-error-code-0x809933bb.html An error code of 87 is received as soon as the command is ran, where as the error code 2 takes about 10 seconds to return the error.
The problem I have is that I get an error 87 every time I run it.