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
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |