Hello,
The difference is that we cannot call CreateProcessWithLogonW from a
process that is running under the LocalSystem account, because the function
uses the logon SID in the caller token, and the token for the LocalSystem
account does not contain this SID. As an alternative, use the
CreateProcessAsUser and LogonUser functions, which is what
StartInteractiveClientProcess does for us.
Regards,
Jialiang Ge (ji****@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
ms****@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================