I am trying to do the following:
computer computer
A B
| | Computer B is logged off
|--login-------->|
| | Computer B logs in as an interactive user
|<------SUCESS---|
|-Start notepad->|
| | Computer B shows desktop with notepad instance open.
Session0 isolation prevents me from showing notepad as interactive user.
I have tried a lot of solution - but none works. I tried getting token using WMI (http://msdn.microsoft.com/en-us/library/ms257337(v=vs.80).aspx) but it doesn't work.
I tried to use LogonUser function (http://msdn.microsoft.com/en-us/library/windows/desktop/aa378184(v=vs.85).aspx) but it doesn't work.
I tried multiple solutions as suggested by this link: Unlock Windows workstation programmatically But nothing there works.
What is the way to do this?