I am using windows service to execute the desktop windows application. In windows application we launch the local web application. Here the problem is Service launched User Interface is not able to fetch the user language and local storage details. I am using windows 7 OS. In background I am using Win32 API method to create the desktop process in current user logon session.
I just list down the API's,
1. WTSGetActiveConsoleSessionId
2. OpenProcess
3. OpenProcessToken
4. DuplicateTokenEx
5. CreateProcessAsUser
Service running session 0 and my process running session 1 under LOCAL SYSTEM credential.