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.
Until now, i only knew one way of retrieving the default app-association for a specific file extension (.pdf, .xlsx, .docx) and that is by using DISM and exporting an .xml file. But this can only be done with an elevated prompt (as far as i know).
This is where my problem started, if you elevate an cmd prompt, you will only export the standard app-associations for that particular user (admin user). I wanted to display the standard app-associations for the user on that specific computer.
Long story short, i found the registry value where you can see this, it’s probably not a good idea to change this value here, for that you will have to use DISM i think, correct me if i’m wrong. If you want to retrieve the standard app-association for another file extension, just change .pdf to whatever you want to retrieve.