The lpDesktop member of the STARTUPINFO structure that is passed to CreateProcess or CreateProcessAsUser specifies the window station and desktop that are associated with the executed process. The executed process must have correct security access to the specified window station and desktop.