Command Prompt and Powershell window opens and closes on startup.

Anonymous
2022-09-27T10:58:24+00:00

Every time I turn on my computer, these two windows open and then close by themselves after about 5 to 10 seconds.

I even attempted to disable every single startup process. Even after performing a clean boot, the problem persists.

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes
Answer accepted by question author
  1. _AW_ 64,136 Reputation points Volunteer Moderator
    2022-09-27T23:24:28+00:00

    OK, this should clear the infection.

    Right click Autoruns and run as administrator

    Make sure in Options that 'Hide Microsoft Entries' and 'Hide Windows Entries' are unchecked

    Select the Scheduled Tasks tab

    In the Quick Filter box enter: powersh

    Right click on the task \Microsoft\Windows\Management\Provisioning\User and delete

    In the Quick Filter box enter: ukjpb

    Right click on the task \Microsoft\Windows\BitLocker\BitLocker MDM policy Refresh UKjpB and delete

    Restart the computer.

    After restarting, delete the following files:

    C:\Windows\System32\c80570f7-0b51-4d7d-88c1-7a41bc04ec92.ps1

    C:\Windows\System32\diexwyg5.vov

    3 people found this answer helpful.
    0 comments No comments

4 additional answers

Sort by: Most helpful
  1. _AW_ 64,136 Reputation points Volunteer Moderator
    2022-09-27T11:08:27+00:00

    Hi iamsami, if you could share an Autoruns log with me, I'll help you fix the issue.

    First download Autoruns:

    https://docs.microsoft.com/en-us/sysinternals/downloads/autoruns

    Unzip and run Autoruns64.exe and accept the license agreement

    When it finishes scanning, go to File > Save - Save the autoruns.arn log

    Share the log on OneDrive, Google Drive, or a similar file sharing service

    Post the share link

    0 comments No comments
  2. Anonymous
    2022-09-27T17:15:20+00:00
    0 comments No comments
  3. Anonymous
    2022-09-28T10:01:05+00:00

    After performing these actions, the cmd and powershell windows did not reappear after restarting. Thank you very much for your assistance.

    0 comments No comments
  4. _AW_ 64,136 Reputation points Volunteer Moderator
    2022-09-28T10:05:51+00:00

    Yoiu're welcome. :)

    0 comments No comments