How to run WebView2 Application on system startup
01:01 23 Jul 2026
  • We have developed a C++ application which starts on system startup. This is configured through 'Winlogon/shell' registry value.

  • CPP application on launch spawns a C#,WebView2 application. However it fails to execute or shows white screen issues.We understand this is due to running WebView2 application in admin/privileged mode.

  • We can not create new user with standard privileges or we can not use 'explorer.exe' that establishes runtime environment for WebView2 application. These are our environment restrictions.

  • Through ShellLauncherV2 approach also we need new standard user available, thus it can not be used as well.

Request to please suggest an approach where we can spawn C#,WebView2 application safely without any issue.

Thanks in advance.

Ajay Shinde

webview2