It seems like when I try to start a browser from a process with admin privileges using createprocess, lpdesktop is ignored and the browser opens on the input desktop. Is there anyway around this? My code works as intended with no admin privileges.
when running as admin the browser will only ever open on the default desktop, even if its not the current input desktop, setthread is also not the issue. I will probably just end up implementing token stealing to run the browser as user. I was just confused because reading other source code i don't see people trying to run browsers with user tokens.browser calls from whichever desktop you are logged in to due to user access control