How to disable the "Run" command from the start menu for users I create on my network.

Posted on 2004-11-24
Last Modified: 2010-04-14
Your experts told me how to disable the run cmd from the start menu on my workstations but the downside is, it was also disabled from the local admin account on the workstation. I need to disable it for any user accounts I create on the workstation  but I still need to have access to it from the admin account. How can I do this?? Also how do I reverse what I have already done on the workstationsto get the run line back???
Question by:Gordan41
    LVL 16

    Assisted Solution

    Hi Gordan41,

    This can be achieved only in a full AD structure for AD users.
    Firstly you need to setup the GP with the run setting disabled under 'User Configuration> Administrative Templates> Start Menu and Taskbar'.
    Then you need to set this policy to apply to users using rights.
    Then set this policy to apply to the relevant OU under which your users exist.

    This poilcy will then apply to all users in the OU and sub folders assuming they belong to the relevant group you have set to have rights to this policy.

    As far as I am aware, there is no way to apply policies to different groups of users on the local machine.

    Good Luck
    LVL 16

    Expert Comment


    Doing as I have suggested above will only disable the run command from AD users, not from local users. The 'User Configuration' section of the GP applies on a user by user basis, therefore, if the user is not a member of the AD and belongs to the relevant group, then the policy will not apply.

    To revers the changes, you need to get yourself into the local computer policy. Log into the PC with a local admin account, create a desktop shortcut running mmc. Add the local computer policy plugin, and you should be able to do it from there.
    LVL 76

    Accepted Solution


    Have a look at this article:

    If I understand the article correctly. then you should be able to set the local security policy to turn off the run command and then take away the NTFS permissions on the Group Policy folder for administrators.  Another alternative is to just take the run command away for everyone and then give the administrators another way of getting to it.  For example a link that launches CMD.
    LVL 2

    Expert Comment

    If you had used Group Policy on Active Directory to disable the "Run" command by configuring "Remove Run Menu from Start Menu" to Enabled under the User Configuration > Administrative Templates > Start Menu & Taskbar, then that is the correct way of doing it.

    However if you configured this on the "Default Domain Policy" for the Domain root, then this will apply to all users indeed. The solution to your problem of having the policy apply only to certain users is to group users by defining OU (Organizational Units) or Groups in Active Directory and move users from the default "User" container into the corresponding new group folders (e.g. Administration, Staff). Then just apply or create a Group Policy on that folder with the configuration I described above. Then reset the configuration on the "Default Domain Policy" or root level Group Policy to have that setting to "Not configured".

    That should do the trick.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    Suggested Solutions

    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…
    David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
    It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
    This video discusses moving either the default database or any database to a new volume.

    732 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now