echo. Now they run this batch file: cscript c:\windows\system32\printing_admin_scripts\en-us\prnport.vbs -a -r "HP2100" -h 192.168.1.116 -o raw -n 9100 cscript c:\windows\system32\printing_admin_scripts\en-us\prnmngr.vbs -a -p "HP2100" -m "HP Universal Printing PCL 6" -r "HP2100" . echo 3. HP 4600 echo 4. HP 2055 echo. There's something i'm missing, could you help me? @echo off echo ======================================================================= echo PRINTER INSTALLATION echo ======================================================================= echo. navigate to this website
After installing the driver, there is an entry created under HKLM\System\CurrentControlSet\Control\Print\Environments\*Environment*\Drivers\Version-*\*name* Can't get the solution to work? Batch file runs successfully when run on the local machine as admin. What's causing this driver problem? Developers 845 25,681 posts #4 · Posted June 1 Try something like: RunWait(@COMSPEC & ' /c 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"') RunWait(@COMSPEC & https://social.technet.microsoft.com/Forums/scriptcenter/en-US/b6f55419-990d-4629-b340-fa48018e14a1/unable-to-add-driver-pcl6-driver-for-universal-print-win32-error-code-5?forum=ITCG
Join Now For immediate help use Live now! Here's a detailed How-To I made, based on some of the info I found in your script: http://community.spiceworks.com/how_to/37339-remotely-install-configure-printers-from-a-command-prompt Thai Pepper Sep 26, 2013 Sam Middleton Construction, 501-1000 Employees Got this If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s… Windows OS Windows XP Windows 7 Mac OS X
Sonora Dec 21, 2011 slome Manufacturing, 101-250 Employees What are the 3 scripts you retrieve and copy into the local scripts folder? If you're interested in additional methods for monitoring bandwidt… Network Analysis Networking Network Management Paessler Network Operations Advertise Here 737 members asked questions and received personalized solutions in the past 7 As per your suggestion, I changed the c to a k and it's throwing up an error with each one - "Unable to add printer driver (long xerox driver name) Win32 Cscript Error Code 87 So, it helps to look at the VBS script, prndrvr.vbs, to see examples of how to use the parameters.
I have about 75 printers (from 5+ different manufacturers and 15+ different models) in our environment and have used this successfully for every single one. Unable To Add Printer Driver Win32 Error Code 87 Thanks 0 LVL 40 Overall: Level 40 Installation 30 VB Script 5 Printers and Scanners 2 Message Active today Expert Comment by:Vadim Rapp2015-11-13 Your first post was about getting error Yes, my password is: Forgot your password? Win32 Error Code 87.
So start simple: ensure you have the correct commandline by running it from an elevated CMD prompt. Win32 Error Code 1797 Let’s get started. set /p _sel=Enter number: if "%_sel%" == "1" call goto HPUPD if "%_sel%" == "x" call goto END exit :HPUPD cd c:\WINDOWS\System32 cscript Prndrvr.vbs -a -m "HP Universal Printing PCL 5 Win32 error code 1797 H:\> 0 Message Active 1 day ago Author Comment by:Pkafkas2011-12-29 What does the part of the code, in line 14 supposed to do: "V:\\2015\\" -i "V:\\2015\\eS6cx2.inf"
Then I used it on a few old XP machines we still keep around and 3 of the printers would not install. Sure makes my job easier not having to install printers for users and I hate using server-based printers. Prndrvr.vbs Win32 Error Code 87 Virtualization I've got a few things I need to hook up. Prndrvr.vbs Switches Sign Up Now!
Script Center Sign in United States (English) Brasil (Português)Česká republika (Čeština)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)România (Română)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 (中文)台灣 (中文)日本 (日本語) HomeLibraryLearnDownloadsRepositoryCommunityForumsBlog Ask http://bsdupdates.com/error-code/prndrvr-vbs-error-code-2.php 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. Now I have "Added printer driver Canon iR3025 UFR II" message! :D Works like a charm! Sure, we can use 3th party products as RES Automation Manager to install printer drivers but that product has a price. Unable To Add Printer Error 0x80041001
All rights reserved. Take that correct command and put that into the script with the #RequireAdmin and RunWait statements. Thanks!!!! http://bsdupdates.com/error-code/prndrvr-vbs-error-code-5.php Solved Unable to add printer driver --- Win32 error code 87 Posted on 2011-12-28 MS DOS Windows XP 1 Verified Solution 7 Comments 8,649 Views Last Modified: 2013-04-04 Hello: I have
Suggested Solutions Title # Comments Views Activity Wildcard help for adding antivirus exclusions on 2012 server 1 428 250d Correct way to use if / else command 3 49 226d partition Prndrvr.vbs Examples It does this via a c… Document Imaging Document Management Adobe Acrobat Images and Photos Photos / Graphics Software How to Send a Secure eFax Video by: j2 Global Sending a Brent October 14th, 2011 at 11:59 That's pretty cool.
One line, which starts with "const L_Help_Help_General20_Text," Go to Solution 7 Comments LVL 42 Overall: Level 42 Printers and Scanners 12 Installation 4 VB Script 1 Message Active today Expert If it runs with admin rights manually, you probably need to switch to an online kscript and use the "run as" option. 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 get redirected here But i'm getting an error with this line: cscript Prndrvr.vbs -a -m "HP Universal Printing PCL 5 (v5.3)" -v 3 -e "Windows NT x86" -i "C:\Archivos de programa\PrintDrivers\HP\UPD\53110527\WS2003x32\PCL5\hpbuio20l.inf" Could you help
REM Most sharp printers have this "2kXPVista" file buried in their driver when you download it from REM For this particular Sharp MX-M623N printer, our .inf file is "sr0ejenu.inf" REM If Make sure everything is spelled ok. To make it work, just search for unidrv.hlp and manually add it into the driver folder (works for most specific drivers too if you pull the .hlp out of the .cab). Join & Ask a Question Need Help in Real-Time?
Unable to add printer SmallCopyToshibaPCL6 Error 0x80041001 Generic failure Operation PutInstance Provider Win32 Provider Description The printer driver is unknown. Legal | Feedback c926729 Tue September 6 19:00:00 EDT 2016"www.itninja.com Home About Tech Feeds Games Last Page Privacy Statement Showing My GeekTech from the Mind of a Mad 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. Please log in to comment Answer this question or Comment on this question for clarity AnswerSubmit Don't be a Stranger!
echo. AntonioGNAL September 27th, 2011 at 06:35 Hello, Your script is really helping me, this is exactly what i need. Great for personal to-do lists, project milestones, team priorities and launch plans. - Combine task lists, docs, spreadsheets, and chat in one - View and edit from mobile/offline - Cut down However, when I push the script from the KBOX, it doesn't work.
All rights reserved. All rights reserved. Home Welcome to the Spiceworks Community The community is home to millions of IT Pros in small-to-medium businesses. The first was Vista and everything worked great.