Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Silently associate .hta files with mshta.exe?

Featured Replies

  • Author

Thanks for moving it Kels!

Well, I've searched this forum left and right using the built-in search feature, and I got nothing. So, I went to trusty old google. Believe it or not, I found a link that referenced an MSFN thread from 2005 that describes this exact problem. Here is the link.

I am reinstalling Windows in VMWare as I type this. Hopefully this fixes the problem and reregisters .hta files with mshta.exe. I'll post the regfile here if it does, just in case anyone else wants to use WPI but doesn't want to install Internet Explorer.

  • Author

YEAH! It works!! So Internet Explorer can be removed in NLite, as long as you keep mshta.exe!

Here is the registry file you need to use to reregister .hta files with mshta.exe so that .hta files (like WPI.hta) will be autopened.

hta.reg

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.hta]
@="hta_auto_file"

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\hta_auto_file\shell\open\command]
@="\"C:\\WINDOWS\\system32\\mshta.exe\" \"%1\""

If you want to implement this tweak, use cmdlines.txt to do so. This will run at T12-T13 during the reinstall, and ensure that WPI.hta will autopen with mshta.exe upon the next reboot.

Just to be complete, here are the entries you need to add to cmdlines.txt (assuming you are using the Tools Pack with WPI).

cmdlines.txt

 [COMMANDS]
"REGEDIT /S hta.reg"
"RunWPI.exe"

Thanks for your input guys. I'm glad this problem could finally be nailed down!

Edited by radigast

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.