How to disable 'monitor connection' detection by windows 10?
Since most answers to similar questions on different versions of windows come down to it's not possible, and I have not found any indication that this has changed for windows 10, I think I have to assume that it is not possible to disable 'monitor connection' detection.
I've never found a valid solution to this either. Some graphics card manufacturers allow this feature and then there's an issue with the "Extended Display Identification Data" handshake with Windows. Sometimes the monitor won't broadcast the EDID at all which means that Windows won't understand that the monitor is re-connected and won't place the icons back.
The only thing that completely alleviated this for me is a cheap hardware device called "monitor detect killer". With this device, it's as if the monitor is permanently 'connected' even though you switch it off or change it's input.
Cheers.
This worked for me: https://sites.google.com/site/ebobster/stuff/displayportblanking
Bottom line: Go into your NVIDIA control panel (or whatever software you have) and change the EDID source from "monitor" to "file." You do this by exporting the settings for each file, then import them again. Now your monitor doesn't determine the setup, the file does.
In this screenshot, where you see "File", it used to say "Monitor."