Windows – Stop Windows 10 virtual desktops from switching when opening programs

virtual-desktopwindowswindows 10

Whenever I run a program that is already open in another desktop it automatically switches me to that particular desktop. and it's so annoying with some programs like notepad++ that I use for many many other reasons.

preferentially, I want windows to open a new instance, and if it's not possible I want windows to bring that program to the currently selected desktop, not switching the desktops.

Is this possible?

Best Answer

Virtual Desktops are not Virtual Machines, so they share instances of programs running on the machine.

It's up to the program to decide if you are allowed to open multiple instances or not.

For example, NP++ (specifically) has a Preference named "Multi-Instance", if you change that to allow multiple instances, you can open multiple instances, including on different desktops:

NP++ Multi-Instance Prefernces