Share via

CMD and Powershell randomly opening and closing

Anonymous
2022-01-09T00:42:14+00:00

I was playing a game and out of nowhere my game tabbed out and cmd flashed open and closed immediately and seconds later PowerShell did the same thing. I thought nothing of it so I kept playing and then it kept happening after every game. I haven't updated anything and i haven't changed any settings so I don't know what is causing it. I played this game for a lot now and this never happenened before, I scanned my pc and no harmful files or viruses were detected please helpme out.

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

1 answer

Sort by: Most helpful
  1. Anonymous
    2022-01-09T01:30:28+00:00

    Good day! I'm Raniel, a Microsoft user like you. I understand your frustration regarding this issue and I'll do my best to help.

    If you were able to get a screenshot of the command prompt/powershell window, kindly use this tool Autoruns for Windows - Sysinternals: https://docs.microsoft.com/en-us/sysinternals/d...

    1. Click on "Download Autoruns and Autorunsc" to download the file
    2. Extract the file and run Autoruns/Autoruns64 as admin (Note: run Autoruns64 if you are running a 64-bit OS)
    3. Once Autoruns is launched, search for "cmd" in the search box (do the same for "powershell" as well)
    4. Post the result. or if you were able to capture the title of the command prompt window, you may search it as well under the "Filter:" to know the proper entry to uncheck.
    5. Once unchecked, or deleted, kindly reboot your machine and monitor again.

    If that didn't work, kindly enable the "built-in" administrator account to isolate the issue:

    1. On your search bar, type command prompt and select "run as administrator"
    2. On the command prompt window, type net user administrator /active:yes and press Enter
    3. Reboot your machine, then login to your admin account, and check if you'll encounter the same issue.

    Note: If you don't encounter the issue on the built-in administrator account, I suggest that you create a new user account (go through the steps under "My computer is in a workgroup") . Please refer to this article as a guide: https://support.microsoft.com/help/14039/window...

    I hope this helps. Good luck!

    Was this answer helpful?

    0 comments No comments