Tuesday, March 2, 2010

Enable/Disable Command Prompt and Batch Files

  1. Open your registry and find or create the key below.
  2. Create or modify the DWORD value "DisableCMD" and set it to a number from the list below.
•0 - (default) enable command prompt and batch files

•1 - disable command prompt and batch files              

•2 - disable command prompt but allow batch files      

     3. The change should take effect immediately.



Registry Settings


User Key: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System]
Value Name: DisableCMD
Data Type: REG_DWORD (DWORD Value)
Value Data: (0 = default, 1 = disabled, 2 = disabled but allow batch)

0 comments:

Post a Comment

Your IP Is Hacked By Me...............

Sign by Danasoft - Get Your Free Sign