AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Kodi unable to create gui remote desktop3/29/2024 ![]() It most likely uses the same Windows API that I mentioned, which leverages the fact that PsExec installs a temporary service that runs as Local System. pretty sure PsExec with the -i parameter can do that. ![]() See for more info on that.Įdit: Oh, and I forgot. One other idea, so as not to totally pee in your Cheerios, you might be able to accomplish this by remotely creating a scheduled task that launches the process. See WTSQueryUserToken and CreateProcessAsUser in the Windows API for more detail on that. ![]() You would need the Windows API for this, which is pretty much the only thing Powershell isn't very good at. It is technically possible, but it involves running as Local System, copying another logged on user's security token, and launching a process with that alternate token. So you'll not likely find an easy, supportable way of doing this. This is simply against the security model of Windows itself and attempts to subvert it will be frowned upon. (To clarify, even if you are logged on interactively at a computer desktop, and also have another separate network logon to the same machine at the same time using the same credentials, those still count as two different logon sessions.) By design, you are not really supposed to be able to launch processes in other people's sessions.
0 Comments
Read More
Leave a Reply. |