Categories




Still have a problem? Ask for help at our discussion forum.
Search


Advanced Search
Article Options
Popular Articles
  1. Handwrite for MSN Messenger
  2. Win2000 Logon Screen
  3. The difference between 64 and 32 bit processors
  4. Windows XP FAQ T
  5. Windows XP FAQ P
No popular articles found.

 »  Home  »  Miscellaneous Page 1  »  Prevent Access to Command Prompt
Prevent Access to Command Prompt
By  Super Admin  | Published  02/26/2005 | Miscellaneous Page 1 | Rating:
Prevent Access to Command Prompt

This setting also determines whether batch files (.cmd and .bat) can run on the computer.
If you enable this setting and the user tries to open a command window, the system displays a message explaining that a setting prevents the action.
Note: Do not prevent the computer from running batch files if the computer uses logon, logoff, startup, or shutdown batch file scripts, or for users that use Terminal Services.

START > RUN > GPEDIT.MSC > USER CONFIGURATION > ADMINISTRATIVE TEMPLATES > SYSTEM > FIND PREVENT ACCESS TO THE COMMAND PROMPT > RIGHT CLICK > PROPERTIES > CLICK ENABLE > OK REBOOT

Note: This will disable the command for all users including the local administrator. If you want to disable this for specific users only (and for XP Home users) make the change in the registry. Login to the account you want to change and create the following registry entries:

HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\System\
DisableCMD  dword  0x00000001   to disable command prompt and batch files
or
DisableCMD  dword  0x00000002   to disable command prompt but not batch files

 

How would you rate the quality of this article?
1 2 3 4 5
Poor Excellent
Tell us why you rated this way (optional):

Send to Author Post on Site

Comments
  • Comment #1 (Posted by an unknown user)
    Rating
    I guess this also will prevent several antivirus from installing updates after use of autoupdate (those which you can see command is opened and a script is runned automatic). Think SpyBot use a cmd/bat-script too after updating
     
  • Comment #2 (Posted by an unknown user)
    Rating
    Great, but im now locked out of command prompt, is there a way to bypass it?
     
  • Comment #3 (Posted by an unknown user)
    Rating
    Will diz permanently disable command prompt??
     
  • Comment #4 (Posted by an unknown user)
    Rating
    Will this permanently disable cmd??
     
Submit Comment