- Shortcuts can be created on the Windows 8 Start screen by creating a folder in “C:\ProgramData\Microsoft\Windows\Start Menu\Programs”
- Multiple shortcuts to the same exe or app with the same AppId results in only one shortcut on the Start screen, based on its name in alphanumeric ascending order.
- Windows remembers the pinned/unpinned status (including the tile group it was pinned in) of the shortcut on the Start screen based on the exe/app it points to.
- When we uninstall and reinstall the app, if there is a shortcut created to an app in the same location as the earlier install, the pinned/unpinned status is maintained too.
Here is a more detailed version:
Shortcuts can be created on the Windows 8 Start Screen by creating a folder in “C:\ProgramData\Microsoft\Windows\Start Menu\Programs”
To understand how Windows keeps track of the shortcuts, I copied an exe to two folders, created shortcuts for each of them and copied them to the folder in Start Menu\Programs.
As expected, both the shortcuts show up in the start screen. I also went ahead and pinned them in a tile group.
Then I unpinned a shortcut from the Start screen. Since this was only unpinned, and not deleted/uninstalled, it continues to show up in “Apps”
Then I went ahead and deleted the shortcut from the folder in Start Menu\Programs.
As expected the shortcut doesn’t appear in the “App” anymore
Next I created a shortcut to the app (which I had copied to a folder my Program Files), named it “ThemesDemo - Shortcut1” this time.
It didn’t show up on the Start screen, but was available under “Apps”
Next, I created a copy of the shortcut and named it “ThemesDemo – Shortcut2” to see if it shows up pinned in the Start but it didn’t.
Furthermore, “ThemesDemo – Shortcut2” didn’t show up under “Apps” either. As it turns out, if you have two shortcuts pointing to an app with the same AppId or the same exe, only one shortcut will show up in the Start screen, and this is chosen based on the alphanumeric ascending order of the name of the shortcuts. To check this, I renamed “ThemesDemo – Shortcut2” to “AAA”
And this shows up in “Apps”.
Then I went ahead and deleted the exe in the Program Files and the shortcut in the “Start Menu\Programs” folder too, and copied the exe and created a shortcut again (to simulate reinstalling an app).
Again, the shortcut didn’t show up on the start screen, but shows up in “Apps”
I went ahead and pinned this to the Start screen again.
And I tried uninstalling (deleting shortcut and exe)
As expected it doesn’t show up pinned in the Start screen or in “Apps”
Then I copied the exe and shortcut back (reinstall) and it shows up in the same tile group I had pinned it in before uninstalling the app.
Hope this gives a better understanding of how shortcuts are created and tracked in the Windows 8 Start screen.
Note: I learned these by hit and miss, and so may not be an accurate description of how things work internally.
Thanks for reading!
PS: You can follow me on twitter at “_amarnit”, where I share some quick tips/learning at times!