Being a Windows 10 user, you might have experienced the command prompt popping up and disappearing within seconds. Many users face the command prompt pops up and close on Windows 10 while gaming, which takes all the focus and cannot even be minimized.
This issue arises either when you log in to your system or keep appearing within the span of 47 minutes during the usage of your computer.
Why does Command Prompt Pops up and Closes on Windows 10?
The following could be the potential reasons for Command prompt popping up and closing on Windows 10:
1. If this issue happens in regular time intervals, it is most likely due to the task scheduler, which is indefinitely recurring because of some Windows services or third-party applications.
2. There is malware or viruses are hiding as Windows services or applications and trying to download something from the internet.
How to Fix Command Prompt pops up and Closes on Windows 10?
You can follow the solutions mentioned accurately to fix the problem of the Command prompt popping up and closing on Windows 10.
Solution 1: Run DISM Scan to Fix Command Prompt pops up and Closes on Windows 10:
1. Open the Command Prompt from the Start menu.
2. Then, select the Run as administrator option.
3. Next, type the following command and press Enter:
DISM /Online /Cleanup-Image /CheckHealth
The DISM will run and verify any data corruption that may require fixing and correcting the command prompt popping up and closing in Windows 10 issue.
Solution 2: Disable Office Background Task to Fix Command Prompt pops up and Closes on Windows 10:
Microsoft Office is known to create a scheduled task that creates the command prompt pops up and closes in Windows 10 kind of issue.
Follow these steps to disable office background tasks:
1. Open the Run box and type the following, then press Enter.
taskschd.msc
2. Now, the task scheduler will open, in which you need to double-tap the Task Scheduler Library folder.
3. Next, select the Microsoft folder and then the Office folder from the left pane.
4. Now, locate the task named ‘OfficeBackgroundTaskHandlerRegistration’
Select it and click disable.
Solution 3: Check for Virus or Malware to Fix Command Prompt pops up and Closes on Windows 10:
Command prompt popping up and closing in Windows 10 can indicate the presence of malware and viruses after downloading information from the internet.
Solution 4: Use Task Scheduler to Fix Command Prompt pops up and Closes on Windows 10:
Disabling the scheduled tasks can help fix the command prompt popping up and closing in Windows 10.
1. Open the Task scheduler and click the Task Scheduler Library from the left pane as explained in Solution number.
2. Examine the scheduled tasks from the list and disable any task that looks inappropriate.
Solution 5: Run a clean boot
1. Open the Start menu and in its search box type:
msconfig
2. Open the System Configuration and select Services.
3. Next, click Hide all Microsoft services and then tap Disable all.
4. Now, move to the Startup option and click on Open Task Manager.
5. Next, disable all the startup items.
6. Lastly, click OK and restart your system.
Your computer will be able to work normally again, and the command prompt popping up and closing on Windows 10 won’t appear again.
Frequently Asked Question
Q1. How to fix Administrator cmd exe?
Answer: 1. Open the Start menu and in its search box type:
msconfig
2. Open the System Configuration and select Services.
3. Next, click Hide all Microsoft services and then tap Disable all.
4. Now, move to the Startup option and click on Open Task Manager.
5. Next, disable all the startup items.
6. Lastly, click OK and restart your system.
Q2. How to remove CMD EXE from startup?
Answer: You can fix this issue by running a clean boot using these steps:
1. Open the Start menu and in its search box type:
msconfig
2. Open the System Configuration and select Services.
3. Next, click Hide all Microsoft services and then tap Disable all.
4. Now, move to the Startup option and click on Open Task Manager.
5. Next, disable all the startup items.
6. Lastly, click OK and restart your system.
Q3. How to change to administrator in cmd prompt?
Answer: To do so, open the Command Prompt from the Start menu, right click on it and select the Run as administrator option.
Q4. How to make a user a local admin in cmd prompt?
Answer: To do so, you need to follow these steps:
1. Open the Command Prompt from the Start menu and right-click it. You will see a drop-down menu appearing.
2. Select Run as Administrator and click Yes when prompted.
3. Now, type the username and password in the Add User command that appears and press Enter.4. Finally, grant the user administrator permissions.
Q5. Why does command prompt suddenly appear on my windows?
Answer: The following could be the potential reasons for Command prompt popping up and closing on Windows 10:
1. If this issue happens in regular time intervals, it is most likely due to the task scheduler, which is indefinitely recurring because of some Windows services or third-party applications.
2. There is malware or viruses are hiding as Windows services or applications and trying to download something from the internet.
Conclusion
We hope you will now be able to fix the problem of the Command Prompt popping up and closing in Windows 10. However, if you are still not able to solve the problem, then you can connect with us via the chat box at the bottom right or through the comment section below. We’ll try to help you solve the issues with windows.