Discussion:
PushPrinterConnections.exe "not a valid Win32 application"
(too old to reply)
Timothy
2007-10-02 18:38:01 UTC
Permalink
2003 R2 x64 DC
XP clients AMD x64 & intel x86
machine gpo set to add printers based on location.

eventlog shows:
___________________________________________________
Event Type: Error
Event Source: UserInit
Event Category: None
Event ID: 1000
Date: 10/2/2007
Time: 10:54:03 AM
User: N/A
Computer: XXXXXXXx
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.
____________________________________________________

running pushprinterconnections.exe on any client has popup "not a valid
Win32 application".

running PPC.exe on DC works fine.

I have tried to add printers with vbs, bat, and PPC, nothing has worked,
never any log.

ANy help GREATLY appreciated!!
Alan Morris [MSFT]
2007-10-03 16:20:22 UTC
Permalink
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.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Timothy
2003 R2 x64 DC
XP clients AMD x64 & intel x86
machine gpo set to add printers based on location.
___________________________________________________
Event Type: Error
Event Source: UserInit
Event Category: None
Event ID: 1000
Date: 10/2/2007
Time: 10:54:03 AM
User: N/A
Computer: XXXXXXXx
Could not execute the following script pushprinterconnections.exe. .
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
____________________________________________________
running pushprinterconnections.exe on any client has popup "not a valid
Win32 application".
running PPC.exe on DC works fine.
I have tried to add printers with vbs, bat, and PPC, nothing has worked,
never any log.
ANy help GREATLY appreciated!!
Timothy
2007-10-03 17:43:04 UTC
Permalink
Alan - YOU THE MAN.

Beat me, whip me, make me write bad checks for not thinking of that.

This is my first x64 Server!

THANKS
Post by Alan Morris [MSFT]
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.
--
Alan Morris
Windows Printing Team
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Timothy
2003 R2 x64 DC
XP clients AMD x64 & intel x86
machine gpo set to add printers based on location.
___________________________________________________
Event Type: Error
Event Source: UserInit
Event Category: None
Event ID: 1000
Date: 10/2/2007
Time: 10:54:03 AM
User: N/A
Computer: XXXXXXXx
Could not execute the following script pushprinterconnections.exe. .
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
____________________________________________________
running pushprinterconnections.exe on any client has popup "not a valid
Win32 application".
running PPC.exe on DC works fine.
I have tried to add printers with vbs, bat, and PPC, nothing has worked,
never any log.
ANy help GREATLY appreciated!!
Alan Morris [MSFT]
2007-10-04 18:33:54 UTC
Permalink
Thanks for the update.

I normally run the file from the DC sysvol share or other network share as a
logon script in the policy so the network will be up for sure to make the
connection . I have seen issue where disabling Fast Logon Optimization is
required to get the printer connections but I have never had to do this when
running the binary from a network share.

I'd specify -log initially to get the ppcuser.log in %temp% for connections
per user or ppcmachine.log in %windir%\temp for connections per machine.
--
Alan Morris
Windows Printing Team
Search the Microsoft Knowledge Base here:
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Timothy
Alan - YOU THE MAN.
Beat me, whip me, make me write bad checks for not thinking of that.
This is my first x64 Server!
THANKS
Post by Alan Morris [MSFT]
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.
--
Alan Morris
Windows Printing Team
http://support.microsoft.com/default.aspx?scid=fh;[ln];kbhowto
This posting is provided "AS IS" with no warranties, and confers no rights.
Post by Timothy
2003 R2 x64 DC
XP clients AMD x64 & intel x86
machine gpo set to add printers based on location.
___________________________________________________
Event Type: Error
Event Source: UserInit
Event Category: None
Event ID: 1000
Date: 10/2/2007
Time: 10:54:03 AM
User: N/A
Computer: XXXXXXXx
Could not execute the following script pushprinterconnections.exe. .
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
____________________________________________________
running pushprinterconnections.exe on any client has popup "not a valid
Win32 application".
running PPC.exe on DC works fine.
I have tried to add printers with vbs, bat, and PPC, nothing has worked,
never any log.
ANy help GREATLY appreciated!!
shijobaby
2009-08-25 18:53:46 UTC
Permalink
Hi

Wn trying to install i also got the error as

x64.exe not a valid Win32 application


And nw i got solution which i put into my blog


http://javaerrorsinfo.blogspot.com/2009/08/error-x64exe-not-valid-win32.htm

--
shijobab
-----------------------------------------------------------------------
shijobaby's Profile: http://forums.techarena.in/members/128429.ht
View this thread: http://forums.techarena.in/server-scripting/827514.ht

http://forums.techarena.i

Loading...