O.K. I've got a WIERD problem here. I've got to create a process (I'm using CreateProcessWithLogonW). This part works fine. What I'm running into is that I've got to create an environment block. I'm trying to use CreateEnvironmentBlock. I can't get a token for the environment block. It's just not working. What do I have to do to "create" a user token. It can even be the current user. Once I log in under the new context, it should work fine. I just need an inheritable session. Thanks.