Closed mobby999 closed 3 years ago
That message pops up if you try to run a 64 bit program on a 32 bit system. My tool is a script, so the OS runs it using MSHTA.exe and Powershell.exe. It should always work on both 32 bit and 64 bit machines. I tested on Windows 10 32 bit and it worked fine. Something unusual is happening on your computer. Let's first see what OS version you are running. Please press Windows key + X and then select System to get an About box like this:
Is your operating system 32 bit or 64 bit? You can send me a screenshot of your About box if you like. Let's get that information first and then we'll look at what's going on with MSHTA.exe.
On Sun, Apr 4, 2021 at 2:14 AM mobby999 @.***> wrote:
Dear LesFerch,
I have Win10 (actual) installed and have gotten this error message. Please take a look at the screenshot (sorry it is in German).
Happy Easter!!! Raimund
[image: 2021-04-04 08_11_08-] https://user-images.githubusercontent.com/75779652/113500373-b187f680-951d-11eb-8d7a-8083247f7ec1.jpg
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/LesFerch/WinSetView/issues/5, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS25QOZZK74TY3EOHHQU4PTTG77U3ANCNFSM42LBZCOA .
That message pops up if you try to run a 64 bit program on a 32 bit system. My tool is a script, so the OS runs it using MSHTA.exe and Powershell.exe. It should always work on both 32 bit and 64 bit machines. I tested on Windows 10 32 bit and it worked fine. Something unusual is happening on your computer. Let's first see what OS version you are running. Please press Windows key + X and then select System to get an About box like this: Is your operating system 32 bit or 64 bit? You can send me a screenshot of your About box if you like. Let's get that information first and then we'll look at what's going on with MSHTA.exe. … On Sun, Apr 4, 2021 at 2:14 AM mobby999 @.***> wrote: Dear LesFerch, I have Win10 (actual) installed and have gotten this error message. Please take a look at the screenshot (sorry it is in German). Happy Easter!!! Raimund [image: 2021-04-04 08_11_08-] https://user-images.githubusercontent.com/75779652/113500373-b187f680-951d-11eb-8d7a-8083247f7ec1.jpg — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#5>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS25QOZZK74TY3EOHHQU4PTTG77U3ANCNFSM42LBZCOA .
Dear Les Ferch,
thanks for the quick answer. I have a 64bit Windows here, take a look:
When I open it with a batch file, like
C:\WINDOWS\SysWOW64\mshta.exe d:\Diverses\WinSetView-main\winsetview.hta or C:\WINDOWS\System32\mshta.exe d:\Diverses\WinSetView-main\winsetview.hta
it works!
Greetings! Raimund
It looks like the association for HTA files is something unusual. Please right-click the hta, select Open with, and take a screenshot, like this:
I found the article below that covers this issue. It's possible that some anti-malware software disabled HTA files on your computer. You should be able to re-associate through the GUI using "Open with" and "Choose another app" and then selecting: C:\Windows\System32\mshta.exe
If that doesn't work, try the ftype command or registry settings as documented in the article: https://superuser.com/questions/1322203/trying-to-run-an-hta-gives-this-app-cant-run-on-your-pc
I found the article below that covers this issue. It's possible that some anti-malware software disabled HTA files on your computer. You should be able to re-associate through the GUI using "Open with" and "Choose another app" and then selecting: C:\Windows\System32\mshta.exe
If that doesn't work, try the ftype command or registry settings as documented in the article: https://superuser.com/questions/1322203/trying-to-run-an-hta-gives-this-app-cant-run-on-your-pc
Thank you! Ftype and Assoc work and I can now start this clever and easy utility. (Thank you for that)
Raimund
Glad to hear that worked!
I would like to research this a little more. Can you please tell me what anti-virus or anti-malware software you have currently installed or previously installed? Danke
I would like to research this a little more. Can you please tell me what anti-virus or anti-malware software you have currently installed or previously installed? Danke
Yes sure! I am using Avira "Internet Security".
Yes sure! I am using Avira "Internet Security".
That's interesting because the OP at that superuser,com link was also using Avira, but searching the internet with the keywords Avira and HTA turned up only that one article. I'll try asking about this on the Avira community.
Avira technical support got back to me about this and said that their software does not block HTAs. So, the root cause is still unknown. If you encounter a machine that will not run WinSetView.hta, please let me know. I would definitely like to get a dump of certain registry keys if this happens.
Dear Les Ferch,
I have Win10 (actual) installed and have gotten this error message. Please take a look at the screenshot (sorry it is in German).
Happy Easter!!! Raimund