sodcalculator

10 Tech How-To

Can’t Type in CMD? Fixes for Keyboard Input

Guide 10-31061 · Updated · Step by step

If you can’t type in Command Prompt, the issue is usually a frozen input buffer, a stuck filter key, or the window being in a state that ignores keystrokes. The quickest fix is to click the CMD window once to focus it, then press Ctrl+C to cancel any stuck command, and try typing again. If that doesn’t work, close and reopen Command Prompt as administrator, or restart the Windows Terminal service if you’re using Windows Terminal.

Why Command Prompt Stops Accepting Typing

Command Prompt is a console application that reads keystrokes only when the window has focus. Several things can break that:

  • QuickEdit mode — a built-in feature that pauses output when you click inside the window, so the next keystroke is interpreted as selecting text, not typing.
  • A running command — if a process is waiting for input (like pause or ping with a long timeout), the prompt isn’t active.
  • Stuck modifier keys — a stuck Shift, Ctrl, or Alt key can make typed characters do nothing or trigger shortcuts.
  • Focus loss — another window stole focus, so keystrokes go elsewhere.
  • Corrupted console settings — registry or profile corruption can break input handling.

Quick Fixes to Try First

  1. Click the CMD window once to ensure it has focus. The title bar should change color (usually from gray to blue).
  2. Press Ctrl+C once or twice. This cancels any stuck command or selection and returns to the prompt.
  3. Press Ctrl+M to toggle Mark mode off if you accidentally enabled it.
  4. Press Esc to clear the current line.
  5. Type cls and press Enter — if it works, the input is back.

If none of those work, the problem is likely QuickEdit mode or a deeper system issue.

Disable QuickEdit Mode (Most Common Cause)

QuickEdit lets you select and copy text with the mouse, but it also pauses output when you click inside the window. If you click while a command is running, the console freezes and keystrokes do nothing until you press Enter or Ctrl+C. To disable it permanently:

  1. Right-click the CMD title bar and select Properties.
  2. Go to the Options tab.
  3. Uncheck QuickEdit Mode.
  4. Click OK and choose “Save properties for future windows.”

This stops accidental pauses. You lose the ability to select text with the mouse, but you can still copy by right-clicking after enabling “Use Ctrl+Shift+C/V as Copy/Paste” in the same tab.

Check for Stuck Keys or Keyboard Issues

Sometimes the problem isn’t CMD at all — it’s your keyboard. Test by typing in Notepad. If that works, the issue is CMD-specific. If not, check:

  • Sticky Keys — press Shift five times to toggle it off if enabled.
  • Filter Keys — hold right Shift for 8 seconds to toggle off.
  • Wireless keyboard battery — low battery can cause dropped keystrokes.
  • NumLock — if you use the numeric keypad for arrow keys, ensure NumLock is off.

Also try a different USB port or a wired keyboard to rule out hardware.

Run Command Prompt as Administrator

Some commands (like sfc /scannow or diskpart) require elevated privileges. If you’re trying to type but the prompt is unresponsive, it might be because the command needs admin rights and the UAC prompt is hidden behind your window. Right-click the CMD shortcut and select Run as administrator. If UAC appears, click Yes. Then type again.

Restart Windows Terminal or ConHost

If you’re using Windows Terminal (the tabbed app that hosts CMD), the terminal itself might have a glitch. Close all tabs and reopen. If that fails, restart the console host process:

  1. Press Ctrl+Shift+Esc to open Task Manager.
  2. Look for Windows Terminal or Console Window Host under Processes.
  3. Right-click and select End task.
  4. Reopen CMD from Start.

This kills any stuck input buffer without rebooting.

Reset Command Prompt Settings

Corrupted console settings can cause odd behavior. To reset them:

  1. Open Registry Editor (regedit).
  2. Navigate to HKEY_CURRENT_USER\Console.
  3. Delete the entire Console key (back it up first if you want).
  4. Close and reopen CMD. It will recreate default settings.

This fixes issues from misconfigured fonts, colors, or QuickEdit flags. It won’t affect your system.

When Nothing Works: Reboot or Use Alternative

If you’ve tried all the above and CMD still won’t accept typing, a full reboot clears any stuck system state. If you need a command line immediately, you can open PowerShell (which shares the same console host) or use Windows Terminal with a PowerShell tab. Both accept the same commands for most tasks.

As a last resort, run sfc /scannow from an elevated PowerShell to repair system files that might affect console input.

Frequently Asked Questions

Why does CMD freeze when I click on it?

That’s QuickEdit mode. Clicking inside the window pauses output and starts a selection. Press Enter or Ctrl+C to resume. Disable QuickEdit in Properties to prevent it.

Can’t type anything in CMD after running a command — what do I do?

Press Ctrl+C to cancel the running command. If that doesn’t work, close the window and reopen. Some commands like pause wait for a keypress — press any key.

CMD opens but the cursor doesn’t blink — is it broken?

Not necessarily. The cursor might be hidden because the window lost focus or QuickEdit is active. Click the window and press a key. If still nothing, restart the console host.

How do I enable Ctrl+C and Ctrl+V in CMD?

Right-click the title bar, go to Properties > Options, and check “Use Ctrl+Shift+C/V as Copy/Paste.” Then you can use Ctrl+Shift+C to copy and Ctrl+Shift+V to paste.

Does Windows 11 have a different fix for this?

Windows 11 uses Windows Terminal by default, so the steps are similar but the settings are in the Terminal’s settings (Ctrl+,). You can still disable QuickEdit in the CMD profile’s properties.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →