Does this help? 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 Login Join Community Script Center Ask Question Answer Questions My Profile Subscribe ShortcutsDiscussion GroupsFeature RequestsHelp and SupportHow-tosIT Service ProvidersMy QuestionsApp CenterRatings and ReviewsRecent ActivityRecent PostsScript CenterSpiceListsSpiceworks BlogVendor PagesWindows Events Script to It would be great if > you could pass this information along to those who can correct the > problem, but I guess that would be under the assumption that either get redirected here
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. If you have any questions, then please Write a Comment below! prndrvr.vbs just invokes rundll32 interfaces. Ghost Chili Nov 21, 2011 wesil Other, 1000+ Employees This will save us some time. https://social.technet.microsoft.com/Forums/scriptcenter/en-US/a35773b5-f021-4ad8-a51f-40f6dc8ded76/prndrvrvbs-win32-error-code-87?forum=ITCG
Enclose them in "" and see what that does. 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 Ifthat works, you know that the .INF and driver files are correct and thatthere is either something wrong with the .vbs script (in which case you haveto call / write MS But I have problems with universal printer drivers, for example LexmarkL632 for windows 7 64 bit.
Join & Ask a Question Need Help in Real-Time? 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" Nor will they open a case for this to be resolved. Prndrvr.vbs Switches We're a friendly computing community, bustling with knowledgeable members to help solve your tech questions.
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" Prndrvr.vbs Error Code 5 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 Sonora Dec 21, 2011 slome Manufacturing, 101-250 Employees Got it working. https://ittechlog.wordpress.com/2012/12/28/add-printer-driver-to-windows-7-8-2008-r2-using-a-command-line/ When it still doesn't work that post the working command and the script you translated that to so see we can find a reason.
There are several ways to do this, I chose to use Windows already installed printer commands and wrote scripts for each of the printers I was trying to install. Unable To Add Printer Driver Win32 Error Code 2 I have made sure the folder exists. echo. rerun the script with the same parameters and post the output back tothe groupthanks,mark Mark [exmsft] 2005-08-24 23:25:55 UTC PermalinkRaw Message Post by woefC:\WINDOWS\system32>cscript aa.vbs -a -m "testdriver"Microsoft (R) Windows Script
They both mean the script can't find the driver. http://forums.whirlpool.net.au/archive/1446613 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. Win32 Error Code 87 Unable To Add Printer Will make future printer installs a lot quicker. ◄ Prev12Next ► Add your comments on this Script! Prndrvr.vbs Examples All rights reserved.
Yes, all the driver files are in the C:\Test\3800 folder. http://bsdupdates.com/error-code/prndrvr-vbs-error-87.php 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 How do you build a comprehensive DDoS attack prevention plan? Share this post Link to post Share on other sites lfernandes 0 Seeker Members 0 16 posts #3 · Posted June 1 And because I'm also too dumb to figure out Win32 Error Code 1797
Newer Than: Search this thread only Search this forum only Display results as threads Useful Searches Recent Posts More... In order to avoid having the scripts in different places with the OS I just made sure it used the location I provided by copying the scripts to the local machine. Richard MuellerMVP ADSI Tuesday, February 22, 2011 5:22 PM Reply | Quote Moderator 0 Sign in to vote Hi, 'net helpmsg 87' - 'The parameter is incorrect' - Win32 error code useful reference Also, FilePath has backslashes doubled.
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 Unable To Add Printer Error 0x80041001 Generic Failure I am curious if you are able to install this print driver using prndrvr.vbs? This is what im not understanding.
All rights reserved. Virtualization I've got a few things I need to hook up. All rights reserved. I have used them on Windows 7, they are just not part of the OS anymore.
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. 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. So start simple: ensure you have the correct commandline by running it from an elevated CMD prompt. this page Article by: ☠ MASQ ☠ Can I legally transfer my OEM version of Windows to another PC? (AKA - Can I put a new systemboard in my OEM PC?) Few of
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 Anyone have any ideas? Then I used it on a few old XP machines we still keep around and 3 of the printers would not install.