Windows removes U2417H when power is switched off.
Main monitor U2417H, connected by DP - DP Mini cable.
Second monitor Asus, connected by HDMI cable (and has no DP input).
Video card Gigabyte GTX 1080 G1 Gaming (has 3 DP and 1 HDMI outputs).
Windows 7 x64.
If I press power button on the U2417H, Windows think that I removed device from computer.
As result: a) Windows moves all windows, etc to second monitor, so all windows lose position/size. b) if second monitor is disconnected, Windows think that I have no monitors. and some programs may crash (windows position/size problem also is here).
So, each time I need restore all positions/sizes of all windows.
How is posiible to avoid this behaviour? I want that Windows won't remove the monitor when I switched power off.
BTW, when I use HDMI cable instead DP, then the behaviour is right. But I used HDMI for second monitor. If I will use a DP -> HDMI adapter, will it fix the behaviour? And is there any difference between DP-DP and DP-DP mini? Maybe I can change something in Windows for fix the problem?