G
Guest
I am trying to launch a process from Session 0 into Session 1. The
SetTokenInformation() call works, but the CreateProcessAsUser() call fails
rc=3.
The code works seems to work if I am using Windows2003Server but fails if I
am using Windows2000Server. If I omit the SetTokenInformation() on
Windows2000Server the call works - although obviously does not achieve the
desired result.
The token being modified is created using OpenProcessToken() &
DuplicateTokenEx(). The process has NT AUTHORITY\SYSTEM authority (at this
stage).
Anyone have any hints ?
SetTokenInformation() call works, but the CreateProcessAsUser() call fails
rc=3.
The code works seems to work if I am using Windows2003Server but fails if I
am using Windows2000Server. If I omit the SetTokenInformation() on
Windows2000Server the call works - although obviously does not achieve the
desired result.
The token being modified is created using OpenProcessToken() &
DuplicateTokenEx(). The process has NT AUTHORITY\SYSTEM authority (at this
stage).
Anyone have any hints ?