BartoszCichecki / LenovoLegionToolkit

Lightweight Lenovo Vantage and Hotkeys replacement for Lenovo Legion laptops.
GNU General Public License v3.0
4.57k stars 220 forks source link

[BUG]: Crash when enabling autorun #704

Closed xiaoyi2012 closed 1 year ago

xiaoyi2012 commented 1 year ago

Version

2.12.0

OS

Windows 11 home 22H2 22621.1635

Device

legion r9000p arx8

BIOS version

LPCN27WW

What's wrong?

1

A bug occurs after the setting boots

How to reproduce the bug?

1 Settings 2 autorun 3 enabled or enabled delayed

What is the behavior that you expected?

autorun

Logs

1.zip

Do you have Lenovo software installed?

Did you disable any Lenovo software using Lenovo Legion Toolkit?

Additional information

No response

BartoszCichecki commented 1 year ago

Please collect proper logs by following: https://github.com/BartoszCichecki/LenovoLegionToolkit#how-to-collect-logs

If the issue only appears when autorun please do the following to enable logging:

  1. Go to %LOCALAPPDATA%\LenovoLegionToolkit
  2. Create args.txt file in there (if you already have it edit)
  3. Paste --trace
xiaoyi2012 commented 1 year ago

log.zip

BartoszCichecki commented 1 year ago

I can see the crash occurs because LLT is denied access to creating a task in Windows Task Scheduler (which is used for autorun). This is not an expected situation and indicates some issue with your Windows install of system configuration, so I can't help you with this issue.

Make sure that:

  1. the user that you log in to in Windows has administrator rights
  2. LLT is installed for that user (and not some other Administrator account)