Wednesday, September 9, 2009

The command prompt has been disabled by your administrator

This happen when restrictions placed in registry.

1st method : Console registry
  • Goto run then type this exactly.
REG add HKCU\Software\Policies\Microsoft\Windows\System /v DisableCMD /t REG_DWORD /d 0 /f

2nd method : Editing registry
  • Goto run then type regedit
  • Navigate to { HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System }
  • In the right-panel, double-click DisableCMD and set it's data to 0 or just delete it
3rd method : Using group policy editor
  • Goto run then type gpedit.msc
  • Navigate to { User Configuration \ Administrative Templates \ System }
  • Double-click the Prevent access to the command prompt and set it to not configured or disabled.

No comments:

Post a Comment