Skip to content
This repository was archived by the owner on Jan 21, 2021. It is now read-only.

Conversation

clymb3r
Copy link
Contributor

@clymb3r clymb3r commented Jan 11, 2014

Processes could not be started when the script was being run from
Session 0. The fix is to use the CreateProcessAsUserW function when
running in Session 0. This API requires SeAssignPrimaryTokenPrivilege
priviege, so for non-session0 calls I still use CreateProcessWithTokenW
which does not require special privileges.

Processes could not be started when the script was being run from
Session 0. The fix is to use the CreateProcessAsUserW function when
running in Session 0. This API requires SeAssignPrimaryTokenPrivilege
priviege, so for non-session0 calls I still use CreateProcessWithTokenW
which does not require special privileges.
mattifestation pushed a commit that referenced this pull request Jan 11, 2014
Bug fixes for Invoke-TokenManipulation
@mattifestation mattifestation merged commit 4f5faf6 into PowerShellMafia:master Jan 11, 2014
@mattifestation
Copy link
Contributor

Thanks, Joe!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants