CMD window pops up randomly, keeps showing a path way of: c:/windows/system32/cmd.exe in your Windows PC? Don't worry if you don’t know how to stop Command Prompt from coming up. Right here in this article, 3 methods and 2 options will help you fix CMD keeps popping up error with ease now.
"Hi guys, have you ever met this problem that Command Prompt keeps popping up with a black window which shows a pathway: c:\windows\system32\cmd.exe. I closed the window, but it popped up right away. I repeated several times, but the CMD window still came out continuously. Do you know how can I make this right? Please help me if you know how to get things right on my computer. Thank you very much."
According to the Microsoft community and Google search results, it's not a new problem that quite a lot of Windows users have encountered with the "CMD keeps popping up" error. However, most Windows users are still not quite clear about what they should do when such a problem comes out. So what can you do when such a problem occurs to you in Windows 10/8/7?
Fortunately, right now, in this article, you'll find 3 reliable methods and two effective options offered by EaseUS software to help you effectively fix CMD pops up random error. If you are having the same problem that CMD keeps coming out on your Windows PC, follow and get your problem fixed with offered solutions here right now.
Here, we'll provide you 3 methods to assist you in solving CMD popping up randomly errors, and you may selectively follow any one method to get this issue fixed on your own now:
Here, we'll show you how to clean boot Windows 10 as an example for you to follow and clean boot your PC.
1. Click "Start" and search: msconfig > select "System Configuration";
2. Click "Services" on System Configuration > click and select "Hide all Microsoft services" > click "Disable all";
3. Click "Startup" on System Configuration > click "Open Task Manager";
4. Select each startup item on Startup and click "Disable" > close "Task Manager";
5. Click "OK" on the Startup tab of System Configuration > Restart PC.
By doing so, your computer will be able to work normally again, and you'll see that no CMD window pops up anymore.
SFC, known as System File Checker, can be used as a tool to scan all of the important Windows files on your computer and repair them if necessary. Missing or corrupted system files, such as DLL files, may cause CMD continuously popping up errors in Windows. Let's see how to run SFC to solve CMD.exe unusually shows up an error appears in your PC now:
1. Press Win + R > type: cmd and click "OK" to bring up Command Prompt;
2. Type: sfc /scannow and hit Enter;
3. Then restart the PC after the scan and check whether the CMD.exe issue is fixed or not.
If the system partition contains bad sectors or gets infected by an unknown virus or malware, CMD may not be able to work correctly. Therefore, the other way to fix CMD randomly popping up issues is to repair bad sectors with partition manager software and clean up the virus by applying anti-virus software to the PC.
Step 1. Open EaseUS Partition Master on your computer. Then, locate the disk, right-click the partition you want to check, and choose "Advanced" > "Check File System".
Step 2. In the Check File System window, keep the "Try to fix errors if found" option selected and click "Start".
Step 3. The software will begin checking your partition file system on your disk. When it completes, click "Finish".
Step 4. Download and run anti-virus software on a Windows PC and clean up all viruses or malware that causes CMD to pop up an error.
After this, restart the PC and check out whether everything works fine or not on your PC now.
If you need a fine and reliable anti-virus cleaning software, TotalAV is a reliable utility that you can try:
TotalAV is an Award Winning Antivirus and Security Software. It Provides Real-Time Protection from Viruses, Malware & Online Threats.
Antivirus Protection Enabled
If the previous 3 methods didn't solve your problem, you might try another two extra options here to stop Command Prompt popping up randomly issue:
1. Install the latest updates on Windows PC;
2. Restart the Windows system to repair corrupted files;
3. Open the Command Prompt window, type: dism /online /cleanup-image /restorehealth, and hit Enter;
4. Wait for the process to complete run: sfc /scannow command and hit Enter.
After this, reboot the PC and keep all changes. Then you can check whether CMD pops up randomly error is fixed or not.
Sometimes, when a user's profile is corrupted, CMD may not be able to function normally. Here you may follow to try to create a new user account to see whether CMD.exe can work or not:
1. Press Win + R to open Run dialog > Type: control userpasswords2 and click "OK";
2. Click "Add" under the Users tab on the User Account window;
3. Click "Sign in without a Microsoft account (not recommended)" under the " How will this person sign in the window;
4. Click "Local Account" on next window > Choose a username > "Next" > "Finish";
5. Select the newly created user since the previous User Account window remains on the screen > click "Properties";
6. Click "Group Membership" > select "Administrator" > "Other" > "Administrator";
7. Click "Apply" > Click "OK".
After this, you may check and see whether the Command Prompt has stopped popping up or not. If not, try to reboot your PC and sign in with your new user account, then everything shall work just fine.
Related Articles
How to Fix Desktop Refers to A Location That Is Unavailable Error
How to Fix Mac/MacBook Pink Screen? Here Are Reasons and Solutions
6 Solutions to Mac Recovery Mode Not Working [2024 Guide]
How to Fix Windows 10 Start Menu Critical Error