Warning: Constant WP_MEMORY_LIMIT already defined in /home/caocap/public_html/wp-config.php on line 103

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/caocap/public_html/wp-content/plugins/fixed-toc/frontend/html/class-dom.php on line 98
Fix Command Prompt Has Been Disabled by Your Administrator - Friend.com.vn

Fix Command Prompt Has Been Disabled by Your Administrator


Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/caocap/public_html/wp-content/plugins/fixed-toc/frontend/html/class-dom.php on line 98

Fix “Command Prompt Has Been Disabled by Your Administrator”

After you open Command Prompt in Windows 10, the window immediately exits when you press any key. You open CMD again wanting to see the cause and find “The command prompt has been disabled by your administrator” showing on the screen.

The command prompt has been disabled by your administrator

Then what should be done to fix the problem so that you can open and use CMD normally? Now, this post will show you three options to re-enable Command Prompt disabled by the administrator in Windows 10. The methods also work on other Windows versions.

  • Option 1: by Group Policy Editor
  • Option 2: by Registry Editor
  • Option 3: by Run command

Option 1: Use GPEDIT to enable Command Prompt disabled by the administrator

Step 1: In the Windows 10 Start menu, type friend.com.vn. Then click gpedit in the program list to open Local Group Policy Editor.

Step 2: Navigate to User Configuration > Administrative Templates > System. Click on the System entry, then on the right-side pane, double-click on Prevent access to the command prompt.

Double-click Prevent access to the command prompt

Step 3: Check Not Configured or Disabled, and then click Apply and OK. Then you can open and use Command Prompt normally.

Check Not Configured or Disabled

Option 2: Use REGEDIT to fix “The command prompt has been disabled by your administrator”

Tips: You will need to edit Registry. It’s a good idea to firstly backup your Windows 10 registry if you fear to make a mistake.

Step 1: Press Win + R keys to bring out the Run dialog. Type regedit and click OK to open Registry Editor.

Step 2: Navigate to HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsSystem. Click on the System entry, and then on the right-side pane, double-click on the DisableCMD key.

Double-click DisableCMD key

Tips: If you can’t find the System key under Windows, you need to create a new key and name it System. If you can’t find the DisableCMD key, create a new DWORD value and name it DisableCMD.

Step 3: Set the value data to 0 and click OK. Then you can open and use Command Prompt normally.

Set value data to 0

Option 3: Use Run command to enable command prompt disabled by the administrator

Tips: This way only works when you’ve signed into Windows 10 as the built-in administrator.

Step 1: Press Win + R to bring out the Run dialog. Then type REG add HKCUSoftwarePoliciesMicrosoftWindowsSystem /v DisableCMD /t REG_DWORD /d 0 /f in the box and then click OK.

Type codes

Step 2: When you see a command prompt window flash by, the disabled Command Prompt is re-enabled successfully and you can use it to work normally.

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *