Logon script to add 32bit printer drivers to 32bit system from 64bit server

I have a 64bit print server that serves a variety of printers including HP, Sharp, and Savin. I am using a logon script to assign the printers to users, but the Sharps and Savins all fail because a 32bit driver is needed for the 32bit systems. The HP's dont suffer from this problem. I have moved the Sharps and Savins to a 32bit print server, but that is only a tempory solution and need to be able to serve those printers from my 64bit system. So what I am looking for is recomendations on how to script the installation of the 32bit printer drivers to the 32bit clients.

Below you will find my logon script:
Option Explicit
'Printer variables
Dim objPrinter
Dim strPathSharpAcct, strPathSharpEst, strPathSharpRec, strPathSavin, strPathHP5si
Dim strPathSharpPM
'Network Drive variables
Dim objNetwork
Dim strDriveF, strDriveT, strDriveU, strPathF, strPathT, strPathU
'Printer paths are defined
strPathSharpEst = "\\serverdv1a\SHARP AR-M237 Estimating"
strPathSharpRec = "\\serverdv1a\SHARP AR-168S Reception"
strPathSharpPM = "\\serverdv1a\SHARP PM"
strPathSharpAcct = "\\serverdv1a\SHARP AR-M237 Accounting"
strPathHP5si = "\\servernas1b\HP LaserJet 5Si"
strPathSavin = "\\serverdv1a\SAVIN C3828 PCL 5c"
'Network drives and paths are defined
strDriveF = "F:"
strDriveT = "T:"
strDriveU = "U:"
strPathF = "\\servernas1b\server"
strPathT = "\\serveracct1a\timber"
strPathU = "\\servernas1b\users"
'Below this line Printer mapping takes place
objPrinter.AddWindowsPrinterConnection strPathSharpAcct
objPrinter.AddWindowsPrinterConnection strPathSharpEst
objPrinter.AddWindowsPrinterConnection strPathSharpRec
objPrinter.AddWindowsPrinterConnection strPathSharpPM
objPrinter.AddWindowsPrinterConnection strPathHP5si
objPrinter.AddWindowsPrinterConnection strPathSavin
'Below this line network drive mapping takes place
On Error Resume Next
Set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.MapNetworkDrive strDriveF, strPathF, True
objNetwork.MapNetworkDrive strDriveT, strPathT, True
objNetwork.MapNetworkDrive strDriveU, strPathU, True

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi, I would look at running a
command on the client machines to retrieve a driver for the 32 bit architecture.

Usage info is availabe here:

It can be very fiddly to figure out the syntax for such a command though.



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fyrfyterAuthor Commented:
Hi Rob,
Sorry I am so late in getting back. I was away on business. Anyway, I was just looking for some ideas and since you are the only who stepped forward, I will close the question and award you the points. I was already aware of that solution, but like I said, was looking for some alternatives.

Thank you for taking the time to respond to my question.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows OS

From novice to tech pro — start learning today.