hide certian programs start menu with vbscript

Posted on 2006-05-24
Last Modified: 2012-08-13
On the classical start menu for windows XP when you click on programs you get a list of programs and program folders.
I want to get rid of every program and program folder except Accessories >> Word Pad. I want to script this and attach it to a group policy (logon script). I dont want to do it manually! vbscript only. Any ideas?
Question by:Fubyou
    LVL 9

    Expert Comment

    You will need to remove all the programs out of the ALL Users folder on every PC first and then your script will work.
    Alternatively just use GPO setting to not allow programs to run on the local machine. Examples of this are:

    Software Restriction policies:

    By simply deleting the Program menu structure, the programs are still there and can still be run if a user knows what he/she is doing. What are you trying to achive by this? Simple cover up or access control over your users ability to run applications?

    LVL 9

    Accepted Solution

    To answer your actual question though, I would create a reg key that contained just the program entries you require for each user and your script at login would load that regkey onto the computer. This would remove any new entries each time for the logged in user. As I said, you need to 'clean' ALL USERS first as most applications will install their start menu items in there.

    You might also want to look at this GPO set relating to Start Menu control;EN-US;q292504

    Hope this helps

    Author Comment

    Cover up
    The start menu should only show

    Programs >> accessories >> WordPad

    When another admin logs in they need to be able to access everything.

    Author Comment

    Thanks for the list from microsoft, that was really cool..
    I have also bee referenceing this site..

    thanking about buying his $30 tool

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do You Know the 4 Main Threat Actor Types?

    Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

    Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
    Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    759 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

    10 Experts available now in Live!

    Get 1:1 Help Now