OT: CreateProcessAsUser, Terminal Services, Etc

Take the superusr.c program from the platform SDK samples.

Try to make it work when you are using Terminal Services, by setting the
session ID in the token to be passed to CreateProcessAsUser to the
current session ID.

No Such Luck. CPAU fails with ‘2’ (file not found).

Now, I’m suspecting that this has to do with how WinSta0\Desktop is
specified in a TS context, but I’ll be fried if I can find any hints in
the doc.

Anybody here have a clue?