fix: run service as interactive process to access user desktop

This commit is contained in:
David Piccinini 2026-05-16 16:32:59 -03:00
parent 3de8339cc0
commit 48a55317cf

View File

@ -180,6 +180,8 @@ if ($agentScript) {
& $nssmPath set $ServiceName AppRotateFiles 1
& $nssmPath set $ServiceName AppRotateBytes 10485760
& $nssmPath set $ServiceName Start SERVICE_AUTO_START
& $nssmPath set $ServiceName Type SERVICE_INTERACTIVE_PROCESS
& $nssmPath set $ServiceName ObjectName "LocalSystem"
& $nssmPath set $ServiceName AppExit Default Restart
& $nssmPath set $ServiceName AppRestartDelay 5000