Skip to content
This repository was archived by the owner on Jun 11, 2026. It is now read-only.
This repository was archived by the owner on Jun 11, 2026. It is now read-only.

Use GetServiceRegistryStateKey to read & write service registry keys #146

Description

https://docs.microsoft.com/en-us/windows/win32/api/winsvc/nf-winsvc-getserviceregistrystatekey is the recommended way to read and write to the registry for a Windows service, as it properly isolates the registry state and is Windows OS agnostic.

This issue tracks using that API to open registry keys instead of opening up registry keys manually.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions