Updated by

Sherly

Written by

Tracy King

Last updated on April 22, 2024

"Command Prompt not working properly in Windows 11/10"

"I tried typing 'CMD' in the search bar and hitting enter, but no Command Prompt window popped up. Then, I right-clicked the Windows button, chose Command Prompt or Command Prompt (Admin), but nothing worked. I have no idea what's going on. Initially, I wanted to create a new partition through the Command Prompt. Now, with this issue, what should I do? Are there any solutions to this problem? How can I proceed?"

It appears that quite a few Windows 10 users have encountered issues with CMD commands not working after updating to the new system. As such, how to get CMD commands working again has become a pressing issue.

Here's a quick fix and a reliable method to resolve issues with the Command Prompt not working correctly on your Windows 10 computer:

Please provide the English content you want translated, and I'll translate it into Chinese for you as soon as possible.

Solutions That Work Step-by-Step Troubleshooting
Solution 1. Use CMD Alternative Tool Run CMD alternative software > Right-click the target partition to "Check File System"...Full Steps
Solution 2. Enable CMD Functionality Search for environ to open Advanced System Properties > Click "Environment Variables"...Full Steps
Solution 3. Perform a System Restore Search for system restore to open System Restore > Choose the latest restore point...Full Steps

Quick Fix: Use an Alternative to CMD

If you can't create partition or format disk via CMD prompt, or even convert disk to MBR/GPT, don't worry. A professional CMD alternative – Partition Master Tool will help you get the job done effectively.

You can also use the partition manager tool to effectively fix bad sectors and corrupted file systems that prevent CMD from running on Windows 10:

Step 1: Launch Partition Master on your computer. Then, right-click the partition you want to check and select “Advanced” > “Check File System.”

Select "Check Partition": choose Check Partition

(2) In the Check Disk Utility dialog, select the Automatically fix file system errors option, and then click Start.

Check the partition to be formatted

Step 3: The software will now check the partition's file system on the disk. When it's done, click “Finish.”

Finish the partition check

If not, proceed to fix it using Method 1 or Method 2.

Method 1: Update the PATH System Environment Variable to Enable CMD

1. Type env, and then select Edit the system environment variables to open System Properties with Advanced Settings.

Fix the issue that the Command Prompt cannot run by updating the PATH system environment variable

2. Click the “Advanced” tab in System Properties, and then click “Environment Variables.”

Update the "PATH" system environment variable to resolve issues with CMD not running.

3. Under "Environment Variables," click on "PATH" and then click "Edit."

Fix CMD by updating the PATH system environment variable.

4. Click “New” and add: \Windows\SysWow64\, then click “OK.”

Repair CMD in Windows 10

5. Restart your computer, and you'll be able to use CMD in Windows 10 once again.

Method 2: Try System Restore to Fix the Issue with Command Prompt Not Working in Windows 11/10

1. Click the "Start" button, and then type "System Restore" in the search box. 2. Click "System Restore," and then choose the most recent restore point you created. Click "Next." 3. Confirm that the selected restore point is correct, and then click "Finish" to revert Windows 10 to its previous state. This will allow you to run Windows 10 without issues. After completing this step, you can use CMD to help you delete files, create partitions, or even convert disk partition tables without problems.