After you open Command Prompt in Windows 10, the window immediately exits when you press any key. You open CMD again wanting to lớn see the cause and find "The commvà prompt has been disabled by your administrator" showing on the screen.
Bạn đang xem: Lỗi the command prompt has been disabled by your administrator
Then what should be done to lớn fix the problem so that you can open và use CMD normally? Now, this post will show you three options lớn re-enable Comm& Prompt disabled by the administrator in Windows 10. The methods also work on other Windows versions.
Option 1: Use GPEDIT to enable Commvà Prompt disabled by the administrator
Step 1: In the Windows 10 Start thực đơn, type gpedit.msc. Then click gpedit in the program các mục to lớn open Local Group Policy Editor.
Step 2: Navigate to lớn User Configuration > Administrative Templates > System. Clichồng on the System entry, then on the right-side pane, double-cliông chồng on Prevent access to the commvà prompt.
Step 3: Check Not Configured or Disabled, and then clichồng Apply và OK. Then you can open and use Commvà Prompt normally.
Option 2: Use REGEDIT lớn fix "The commvà prompt has been disabled by your administrator"
Tips: You will need lớn edit Registry. It’s a good idea to firstly backup your Windows 10 registry if you fear khổng lồ make a mistake.
Step 1: Press Win + R keys to bring out the Run dialog. Type regedit & cliông chồng OK to open Registry Editor.
Step 2: Navigate to HKEY_CURRENT_USERSoftwarePoliciesMicrosoftWindowsSystem. Cliông chồng on the System entry, & then on the right-side pane, double-clichồng on the DisableCMD key.
Tips: If you can’t find the System key under Windows, you need lớn create a new key và 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 lớn 0 & cliông xã OK. Then you can open and use Command Prompt normally.
Option 3: Use Run command to lớn enable comm& prompt disabled by the administrator
Tips: This way only works when you’ve signed inlớn Windows 10 as the built-in administrator.
Step 1: Press Win + R khổng lồ bring out the Run dialog. Then type REG add HKCUSoftwarePoliciesMicrosoftWindowsSystem /v DisableCMD /t REG_DWORD /d 0 /f in the box & then cliông chồng OK.
Xem thêm: Skype Không Nhận Được Tin Nhắn Skype Không Hoạt Động Trên Windows 10
Step 2: When you see a commvà prompt window flash by, the disabled Command Prompt is re-enabled successfully & you can use it to lớn work normally.