Forum Discussion

Mardain's avatar
Mardain
Iron Contributor
Jan 02, 2026

Windows 11 right-click .js file open method: “Script Host”

When right-clicking a .js file, an unremovable “Microsoft® Windows Based Script Host” option appears in the “Open With” menu. Standard methods (searching the registry HKEY_CLASSES_ROOT for the same entry and deleting it) fail because the registry path or key name does not match. Seeking a professional-level solution.

1 Reply

  • Create a custom context menu handler that overrides or removes the existing one. Reinstall or repair Windows scripting components or reset Windows Shell using PowerShell scripts.

Resources