Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add the SessionState Trigger Options #87

Closed
HeyItsGilbert opened this issue Dec 12, 2022 · 0 comments
Closed

[Feature Request] Add the SessionState Trigger Options #87

HeyItsGilbert opened this issue Dec 12, 2022 · 0 comments

Comments

@HeyItsGilbert
Copy link
Contributor

Description

We want to roll out a schedule task that executes on workstation login. e.g. When a user unlocks their machine. Currently that isn't implemented in the gem.

This is supported in the OLE:
https://learn.microsoft.com/en-us/windows/win32/taskschd/sessionstatechangetrigger-statechange

The corresponding XML would look something similar to:

<SessionStateChangeTrigger>
    <Enabled>true</Enabled>
    <StateChange>SessionUnlock</StateChange>
</SessionStateChangeTrigger>

I'm happy to take a stab at this once I get up to speed on proper gem testing, etc.

Gem Version

Windows Version

Windows 10/11/Server/etc.

Replication Case

Not currently possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant