3 command prompt windows pop up and disappear every once in a while on startup

Kaloyan Iliev 25 Reputation points
2025-07-29T22:55:43.3566667+00:00

To whoever it may concern,
I recently factory reset my pc through the "Reset this PC" option on Windows due to worries about a computer virus. Recently, every once in a while, during bootup, I get 3 command prompt windows that flash extremely quickly. This has never happened prior to the reset, so I'm worried that a virus possibly survived the Windows reset. I dont believe I have anything on Task Scheduler (Screenshot provided is all that I have on it) that would require a command prompt to run. I have also installed Autoruns to see what this is possibly. I am very inexperienced with Autoruns, though, so I'm unsure where or what to look for. I provided screenshots for what hopefully should be the main things that might cause the command prompt to open up. If anyone can tell me what's causing these to pop up, that would be greatly appreciated. I managed to get a video of this happening, but I can't add it into this thread. I've run Malwarebytes, Bitdefender, and Windows Defender offline scans with 0 detections. Screenshot 2025-07-29 153131Screenshot 2025-07-29 154546

Screenshot 2025-07-29 154719

Windows for home | Windows 11 | Security and privacy
0 comments No comments

3 answers

Sort by: Most helpful
  1. Jeronimo Fuerte 49,990 Reputation points Independent Advisor
    2025-07-29T23:47:15.92+00:00

    Hi! It isn’t malware in your Startup folder or Run-key entries, it’s Windows itself repeatedly trying to launch scheduled tasks whose .EXE files are missing, so you get a little “cmd.exe” window popping up and immediately erroring out. In your Autoruns and Task Scheduler screenshots you can see several built-in Microsoft tasks pointing to non-existent files under C:\Windows\System32

    1. Open Task Scheduler Win+R then and run taskschd.msc
    2. In the left pane, drill down into each of these folders Task Scheduler Library > Microsoft > Windows > Location > Notifications
      • \Registry\OOBE-Maintenance
      • \PI\SecureBootEncodeUEFI
      • \UpdateOrchestrator\USO_UxBroker
    3. Click on each task and look at the Last Run Result. If it’s an error code (e.g. 0x80070002 “file not found”), those will be causing troubles at start.

    Was this answer helpful?

    4 people found this answer helpful.

  2. Jeronimo Fuerte 49,990 Reputation points Independent Advisor
    2025-07-30T01:04:59.29+00:00

    Because the UpdateOrchestrator tasks are “protected,” the GUI won’t let you turn them off. You have to use an elevated command to override that protection.

    But if you feel confortable with the current situation, and knowing is not a virus, you could let it bee.

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments

  3. Jeronimo Fuerte 49,990 Reputation points Independent Advisor
    2025-07-30T00:28:08.87+00:00

    For each failing task:

    1. Select it in the middle pane.
    2. In the Actions pane (right side), click Disable. If you’re sure you’ll never need it, right-click > Delete.

    Disabling is reversible, so it’s safest to try that first.

    Was this answer helpful?

    1 person found this answer helpful.

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.