Share via

Windows Terminal Randomly Opening after PC restart.

Hudson 30 Reputation points
2026-02-12T19:15:06+00:00

How come whenever I restart my laptop and then sign in to my profile, for a SPLIT-second Windows Terminal opens and looks like it's TRYING to run something and then closes automatically???

It's weird and I want to make sure nothing's going wrong just in case, so I can catch it early on in case it could end up causing problems later on.

Thanks! -Hudson

Windows for home | Windows 11 | Performance and system failures
0 comments No comments
{count} votes

Answer accepted by question author
  1. Ivan B 101.5K Reputation points Independent Advisor
    2026-02-12T19:56:47.4166667+00:00

    Hi,

    When you log into your user account, does the Windows terminal open automatically?

    Open the command prompt (admin) and run the commands: sfc /scannow and dism /online /cleanup-image /restorehealth. Wait for the process to finish and restart your computer.

    If so, perform a clean boot following the procedure in the link below:

    Then, perform a clean boot and, if you wish, uninstall any applications you don't use.

    https://support.microsoft.com/en-us/topic/how-to-execute-a-simple-boot-start-in-windows-da2f9573-6eec-00ad-2f8a-a97a1807f3dd

    After the above procedure, go to the search bar, type "task scheduler," and go to the Task Scheduler Library tab. Select all and disable them.

    Restart your PC and test again.

    If it still appears, download the Microsoft System Autoruns, extract the 64-bit version, and run it as administrator from https://learn.microsoft.com/en-us/sysinternals/downloads/autoruns

    At startup, check the command prompts and see their location. Don't disable all command prompts; take a screenshot because it's possible there's a driver error.

    If my answer helped, please confirm or not.

    Thanks

    1 person found this answer helpful.

1 additional answer

Sort by: Most helpful
  1. Q&A Assist
    2026-02-12T19:15:14.6466667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    It sounds like Windows Terminal might be set to launch automatically on startup. This could happen if the setting for launching Windows Terminal at user login is enabled. You can check this setting in the settings.json file of Windows Terminal. Look for the property startOnUserLogin and ensure it is set to false if you do not want it to open automatically.

    If you find that the setting is already configured correctly, it might be worth checking if there are any startup tasks or applications that could be triggering Windows Terminal to open. You can manage startup applications through the Task Manager under the Startup tab.

    If the issue persists, it may be beneficial to check for any updates or issues related to Windows Terminal or your operating system that could be causing this behavior.


    References:

    0 comments No comments

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.