Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista account administration

Vista - "X is not a valid Win32 application" Error on EVERY executable

Reply
 
Old 03-03-2008   #1 (permalink)
NeologiK


 
 

"X is not a valid Win32 application" Error on EVERY executable

When I try to execute ANY ( yes, any ) executable ( *.exe/*.msi etc) file, I
receive the error msg "is not a valid Win32 application". I am now at the
point I can not add or update ANY software whatsoever due to this error
coming up for any executable.
Im running Vista Home Basic, I thought I was a power-user until this one,
and my goal is to either A) Find out the problem and a fix for it. -OR- B) If
someone could explain what a valid Win32 app is- I may be able to figure it
out from there. The online services have been NO help. MS help does not say
why this error happens other than corrupted files ( but eg: if I compile a
functional C++ script to an exe, that too is "not valid" ). So ANY help or
IDEAS on a fix for this, or just what it MEANS would help.
Ironically, I work in tech support, and I know my way around windows on an
intermediate / trained level. This is making my laptop a paperweight, any
ideas appreciated! Thank you so much!

My System SpecsSystem Spec
Old 03-05-2008   #2 (permalink)
jamesvdm


 
 

RE: "X is not a valid Win32 application" Error on EVERY executable

Hi, what antivirus or antispyware software do you have installed?

James

"NeologiK" wrote:
Quote:

> When I try to execute ANY ( yes, any ) executable ( *.exe/*.msi etc) file, I
> receive the error msg "is not a valid Win32 application". I am now at the
> point I can not add or update ANY software whatsoever due to this error
> coming up for any executable.
> Im running Vista Home Basic, I thought I was a power-user until this one,
> and my goal is to either A) Find out the problem and a fix for it. -OR- B) If
> someone could explain what a valid Win32 app is- I may be able to figure it
> out from there. The online services have been NO help. MS help does not say
> why this error happens other than corrupted files ( but eg: if I compile a
> functional C++ script to an exe, that too is "not valid" ). So ANY help or
> IDEAS on a fix for this, or just what it MEANS would help.
> Ironically, I work in tech support, and I know my way around windows on an
> intermediate / trained level. This is making my laptop a paperweight, any
> ideas appreciated! Thank you so much!
My System SpecsSystem Spec
Old 03-05-2008   #3 (permalink)
NeologiK


 
 

RE: "X is not a valid Win32 application" Error on EVERY executable

Hi James,

I am using Kapersky AV ( although I DO have the full Symantec AV package,
but I switched due to this .exe problem as Sym wasnt finding any viruses.)-
and KAV is not finding any viruses.
I use AdAware SE for spyware, (and keep it updated) and still have UAC
enabled becuase I'm worried there may be something running that the AV hasnt
picked up. [I have had problems with apps running in background & not being
"endable" in TaskMan ( such as Firefox.exe ) and this causing the application
to not work. ] Suspicious activity basically, then this .exe association loss
or w/e. AdAware only finds low-threat tracking cookies!
I am not sure if it is a virus, or simply a mis-setting or registry
corruption causing the loss of associations for new .exe files. So it could
be an account problem, Im not sure how global these associations are with
Vista, but I'll try another account and see if there is a difference.
(PS I was wrong before- *.msi DO work. It is ONLY *.exe that are "not valid"
and that IS any exe.)
Thank you very much for taking the time to read and/or respond!
~ Drew
"jamesvdm" wrote:
Quote:

> Hi, what antivirus or antispyware software do you have installed?
>
> James
>
> "NeologiK" wrote:
>
Quote:

> > When I try to execute ANY ( yes, any ) executable ( *.exe/*.msi etc) file, I
> > receive the error msg "is not a valid Win32 application". I am now at the
> > point I can not add or update ANY software whatsoever due to this error
> > coming up for any executable.
> > Im running Vista Home Basic, I thought I was a power-user until this one,
> > and my goal is to either A) Find out the problem and a fix for it. -OR- B) If
> > someone could explain what a valid Win32 app is- I may be able to figure it
> > out from there. The online services have been NO help. MS help does not say
> > why this error happens other than corrupted files ( but eg: if I compile a
> > functional C++ script to an exe, that too is "not valid" ). So ANY help or
> > IDEAS on a fix for this, or just what it MEANS would help.
> > Ironically, I work in tech support, and I know my way around windows on an
> > intermediate / trained level. This is making my laptop a paperweight, any
> > ideas appreciated! Thank you so much!
My System SpecsSystem Spec
Old 03-08-2008   #4 (permalink)


 
 

Re: "X is not a valid Win32 application" Error on EVERY executable

if you are getting this erreor you are not a power user but you are a
Quote:

> standard user. yopu need to use mmc to correct this problem. you need a
> power user login or an admin log in in order to install programs. I would
> also suggest that you upgrade from basis because it is worth nothing
"NeologiK" <NeologiK@xxxxxx> wrote in message
news:8874DB94-60A3-48C0-9E7B-954796F0D47F@xxxxxx
Quote:

> When I try to execute ANY ( yes, any ) executable ( *.exe/*.msi etc) file,
> I
> receive the error msg "is not a valid Win32 application". I am now at the
> point I can not add or update ANY software whatsoever due to this error
> coming up for any executable.
> Im running Vista Home Basic, I thought I was a power-user until this one,
> and my goal is to either A) Find out the problem and a fix for it. -OR- B)
> If
> someone could explain what a valid Win32 app is- I may be able to figure
> it
> out from there. The online services have been NO help. MS help does not
> say
> why this error happens other than corrupted files ( but eg: if I compile a
> functional C++ script to an exe, that too is "not valid" ). So ANY help or
> IDEAS on a fix for this, or just what it MEANS would help.
> Ironically, I work in tech support, and I know my way around windows on an
> intermediate / trained level. This is making my laptop a paperweight, any
> ideas appreciated! Thank you so much!
My System SpecsSystem Spec
Old 03-08-2008   #5 (permalink)


 
 

Re: "X is not a valid Win32 application" Error on EVERY executable

if you are getting this erreor you are not a power user but you are a
standard user. yopu need to use mmc to correct this problem. you need a
power user login or an admin log in in order to install programs. I would
also suggest that you upgrade from basis because it is worth nothing
"NeologiK" <NeologiK@xxxxxx> wrote in message
news:8874DB94-60A3-48C0-9E7B-954796F0D47F@xxxxxx
Quote:

> When I try to execute ANY ( yes, any ) executable ( *.exe/*.msi etc) file,
> I
> receive the error msg "is not a valid Win32 application". I am now at the
> point I can not add or update ANY software whatsoever due to this error
> coming up for any executable.
> Im running Vista Home Basic, I thought I was a power-user until this one,
> and my goal is to either A) Find out the problem and a fix for it. -OR- B)
> If
> someone could explain what a valid Win32 app is- I may be able to figure
> it
> out from there. The online services have been NO help. MS help does not
> say
> why this error happens other than corrupted files ( but eg: if I compile a
> functional C++ script to an exe, that too is "not valid" ). So ANY help or
> IDEAS on a fix for this, or just what it MEANS would help.
> Ironically, I work in tech support, and I know my way around windows on an
> intermediate / trained level. This is making my laptop a paperweight, any
> ideas appreciated! Thank you so much!
My System SpecsSystem Spec
Old 03-09-2008   #6 (permalink)
NeologiK


 
 

Re: "X is not a valid Win32 application" Error on EVERY executable

I have admin privs and have UAC turned off for now.
HomeBasic came with it- but yeah, I wouldn't mind upgrading.
I have searched the management consoles (mmc) for a fix- none found.
No services disabled, All associations normal (through mmc&registry),
I can install through a setup file,
I just can not execute an executable.
~drew


"matthew.a.owens@xxxxxx" wrote:
Quote:

> if you are getting this erreor you are not a power user but you are a
> standard user. yopu need to use mmc to correct this problem. you need a
> power user login or an admin log in in order to install programs. I would
> also suggest that you upgrade from basis because it is worth nothing
> "NeologiK" <NeologiK@xxxxxx> wrote in message
> news:8874DB94-60A3-48C0-9E7B-954796F0D47F@xxxxxx
Quote:

> > When I try to execute ANY ( yes, any ) executable ( *.exe/*.msi etc) file,
> > I
> > receive the error msg "is not a valid Win32 application". I am now at the
> > point I can not add or update ANY software whatsoever due to this error
> > coming up for any executable.
> > Im running Vista Home Basic, I thought I was a power-user until this one,
> > and my goal is to either A) Find out the problem and a fix for it. -OR- B)
> > If
> > someone could explain what a valid Win32 app is- I may be able to figure
> > it
> > out from there. The online services have been NO help. MS help does not
> > say
> > why this error happens other than corrupted files ( but eg: if I compile a
> > functional C++ script to an exe, that too is "not valid" ). So ANY help or
> > IDEAS on a fix for this, or just what it MEANS would help.
> > Ironically, I work in tech support, and I know my way around windows on an
> > intermediate / trained level. This is making my laptop a paperweight, any
> > ideas appreciated! Thank you so much!
>
My System SpecsSystem Spec
Old 07-15-2008   #7 (permalink)


Vista Business 32bit
 
 

Re: "X is not a valid Win32 application" Error on EVERY executable

I am having the same problem with iTunes and Webshots. I am an administrator, tried the "run as" option, downloaded the file(s) multiple times, emptied my temporary internet files, etc. etc. I have both applications running on a machine with Vista Home Premium so I don't think it is a compatibility problem. I don't get it on every executable but I have only tried these two where it happens repeatedly. If anyone finds the answer I would be very happy.
My System SpecsSystem Spec
Old 03-01-2009   #8 (permalink)


none
 
 

is not a valid Win32 application

I was having the same problem, except I'm using XP SP3, but this may be applicable anyway. The problem may be with your PATHEXT environment variable. You use this to tell Windows what file extensions executables use. To see what extensions are currently set as executable, do this:

echo %PATHEXT%

To add .msi to PATHEXT, do this:

set PATHEXT=%PATHEXT%;.msi

Now, you should be able to run .msi files from the command line.

What I was trying to do when I ran into this problem, was install a prog as admin => I was using the runas command. If you're doing this, it's a little trickier, because runas will run the command using the target user's environment, meaning that it will use the default PATHEXT for that user. One way to get around this is to run cmd itself as admin (or whatever target user you want to run under), then manipulate PATHEXT as described above, before running your prog.

Good huntin'

allyourcode
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
"X is not a valid Win32 application" Error. PLEASE HELP. Vista performance & maintenance
"X is not a valid Win32 application" Error-PLEASE HELP. Vista General
"X is not a valid Win32 application" Error on EVERY executable Vista installation & setup
"*.pps is not a valid Win32 application" error message Vista mail
"*.pps is not a valid Win32 application" error message in Windows Vista installation & setup


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46