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


hide certian programs start menu with vbscript

Posted on 2006-05-24
Medium Priority
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
  • 2
  • 2

Expert Comment

ID: 16760544
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?


Accepted Solution

IPKON_Networks earned 2000 total points
ID: 16760582
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


Hope this helps

Author Comment

ID: 16763299
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

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


thanking about buying his $30 tool

Featured Post

A Cyber Security RX to Protect Your Organization

Join us on December 13th for a webinar to learn how medical providers can defend against malware with a cyber security "Rx" that supports a healthy technology adoption plan for every healthcare organization.

Question has a verified solution.

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

It’s time for spooky stories and consuming way too much sugar, including the many treats we’ve whipped for you in the world of tech. Check it out!
Let's take a look into the basics of ransomware—how it spreads, how it can hurt us, and why a disaster recovery plan is important.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…

834 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