6 Easy Fixes | CMD not Opening/Working in Windows 11/10

User Author

Achilles.H

May 12, 2022

6 Easy Fixes | CMD not Opening/Working in Windows 11/10

Command prompt is an important utility to handle administrative tasks in the Windows OS. The command prompt terminal allows you to execute advanced commands and scripts as well. But all of these functions can be invalid if you suddenly cannot open your CMD or it has stopped working.

Fortunately, by reading this post, you will know how to get the Command Prompt back to a working condition on Windows 11/10.

CMD not opening in window 11/10 - try 3 fixes

1. Create a CMD desktop shortcut

Step 1: Right-click any empty space on your computer's desktop, choose New and select Shortcut.

Step 2: In the Create Shortcut window, type cmd.exe and click Next.

type cmd exe

Step 3: Put a name for this shortcut and click Finish.

type cmd and click next

Step 4: After creating the command shortcut on your desktop, you can launch command prompt by double-clicking the shortcut.

a shortcut will be created

2. Open command prompt from file explorer

Step 1: Press Windows + E to open file explorer.

Step 2: Navigate to the local disk of your windows.

Step 3: Look for Windows folder.

Step 4: Inside the Windows folder, find the folder named System32 and double-click to open it.

Step 5: Look for cmd and right-click it, then select Run as administrator.

right-click cmd and select run as administrator

3. Open command prompt from Task Manager

Step 1: Press Ctrl + Shift + Esc to open Task Manager.

Step 2: On the menu bar, click File and then click Run new task.

click file

Step 3: A Create new task dialog box will present in your screen. Fill the address space with cmd or cmd.exe.

Step 4: Before click OK, check the box below the address space saying Create this task with administrative privileges.

check the box and click ok

CMD not working in windows 11/10 - try 3 fixes

1. Update the path system environment variable

Step 1: Press Windows + R to open Run, type sysdm.cpl to open the system configuration.

Step 2: In the Advanced tab, hit environment variables…

Step 3: In the System variables, click Path and Edit...

check the box and click ok

Step 4: In the Edit environment variable, click New and type the path given below.

     C:\Windows\SysWow64\
       

Then click OK.

click new and type the path

2. Make changes in the Windows services

Step 1: Press Windows + R key together to open Run. Type services.msc and hit Enter to open Windows services.

Step 2: Locate the Performance logs & Alerts service, right-click it and choose Properties.

click properties

Step 3: In the General tab, change the Startup type to Automatic. Then click Apply and OK.

change the startup type to automatic

Step 4: Back in the Services window, click the Start link in the left pane to start this service.

change the startup type to automatic

3. Edit the local group policy editor

Step 1: Press Windows + R key together to open run dialog, type gpedit.msc and hit Enter to open local group policy editor.

Step 2: Navigate to User Configuration > Administrative Templates > System.

Step 3: On the right side, look for a setting named Prevent access to the command prompt and double-click the setting.

double-click the setting prevent access to the command prompt

Step 4: Click Disabled or Not configured to access to the command prompt. Then click Apply and OK.

click disable or not configured