Skip to content

Task scheduler: Startup issue #166

@USA-good

Description

@USA-good

Describe the bug
Problems when invoked using Windows Task Scheduler. Runs fine when invoked directly from the commandline.

To Reproduce
Steps to reproduce the behavior:

  1. Go to: Windows Task Scheduler
  2. Setup task as: triggered on system startup (startup/boot of system)
  3. Restart machine and
  4. Error: the log file is created but no keystroke data is logged. Locations tried include local folders within the admin account authorizing the action (e.g., C:\users<account>\Appdata...) and folders within C drive

Expected behavior
The log file to contain data

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows 11

Additional context
Works fine when manually invoked at the keyboard but not through task scheduler starting the code on the startup event (i.e., "system startup")

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