or wait- is it in session 0 you try to open`?
-
-
-
Replying to @winlogon0
HANDLE hToken = {}; OpenProcessToken( GetCurrentProcess(), TOKEN_ALL_ACCESS, &hToken ); DuplicateTokenEx( hToken, TOKEN_ALL_ACCESS, nullptr, SecurityAnonymous, TokenPrimary, &hToken ); SetTokenInformation(hToken, TokenSessionId, &sessionId, sizeof(sessionId));
3 replies 0 retweets 0 likes -
Replying to @jonasLyk
OK so tried just that + ImpersonateLoggedOnUser(hToken); and verified with Process Hacker that that thread is running as Session 2 from a Thread Token it now has. Surprisingly this too fails with the NT Status of AccessDenied = 0xc0000022. Was a good try tho. Idk why it fails!
1 reply 0 retweets 0 likes -
-
Replying to @jonasLyk
Not familiar with that or this tool. Can ya link me up and I’ll try this later?
2 replies 0 retweets 0 likes -
Replying to @winlogon0 @jonasLyk
Cool thanks
. If I cook up a test project (using C#), do you have the ability to possibly try it out via a second session login (such as thru an RDPWrap mod to work with some windows 10 version). Still need to try the UIAccess thing tho1 reply 0 retweets 0 likes -
-
-
Replying to @winlogon0 @jonasLyk
I’ll work on hitting some code, and isolating components. Maybe an hour or 2.
1 reply 0 retweets 0 likes
-
-
Replying to @jonasLyk
May get to this tomorrow too lol. Somewhat late here :D
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.