An open API service indexing awesome lists of open source software.

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

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
```