May 6, 2026
5:01 a.m.
A .Net based service detects that it's running as a service by checking if its current directory is system32, otherwise the service runs in some debugging console based mode. Service processes created by services.exe inherit its current directory, so it's enough to make sure that services.exe runs from c:\windows\system32. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10827