Skip to content

Windows - Running as a service "Lock" command does not work #133

@sandstheman

Description

@sandstheman

With IoTuring configured to run as a service in Windows with the local user (using nssm), the Lock command does not work and the computer remains unlocked.

When I run IoTuring directly from the terminal as my local user then the lock command works fine and the computer locks. Think this is related to how Windows runs services as their own sessions separate to the session for the actual user at the computer. So when running it as a service the lock command applies only to the service session and not the active user.

No idea if this would even be possible to fix, but though I'd report it anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions