Win32 Error System.Runtime.InteropServices.SEHException when using CreateProcessAsUser in C# Windows Service
I’m working on a C# application on Windows 11 (version 23H2) that aims to create a user session (remote desktop session) from a Windows service. The goal is to launch an application within that session and then terminate the session.