Script needed that unpins certain built-in apps from the start menu
Hi experts.
I am migrating our company desktops from win8.1 to win10.
Automated start menu migration is what this is about.
Win10 adds a dozen shortcuts to apps which I have unpinned automatically simply by uninstalling that apps. There's one app however, that I don't want to uninstall, but still I want to have it removed from the start menu by a script.
I can unpin any item that I know the executable-path of, I use (code example for the classic app journal.exe)
But what would be the path of for example the windows store app and would it work in a similar way as with the classic apps? If not, how to?
I tried this code to no avail: