Win 11 service app is running an older version of the service, but dont know why

Win11 seems to be running an older version of an app when its started as a service, but if I run the same exe from the folder it runs the latest version.

The only way to tell is the debug output is logged to a file and it shows up there.

Its almost like there is some sort of file version control taking place on the exe, but its not something I’ve setup.

So any ideas?

TIA

If you open services.msc and right-click the service, then copy the “Path to executable” and paste it into Windows Explorer, does it open the correct or old version?
(Or the path from the registry HKLM\SYSTEM\CurrentControlSet\Services)?

It opened the correct exe, but the log data was still showing the log data for the old exe.

Somehow, I dont know how, it seems to have started working as expected now. Maybe a Win 11 reboot did the trick, because thats the only thing thats occurred since posting.

:person_shrugging: