• Skip to main content
  • Skip to primary sidebar

Technipages

Smart phone, gadget and computer tutorials

  • Topics
    • Android
    • Gaming
    • Hardware
    • Internet
    • iOS
    • MacOS
    • Office
    • Software
    • Windows
    • Definitions
  • Product Reviews
  • Downloads
  • About
Windows 10 Command Prompt Appears Then Disappears

Windows 10 Command Prompt Appears Then Disappears

Posted on December 18, 2020 by Madalina Dinita Leave a Comment

Command Prompt is a handy Windows 10 tool you can use to run various commands or troubleshoot your computer. If CMD appears and then immediately disappears, we’ll show you how you can fix this issue.

Fix Command Prompt Appears and Disappears

Check If You’re Really Running the Command in CMD

Oftentimes, Command Prompt suddenly disappears if you’re running a CMD-specific command in a Run window. For example, you’re running ipconfig.exe.

When the command stops running, the Command Prompt window it ran in automatically closes. Don’t worry about that, there’s nothing wrong with your CMD tool.

Run your commands in a stand-alone Command Prompt window. The window won’t close when the command completes.

Close Any Suspicious Programs and Processes

If CMD disappears after a few seconds, this indicates another program might be conflicting with it.

Open the Task Manager and click on the Processes tab. Check if you notice any unusual programs or processes. Right-click on them and select End Task.task manager end task pc

Also, if this issue occurred shortly after you installed a new program on your machine, disable that program. If it’s not an essential program, go ahead and uninstall it.

Tell CMD to Stay Open

There’s a specific command you can run to tell Command Prompt to stay open.

Press the Windows + R key to open a Run window. Then enter the cmd /k ipconfig /all command and hit Enter.

Create a CMD Shortcut

Some users were able to fix this issue by creating a dedicated CMD shortcut.

  1. Right-click on your desktop and select New → Shortcut.
  2. Then browse your computer and go to Command Prompt’s location. It should be under C:\windows\system32\cmd.create cmd shortcut
  3. Hit Next and type a name for the shortcut.
  4. Hit the Finish button to create the shortcut on your desktop.

Disable OfficeBackgroundTaskHandler

If the OfficeBackgroundTaskHandler task is available on your computer, turn it off. Check if the CMD issue is gone.

  1. Type ‘task scheduler‘ in the Windows Search bar.
  2. Double-click on the Task Scheduler.
  3. Then navigate to Microsoft → Office.
  4. Right-click on OfficeBackgroundTaskHandlerRegistration and disable the task.

OfficeBackgroundTaskHandlerRegistration

Update Your Drivers

Open the Device Manager and check if there’s any yellow exclamation mark next to your drivers. Pay attention to the Network adapter drivers. Ensure they’re up-to-date.

update network adapter driver pc

If you still can’t use Command Prompt because the tool keeps disappearing, switch to PowerShell. You can use the framework to run any CMD commands.

You Might Also Like

  • How to Make Windows Command Prompt TransparentHow to Make Windows Command Prompt Transparent
  • Windows 10: Use the Command Prompt to Close a ProcessWindows 10: Use the Command Prompt to Close a Process
  • Windows 10 - How to Uninstall a Program Using the Command PromptWindows 10 - How to Uninstall a Program Using the…
  • Windows Command Prompt: How to Change the Font and ColorsWindows Command Prompt: How to Change the Font and Colors
  • Windows: Create Command Prompt That Opens To Specific Folder LocationWindows: Create Command Prompt That Opens To…
  • How to Access Device Manager from the Command PromptHow to Access Device Manager from the Command Prompt
  • Google Chrome: Bookmark Bar Disappears - FixGoogle Chrome: Bookmark Bar Disappears - Fix
  • Turn off Default Browser Prompt in Windows 10Turn off Default Browser Prompt in Windows 10
  • Windows: Command to Find MAC AddressWindows: Command to Find MAC Address

Filed Under: Windows Tagged With: Troubleshooting, Windows 10

Reader Interactions

Did this help? Let us know! Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Recent Posts

  • Zoom: How to Receive Notifications for Messages You’re Following
  • Zoom: How to Configure the Size of Captions
  • Fix Microsoft Teams Not Detecting Camera
  • Microsoft Teams: Mouse Scroll Wheel Not Working
  • Fix Microsoft Teams Browser Not Supported
  • Android 10: How to Adjust the Keyboard Size
  • OneNote Error Code 0xE00001AE – Fix
  • WhatsApp: How to Change Your Phone Number

Who’s Behind Technipages?

Baby and Daddy My name is Mitch Bartlett. I've been working in technology for over 20 years in a wide range of tech jobs from Tech Support to Software Testing. I started this site as a technical guide for myself and it has grown into what I hope is a useful reference for all.

Follow me on Twitter, or visit my personal blog.

You May Also Like

  • Windows 95/98
  • Microsoft Windows 95
  • Microsoft Windows NT
  • Microsoft Windows
  • Windows Media Player (WMP)
  • Top 8 Itunes Alternatives for Windows

© Copyright 2021 Technipages · All Rights Reserved · Privacy