[Webinar] Learn how to a build a cloud-first strategyRegister Now


Disabling the command line interface

Posted on 2004-11-09
Medium Priority
Last Modified: 2010-04-14
How do I disable the command line interface from a user.
Question by:Gordan41
  • 2
LVL 10

Accepted Solution

Longbow earned 450 total points
ID: 12532474
You can prevent the user using cmd.exe :

To prevent the use of Start / Run
Start / Run / gpedit.msc
Go to User Configuration / Administrative Templates / Start Menu & Taskbar /
 Remove Run Menu from Start Menu.

You can also find : User Configuration / Administrative Templates / System /
 Prevent access to the command prompt.

I have checked on a XP machine.
I suppose you can find the same settings.
LVL 15

Expert Comment

ID: 12532487
Group Policy!

User Config > Admin Templates > System > Prevent Access to the Command Prompt
User Config > Admin Templates > Start Menu and Taskbar > Remove Run from Start Menu (you'll need this!)

lemme know if  it's local or domain, system wide or specified user if you need to know how to apply it...

LVL 15

Expert Comment

ID: 12532489
lol. too slow yet again...

LVL 25

Expert Comment

ID: 12533809
actually the only way to totally disable it is to remove the cmd.exe file (or change permissions on it).... if you dont to that any user can simply browse to that file and run it.  It is located at C:\WINDOWS\system32

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month20 days, 10 hours left to enroll

868 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question