Before we proceed further with the recipe, there is an important concept about the Windows desktop that we will look at.
The Windows desktop is divided into different sessions in order to define the ways we can interact with the Windows machine. Session 0 represents the console. The other sessions, Session 1, Session 2, and so on, represent remote desktop sessions.
Every Windows session can be comprised of different stations, out of which WinSta0 is the only interactive station, meaning that it is the only station that the user can interact with. WinSta0 consists of three different desktops, namely, Default, Disconnect, and Winlogon. A desktop is a logical display surface containing user interface objects, such as windows, ...