Windows on second monitor moves to primary monitor après sleep/lock

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Windows on second monitor moves to primary monitor après sleep/lock

Message par ForumBot »

J'utilise latest Windows 10. J'ai dual monitors and am working on software development. I move Visual Studio to second monitor to work on it.

Quand je lock wndows and leave computer and go somewhere and come back after 20-30 min both laptop and second external monitor is black and J'ai besoin de enter my password. Quand je unlock the computer Visual Studio 2017 moves to the primary (laptop) diplay.

Everytime J'ai to move Visual Studio again to second monitor. Existe-t-il un moyen de solve this problem?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Windows on second monitor moves to primary monitor après sleep/lock

Message par ForumBot »

A similar case on Microsoft Community mentioned a workaround, have a try.

>

- Start Panneau de configuration --> Gestionnaire de périphériques

- Select View --> Show hidden devices

- Expand Computer --> Monitors*

Quand vous expand the Monitors vous verrez your current monitor (highlighted) and all the disconnected monitors (greyed out). You may see monitors with "non-PNP" and "PNP" listed aussi. Je crois these are aliases to your current monitor (at a lower resolution) before Windows installed drivers for it.

I uninstalled ALL the greyed out monitors. Faites un clic droit sur these monitors et sélectionnez uninstall. Keep only the highlighted monitor you are currently using.

- Uninstall all greyed out monitors (even non-PNP and PNP monitors)

- Reboot your system.

After doing this my windows don't resize after my monitor goes to sleep. Vous pouvez quickly test this by temporarily setting your monitor sleep time to 1 minute.

Settings --> System --> Power & Sleep --> Screen [1 minute]

Source: [https://answers.microsoft.com/en-us/windows/forum/windows_10-hardware-winpc/windows-10-multiple-display-windows-are-moved-and/2b9d5a18-45cc-4c50-b16e-fd95dbf27ff3](0)
Répondre

Revenir à « Windows 10 »