Learn how to a build a cloud-first strategyRegister Now


Scripting "add additional drivers" to win2k3 print server

Posted on 2009-02-23
Medium Priority
Last Modified: 2012-05-06
We are trying to add 64-bit drivers to a Windows 2003 Print server. We have over 200 printers on the print server. I can do this by hand, but obviously, this is a major headache. Does anyone know a way to script adding the drivers in to the printers instead of going to each printer and going through the manual steps?

Question by:ekoga
  • 2

Accepted Solution

activephoto earned 1500 total points
ID: 23727189
You can do it in several ways but regardless of what method used you need to have some sort of listing of driver names, driver files on disk, etc.
Method 1 - prndrvr.vbs
Windows has some vb-scripts built-in that is located in c:\windows\system32 and one of them is prndrvr.vbs this can be used to do that work and you find the reference of it here...
Method 2 - rundll32 printuidll
You can do the same bu calling printui.dll with rundll32, you find a word document with the reference to download from Microsofts homepage, see link below

you can also from the command prompt run this command to get help and examples.
rundll32 printui.dll,PrintUIEntry /?
Good luck!
/ Mikael

Assisted Solution

activephoto earned 1500 total points
ID: 23727207
...and of course you have to do a script that loops through all drivers you need to install so you point to correct driver name and filepath where driver (inf-file) is located.
/ Mikael

Featured Post

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to solve seemingly unsolvable printer issues. Users sometimes run into printing issues where all the normal steps do not seem to work. Well the steps below can show users how to take one extra step beyond the normal steps needed to remove old…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question