[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1217
  • Last Modified:

Deploying printer server 2008 Xp clients event viewer error : could not execute the following script PushPrinterConnections.exe

Whilst  Deploying a printer on server 2008 on the windows Xp clients event viewer I get the error : could not execute the following script PushPrinterConnections.exe

The printer is not picked up ?

Please help
0
sarangi_master
Asked:
sarangi_master
  • 6
  • 5
  • 2
  • +2
3 Solutions
 
liorfrCommented:
Are you running an x64 version of pushprinterconnections.exe on the x86
clients? I normally run the x86 binary on x86 and x64 clients which does
work.

if the application runs it will create a log with the -log switch, but I do
not think you are getting that far.

I am not sure how the binary was packaged on x64 R2 server but verify you
have the x86 version.

Lior
0
 
sarangi_masterAuthor Commented:
On Server 2008 I have used the x86 binary......my server is 2008 x64 and clients are xp x86
0
 
leakim971PluritechnicianCommented:
Hello sarangi_master,

Try to run the tools (PushPrinterConnections.exe) locall on an xp machine to see if you've the file.
If not the case, you may use a network path and path to the tools for the xp machine : \\server\share\path\to\PushPrinterConnections.exe

Regards.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 
sarangi_masterAuthor Commented:
It seems to run ok locally......dont understand "you may use a network path and path to the tools for the xp machine : \\server\share\path\to\PushPrinterConnections.exe"  ?

Will this automatically run the script everytime a user logs on  ???
0
 
leakim971PluritechnicianCommented:
OK, if it run locally no need to use folder on a server to share the tools
0
 
sarangi_masterAuthor Commented:
Is there any other way to push the printers to the clients like using scripts ?

thanks
0
 
leakim971PluritechnicianCommented:
0
 
sarangi_masterAuthor Commented:
Do you have any idea how to save a script e.g copy paste into notepad and then save as what extension ?

Then how do i right click log on script go to add browse to log on and save the script in there?

please advise further ?

thanks
0
 
leakim971PluritechnicianCommented:
When you save with notepad, don't let *.txt as extension, choose "all files"

The extension for VBScript is ".vbs"
0
 
sarangi_masterAuthor Commented:
I ended up reinstalling server and push printers then worked....strange...
0
 
leakim971PluritechnicianCommented:
Thanks for the points!
0
 
HKComputerCommented:
Need the 32 bit version of pushprinterconnections.exe for a 64 bit  server?
 
 I realize this is a closed question but after we had so much trouble  finding this I decided to post here with information on where to  download the pushprinterconnections.exe 32bit file.

Here's a link  to the page you'll need to go to:
http://www.microsoft.com/downloads/details.aspx?familyid=9bfb44f5-232a-4fb5-bc14-45bfd81b7ac1&displaylang=en

On  that page, you'll need to download this file:
pmcmgmt.exe

You'll  need to run this self-extracting file on a 32 bit machine (such as an  XP box or 2003 box) and then do a file search for  pushprinterconnections.exe. This is the file you need to use on Server  2008 64 bit to push printer connections out to 32 bit clients.
0
 
leakim971PluritechnicianCommented:
Thanks a lot @HKComputer.

Kind Regards
0
 
ScottRockstadCommented:
Hey gang. I recognize that this is a closed question as well, but after reading the prior posts, it occurred to me that if you need the 32-bit version, go to C:\Windows\SysWOW64\PushPrinterConnections.exe on the print server. Duh!

Copying C:\Windows\SysWOW64\PushPrinterConnections.exe (32-bit version) into the startup/logon script folder solved all of my printer deployment problems with XP.
0
 
ScottRockstadCommented:
Follow-up to my prior post; this is what got me on the 32-bit path for resolution. From the Application Event Log:

Event Type:      Error
Event Source:      UserInit
Event Category:      None
Event ID:      1000
Date:            12/25/2011
Time:            2:07:33 PM
User:            N/A
Computer:      <hostname>
Description:
Could not execute the following script PushPrinterConnections.exe. .

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Naturally, the link to Microsoft returned nothing useful.
Details
ID: 1000                                              
Source: UserInit                                              
   
We're sorry
There is no additional information about this issue in the Error and Event Log Messages or Knowledge Base databases at this time. You can use the links in the Support area to determine whether any additional information might be available elsewhere.


I was thinking, "why would this PushPrinterConnections.exe. . fail to execute on an XP machine." And then, BAM; I read this post. A 64-bit print server, trying to deploy printers to 32-bit clients. Even though I had both 32- and 64-bit print drivers installed, the deployment mechanism was 64-bit. Thank you all for the inspiration.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 6
  • 5
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now