https://github.com/rgl/dummy-windows-service
how to run a dummy golang service under a dedicated NT SERVICE\dummy Windows account
https://github.com/rgl/dummy-windows-service
golang windows windows-service
Last synced: 11 months ago
JSON representation
how to run a dummy golang service under a dedicated NT SERVICE\dummy Windows account
- Host: GitHub
- URL: https://github.com/rgl/dummy-windows-service
- Owner: rgl
- Created: 2017-08-19T03:19:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-02-15T08:37:17.000Z (over 2 years ago)
- Last Synced: 2024-12-31T11:06:00.652Z (over 1 year ago)
- Topics: golang, windows, windows-service
- Language: PowerShell
- Size: 3.91 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dummy Windows Service
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-` (e.g. `S-1-5-80-908493856-1104173099-1205760238-637266923-2292294691`).
# Usage
[Download the binary from the releases page](https://github.com/rgl/dummy-windows-service/releases).
Install, run, and uninstall the service and respective account:
```powershell
./run.ps1
```
# Development
Install [Go](https://go.dev/dl/) and other dependencies referred in the
[Makefile](Makefile) file.
Build:
```bash
make
```