Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > microsoft.public.scripting.vbscript > #11598

Re: demo.hta is not a valid Win32 application.

From "Dave \"Crash\" Dummy" <invalid@invalid.invalid>
Newsgroups microsoft.public.scripting.vbscript
Subject Re: demo.hta is not a valid Win32 application.
Date 2017-04-04 11:23 -0400
Organization A noiseless patient Spider
Message-ID <oc0dk5$mea$1@dont-email.me> (permalink)
References <obun6k$v6s$1@dont-email.me> <oburap$9t9$1@dont-email.me> <obuv20$b29$1@dont-email.me> <oc07b6$vq8$1@dont-email.me>

Show all headers | View raw


Mayayana wrote:
> "Dave "Crash" Dummy" <invalid@invalid.invalid> wrote
> 
> | > C:\WINDOWS\System32\mshta.exe "%1" %* | | That's what I figured, 
> but nothing is ever simple. In my 64 bit Windows | 10 system I have |
>  | @="C:\\Windows\\SysWOW64\\mshta.exe \"%1\" | 
> {1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}%U{1E460BD7-F1C3-4B2E-88BF-4E770A288AF5}
>  | %*" |
> 
> But your friend has XP, right? I'm taking my readings from XP. You 
> don't want to give him Win10 settings. (I'm not familiar with that 
> use of CLSIDs in the command line, but I can tell you that particular
>  CLSID is not listed under my HKCR\CLSID\ key. There's a good chance 
> that it's Win10-specific.)
> 
> In case it's useful, below is the content of 2 .reg files for my .hta
>  and htafile keys. I don't see anything critical except the .hta 
> values and the command key default value. If that's not a problem I'd
>  look at AV interference or file corruption. (The HTA may be saved in
>  unicode, for instance, or some other issue that may conflict going 
> from 64 to 32.)
> 
> Windows Registry Editor Version 5.00
> 
> [HKEY_CLASSES_ROOT\.hta] @="htafile" "Content Type"="application/hta"
> 
> 
> 
> [HKEY_CLASSES_ROOT\.hta\PersistentHandler] 
> @="{eec97550-47a9-11cf-b952-00aa0051fe20}"
> 
> 
> Windows Registry Editor Version 5.00
> 
> [HKEY_CLASSES_ROOT\htafile] @="HTML Application" 
> "EditFlags"=dword:00000000 "BrowserFlags"=dword:00000008
> 
> [HKEY_CLASSES_ROOT\htafile\CLSID]
> 
> [HKEY_CLASSES_ROOT\htafile\DefaultIcon] 
> @="C:\\WINDOWS\\NewIconStorage\\hta.ico,0"
> 
> [HKEY_CLASSES_ROOT\htafile\Shell] @=""
> 
> [HKEY_CLASSES_ROOT\htafile\Shell\Open]
> 
> [HKEY_CLASSES_ROOT\htafile\Shell\Open\Command] 
> @="C:\\WINDOWS\\System32\\mshta.exe \"%1\" %*"
> 
> [HKEY_CLASSES_ROOT\htafile\shellex]
> 
> [HKEY_CLASSES_ROOT\htafile\shellex\DropHandler] 
> @="{EA19346A-4F28-452D-B488-1B62155D6ADD}" 
> "exefile"="C:\\WINDOWS\\system32\\mshta.exe" "runfile"="y"

Thank you. I expect my Windows 10 configuration to be very different
than the XP version. Therein lies the problem. You don't say which
system you extracted those registry keys from.

I really want to avoid trying to edit his registry from afar. I am going
to try a work around using a shortcut to
"mshta.exe d:\path\demo.hta"
-- 
Crash

"Never underestimate the power of the Dark Side."
~ Obi-Wan Kenobi ~

Back to microsoft.public.scripting.vbscript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

demo.hta is not a valid Win32 application. "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-04-03 19:54 -0400
  Re: demo.hta is not a valid Win32 application. "Mayayana" <mayayana@invalid.nospam> - 2017-04-03 21:04 -0400
    Re: demo.hta is not a valid Win32 application. "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-04-03 22:08 -0400
      Re: demo.hta is not a valid Win32 application. "Mayayana" <mayayana@invalid.nospam> - 2017-04-04 09:36 -0400
        Re: demo.hta is not a valid Win32 application. "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-04-04 11:23 -0400
          Re: demo.hta is not a valid Win32 application. "Mayayana" <mayayana@invalid.nospam> - 2017-04-04 13:26 -0400
            Re: demo.hta is not a valid Win32 application. "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-04-04 14:09 -0400
        Re: demo.hta is not a valid Win32 application. JJ <jj4public@vfemail.net> - 2017-04-05 00:43 +0700
          Re: demo.hta is not a valid Win32 application. "Dave \"Crash\" Dummy" <invalid@invalid.invalid> - 2017-04-04 14:15 -0400

csiph-web