Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Command Prompt is a powerful utility on Windows and is often underutilized. If you use Command Prompt daily, you’ll realize how powerful it is, especially on the new Windows 11. But if the Command prompt has stopped working or opening whenever you summon it, you’ll need to troubleshoot that problem.

We have compiled a list of workable solutions that should get the Command Prompt to work again on your Windows 11 computer. So, let’s begin.

1. Check Antivirus

Antivirus programs on your PC can quarantine safe files, causing Command Prompt not to work. To resolve this issue, temporarily disable the antivirus program and check if Command Prompt functions properly.

2. Create a Shortcut

If you’re unable to open the Command Prompt due to troubles with the Start menu or Windows Search, try creating a shortcut. Here’s how. Step 1: Right-click on the desktop, go to New, and select Shortcut.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 2: Create a shortcut by typing cmd.exe in the location box and clicking Next.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

The third step is to name the shortcut and finish.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

You can use this shortcut to open Command Prompt.

3. Perform SFC and DISM Scan

Command Prompt not working can be caused by corrupted or missing system files. In this case, you can run an SFC or System File Checker scan to detect and fix those files. Here’s how:

See also  Top 7 Ways to Fix Outlook Keeps Asking For Password on Windows 10 and Windows 11

Step 1: Open the Start menu and type “Windows PowerShell”.

Press Enter.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 2: Type the command below and press Enter.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

This process might take a while. If the scan can detect and fix files, you’ll see a message that reads ‘Windows Resource Protection found corrupt files and successfully repaired them’.

If the SFC scan can’t find any issues, you can try a DISM or Deployment Image Servicing and Management scan instead. DISM can repair system images and files on your Windows like an SFC scan. Here’s how to run it.

Launch PowerShell with admin rights again and enter the following commands:

DISM /Online /Cleanup-Image /CheckHealth

DISM /Online /Cleanup-Image /ScanHealth

DISM /Online /Cleanup-Image /RestoreHealth

Once done, restart your PC and see if you can access Command Prompt now.

4. Update the System Environment Variables Path

If there are issues with the environment variables path on your PC, Command Prompt might fail to run commands. To remedy that, you can create a new path by following these steps:

Step 1: Press Windows key + R to launch the Run dialog box. Type in sysdm.cpl and press Enter.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Switch to the Advanced tab and click on the Environment Variables option.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 3: In the window, select Path variable and edit it.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 4: Next, click on New and enter the following path: C:\Windows\SysWow64\

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Reboot your computer and check if you can launch the Command Prompt.

5. Create New User Account

If you can’t use the Command Prompt, it might be an issue with your user account files. You can create a new user account on your computer to check if that works.

See also  6 Best Ways to Fix Always on Display Not Working On Android

Step 1: Press Windows key + I to open the Settings app.

Step 2: Go to the Accounts tab and click on Family & other users.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 3: Click Add account under Other users. Step 4: Click ‘I don’t have this person’s sign-in information.’

Follow the on-screen instructions to create a new user account on Windows. Log in with the new account and check Command Prompt functionality.

6. Try Safe Mode

Sometimes, third-party apps and programs on your PC can conflict with Windows 11 processes, leading to issues. To use the Command Prompt, you can boot your computer in Safe Mode. Learn how to enter Safe Mode on Windows 11. Here’s how:

Step 1: Open the Start menu, type “System Configuration,” and press Enter.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 2: In the System Configuration window, go to the Boot tab. Select Safe boot under Boot options and click OK.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 3: Click Restart to enter Safe Mode.

In Safe Mode, check if you can access Command Prompt. If so, try removing recently installed apps and programs to see if it helps the Command Prompt run.

7. Perform System Restore

Your Windows 11 PC has a System Restore feature that takes regular backups of the entire system. You can use it to revert to a point when the Command Prompt was working properly and undo any negative changes. Here’s how:

1. Open the Start Menu, type “create a restore point”, and select the first result.

2. Go to the System Protection tab and click on the System Restore button.

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Step 3: You can choose the recommended restore point or pick one yourself.

See also  7 Best Fixes for Windows Update Error 0x800f081f in Windows 11

Top 7 Ways to Fix Command Prompt Not Working on Windows 11

Select a restore point when the Command Prompt runs well and proceed. Follow the instructions on the screen to perform a system restore.

Command and Control

Command Prompt is a vital part of Windows, but when it fails to run, it can be concerning. Hopefully, the above solutions have helped resolve the issue.

Leave a Comment