Skip to content

Use GetServiceRegistryStateKey to read & write service registry keys #146

@spaceisfun

Description

@spaceisfun

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.

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