I am trying to achive a situation:
- I am logged as a user on my account.
- I've created a two more accounts which I will try to log on in the "background"
- And now I want to execute my code to log on different user in the background, so that if i can click ctrl+alt+del and go to the switch user screen i can see that another account was logged on the system.
During investigation I've read that this was possbile with some undocumented winapi methods before Microsoft implemented Fast User Switch(FUS)
which replaced GINA
.
I don't want to Impersonate code as user. I want to start up the whole windows session for a user from code.
I've tried to do sth with CreateProcessWithLogonW()
but this was unsuccessful.
Big virtual beer
for anybody who can give me a hand with this! :)