DarkBringer Posted August 16, 2006 Share Posted August 16, 2006 Say you wanted to prevent certain programs (like Winrar, Notepad, Command Prompt) from showing up in your Start Menu, is there a registry hack to do this? Link to comment Share on other sites More sharing options...
spazmire11 Posted August 16, 2006 Share Posted August 16, 2006 well you can just delete the shortcut, right click the entry and hit delete. Link to comment Share on other sites More sharing options...
mmarable Posted August 16, 2006 Share Posted August 16, 2006 Just switch on the hidden attibute in a script. The shortcut will still be there in case you change your mind later on. Link to comment Share on other sites More sharing options...
Br4tt3 Posted August 16, 2006 Share Posted August 16, 2006 Just switch on the hidden attibute in a script. The shortcut will still be there in case you change your mind later on.I do it exactly like this, depending on who is logging on, if they r member of that application group, the icon is displayed, otherwise hide it. That way I dont "confuse" the end users... Link to comment Share on other sites More sharing options...
Boskabouter76 Posted August 16, 2006 Share Posted August 16, 2006 Hi Darkbringer!I use the del command to rid the desktop from several shortcuts. Perhaps it could help you out as well? I use the runonceexe.cmd and the last command script it executes deals with this. I assume you are familiar with this methods already right?Best regards,Paul Link to comment Share on other sites More sharing options...
Takeshi Posted August 16, 2006 Share Posted August 16, 2006 (edited) If you're referring to the pinned items or the frequently used programs list on the L side of the Start Menu, to stop Notepad appearing, go toHKCR\Applications\notepad.exeadd REG_SZ NoStartPage = 1Do the same for other programs under their keys. Edited August 16, 2006 by Takeshi Link to comment Share on other sites More sharing options...
gunsmokingman Posted August 16, 2006 Share Posted August 16, 2006 Edit these to suit your needsHere is a Vbs Script That pins to the Start MenuSave As PinToStartMenu.vbsDim Shell : Set Shell = CreateObject("Shell.Application") Dim Act : Set Act = CreateObject("Wscript.Shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim Loc'/-> Array That Sets The Locations For The Apllication Folder Loc = Array(Act.ExpandEnvironmentStrings("%SystemRoot%"),_ Act.ExpandEnvironmentStrings("%SystemRoot%\System32"),_ Act.ExpandEnvironmentStrings("%ProgramFiles%\Winamp")) Dim App '/-> Array For The Application You Want To Remove From The Start Menu App = Array("calc.exe", "mspaint.exe", "notepad.exe", "winamp.exe")'/-> Varibles Names Dim Folder, FolderItem, StrLoc, StrR For Each StrLoc In Loc For Each StrR In App If Fso.FileExists(StrLoc & "\" & StrR) Then Set Folder = Shell.Namespace(StrLoc) Set FolderItem = Folder.ParseName(StrR) FolderItem.InvokeVerb("P&in to Start Menu") End If Next Next '/-> Message Box Act.Popup "Completed Pinning To The Start Menu", 4, "Finished", 0 + 48 + 4096Here is a VBS script that unpins thing from the start menuSave As UnPinToStartMenu.vbsDim Shell : Set Shell = CreateObject("Shell.Application") Dim Act : Set Act = CreateObject("Wscript.Shell") Dim Fso : Set Fso = CreateObject("Scripting.FileSystemObject") Dim Loc'/-> Array That Sets The Locations For The Apllication Folder Loc = Array(Act.ExpandEnvironmentStrings("%SystemRoot%"),_ Act.ExpandEnvironmentStrings("%SystemRoot%\System32"),_ Act.ExpandEnvironmentStrings("%ProgramFiles%\Winamp")) Dim App '/-> Array For The Application You Want To Remove From The Start Menu App = Array("calc.exe", "mspaint.exe", "notepad.exe", "winamp.exe")'/-> Varibles Names Dim Folder, FolderItem, StrLoc, StrR For Each StrLoc In Loc For Each StrR In App If Fso.FileExists(StrLoc & "\" & StrR) Then Set Folder = Shell.Namespace(StrLoc) Set FolderItem = Folder.ParseName(StrR) FolderItem.InvokeVerb("Unp&in from Start Menu") End If Next Next '/-> Message Box Act.Popup "Completed Start Menu Clean Up", 4, "Finished", 0 + 48 + 4096 Link to comment Share on other sites More sharing options...
DarkBringer Posted August 18, 2006 Author Share Posted August 18, 2006 (edited) Thanks for the response, guys.If you're referring to the pinned items or the frequently used programs list on the L side of the Start Menu, to stop Notepad appearing, go toHKCR\Applications\notepad.exeadd REG_SZ NoStartPage = 1Do the same for other programs under their keys.Something like this is what I was looking for, but there are certain applications that I run which are not in the Program Files directory, and this hack doesn't seem to work for those. And I think the value is NoStartPage = " ".But a little more research led me to exactly what I wanted. Here it is......Windows Registry Editor Version 5.00;I don't want these showing in my Start Menu![HKEY_CURRENT_USER\Software\Classes\Applications\Notepad.exe]"NoStartPage"=""[HKEY_CURRENT_USER\Software\Classes\Applications\WinRAR.exe]"NoStartPage"=""[HKEY_CURRENT_USER\Software\Classes\Applications\cmd.exe]"NoStartPage"=""All I have to do is add the .exe file I don't want showing up and it doesn't.By the way, nice script, gunsmokingman. Edited August 18, 2006 by DarkBringer Link to comment Share on other sites More sharing options...
Takeshi Posted August 19, 2006 Share Posted August 19, 2006 You're right about the blank value.I don't quite understand this bit:...but there are certain applications that I run which are not in the Program Files directory, and this hack doesn't seem to work for those.because notepad and cmd aren't in the Program Files dir anyway.Also, HKCR\Applications\ is the same key as:[HKEY_CURRENT_USER\Software\Classes\Applications\It's just the way regedit displays it differently. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now