The Computer Oracle

Where is the list of pinned start menu and taskbar items stored in Windows 7

Become or hire the top 3% of the developers on Toptal https://topt.al/25cXVn

--

Track title: CC F Haydns String Quartet No 53 in D

--

Chapters
00:00 Question
00:23 Accepted answer (Score 151)
00:43 Answer 2 (Score 33)
01:28 Answer 3 (Score 15)
02:10 Answer 4 (Score 14)
03:28 Thank you

--

Full question
https://superuser.com/questions/171096/w...

Answer 1 links:
[Just copying shortcuts into these locations does not work]: https://devblogs.microsoft.com/oldnewthi.../?
[via a VBScript]: https://web.archive.org/web/201603011550...

--

Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...

--

Tags
#windows7 #taskbar #pinning

#avk47



ACCEPTED ANSWER

Score 154


You can find pinned apps in:

%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

and for the start menu apps go to:

%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu



ANSWER 2

Score 33


You can find the programs that you have pinned to the start menu at:

C:\Users\USERNAME\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned

and the taskbar shortcuts are at:

C:\Users\USERNAME\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

Just copying shortcuts into these locations does not work. You can, however, add shortcuts via a VBScript:

Const CSIDL_COMMON_PROGRAMS = &H17 
Const CSIDL_PROGRAMS = &H2 
Set objShell = CreateObject("Shell.Application") 
Set objAllUsersProgramsFolder = objShell.NameSpace(CSIDL_COMMON_PROGRAMS) 
strAllUsersProgramsPath = objAllUsersProgramsFolder.Self.Path 
Set objFolder = objShell.Namespace(strAllUsersProgramsPath & "\Accessories") 
Set objFolderItem = objFolder.ParseName("Calculator.lnk")
Set colVerbs = objFolderItem.Verbs 
For Each objVerb in colVerbs 
    If Replace(objVerb.name, "&", "") = "Pin to Start Menu" Then objVerb.DoIt
Next



ANSWER 3

Score 17


The list that includes all pinned files and folders as well as programs is in the Registry under this key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\StartPage2

The relevant values are Favorites, FavoritesChanges, and ProgramsCacheSMP. Unfortunately, they're all binary and therefore really hard to modify directly. Each pinned entry appears multiple times even within one data blob, and it's not clear which ones need to be modified for the changes to take effect. I can confirm that changing all instances of, say, Thing1 to Thing2, then killing and restarting Explorer did result in the pinned entry being changed to Thing2.




ANSWER 4

Score 14


To add a degree of precision to the replies which identified the…

%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\StartMenu

…folder as the location where user pinned Start Menu items are stored, note that only actual programs—executables—that are pinned to the Start Menu will appear in that folder. Neither folders nor data files, both of which can also be pinned to the Start Menu, will appear in that folder. I mention it both for future readers who come upon this page via search engine result and because the original question mentioned Start Menu items, not just programs in particular. So if a user has, for example…

• 2 folders • 3 programs • 2 documents • 1 music file

…only the second item—the 3 programs—will show at the location above.

Don't know where the other stuff that appears there, like the folders, documents, and music file above, gets recorded, but the Registry is likely a safe bet.