This script might be useful if access to Microsoft Store is blocked for all users, then the only way to retrieve apps that have been removed or is missing, is to add them using Powershell. This is specifically for Sticky Notes.
In order to install Sticky Notes, you must first know the full name of the package, and to retrieve that, you have to have Sticky Notes installed. It’s a catch-22, i know. But you could probably run the retrieve-command at another computer to get your PackageFullName. Anyway, here’s how it’s done…
Windows 10 is great isn’t? But in some cases a slight modification is needed. In my case, we needed to make sure that Outlook, Excel, Word, PowerPoint and Internet Explorer always started on the primary monitor.
This script was created to make sure that your Inbox or a super secret document, doesn’t open on a external monitor, such as a projector etc.
In this case i have found 9 registry values that control the position of these applications, and with this script i simply remove this keys, and by doing this the applications will now start on your primary monitor.
It would probably be a better idea to remove these registry keys by GPO, but i have created this script to give you a hint of what can be done.
If you find out our more registry values that control other common applications startup locations, feel free to comment them below to help others.
Verified to work on Windows 10 1709 (16299), Office 2016 and Internet Explorer 11.