Share via

JavaScript not loading

Eric B 0 Reputation points
2025-12-22T19:12:52.16+00:00

when I sign into windows 11, I get a message saying can't find JavaScript. I don't know how to fix this. Any help would be appreciative.

Windows for home | Windows 11 | Settings
0 comments No comments

2 answers

Sort by: Most helpful
  1. Lychee-Ng 17,835 Reputation points Microsoft External Staff Moderator
    2025-12-23T13:55:52.04+00:00

    Hi Eric B,

    Welcome to Microsoft Q&A!

    JavaScript is not a standalone component in Windows. This error you're seeing on Windows 11 sign-in is usually caused by a corrupt or misconfigured component. A startup app or script that relies on JavaScript (or JScript) might have been broken.

    To better help with your issue, I'd like to ask if you can get past the login screen and the dialog appears after, or it blocks you from signing in normally? While waiting for the answer, here are some solutions if you can get into your PC:

    1 - Quick fixes to try 

    • Repair C++ package:
      • Open Settings > Apps > Installed apps > search for C++
      • Click three-dot next to 2015-2022 Redistributable (x64)
      • Select Modify > Repair > wait for it to finish and test.
    • Disable Startup apps:
      • Open Task Manager > Startup > Disable any unknown or suspicious entries.
      • If the issue persists, disable all third-party apps (and those can be disabled)
    • Run Windows Security or a trusted antivirus to ensure no malicious script is causing this.

    2 - Check Windows script host and re-enable if needed

    • Press Win + R > type wscript > press Enter to open the settings window
    • If you get an error, Windows Script Host might be disabled or corrupted.
    • In that case, search in Windows and open Registry Editor > Navigate to:
      • HKEY_LOCAL_MACHINE\Software\Microsoft\Windows Script Host\Settings
      • Find (or create a new DWORD (32-bit) called) Enabled and set it to 1

    Disclaimer: Generally, modifying registry subkeys or work groups is intended for advanced users, administrators, and IT Professionals. It can help fix some problems, however, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For further protection, first check out How to back up and restore the registry in Windows - Microsoft Support 

    3 - Repair system files and corruptions (if any)

    • Right-click the Start logo > choose Terminal (Admin) to open PowerShell
    • Run the following commands one by one (press Enter after each):
      • DISM /Online /Cleanup-Image /RestoreHealth
      • sfc /scannow
      Wait for them to finish then restart your PC and test the issue again

    4 - Repair with Windows reinstallations (keeping file)

    • On your PC, go to Windows Settings > System > Recovery 
    • Click Reinstall now to Fix problems using Windows Update

    User's image

    If all previous solutions failed, an in-place upgrade may be the most reliable solution. Refer to Reinstall Windows with the installation media - Microsoft Support

    Disclaimer: Windows reinstallation and in-place upgrade will refresh your Windows files and operating system without removing files or applications. That being said, we always recommend that if you have important data, you should back it up first before making large system changes.

    I hope one of these methods resolves the problem for you. Let me know if you get stuck at a specific step.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Q&A Assist
    2025-12-22T19:13:00.0833333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It seems that you are encountering an issue with JavaScript not loading when you sign into Windows 11. While the context provided does not specifically address Windows 11 or the exact error message you are seeing, there are general troubleshooting steps you can take to resolve JavaScript loading issues:

    1. Check Browser Settings: Ensure that JavaScript is enabled in your web browser settings. You can usually find this option in the settings or preferences menu of your browser.
    2. Update Your Browser: Make sure you are using the latest version of your web browser, as older versions may have compatibility issues with JavaScript.
    3. Clear Cache and Cookies: Sometimes, clearing your browser's cache and cookies can resolve loading issues.
    4. Disable Extensions: Browser extensions can sometimes interfere with JavaScript. Try disabling them temporarily to see if that resolves the issue.
    5. Check for System Updates: Ensure that your Windows 11 system is up to date, as updates may fix underlying issues affecting JavaScript functionality.

    If these steps do not resolve the issue, you may want to consider reaching out to Microsoft support for further assistance specific to Windows 11.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.