how to run a dummy golang service under a dedicated NT SERVICE\dummy Windows account
This shows how to run a dummy golang service under a dedicated NT SERVICE\dummy
Windows account.
These types of accounts are automatically managed by Windows and do not need a password.
They also have a predictable SID in the form of S-1-5-80-<SHA-1(uppercase(service name))>
(e.g. S-1-5-80-908493856-1104173099-1205760238-637266923-2292294691
).
Download the binary from the releases page.
Install, run, and uninstall the service and respective account:
./run.ps1
Install Go and other dependencies referred in the Makefile file.
Build:
make