-
-
Notifications
You must be signed in to change notification settings - Fork 264
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
[BUG]: Autorun doesn't work on 2022 Legion 5 15IAH7H #450
Comments
I am sorry I can reproduce the issue. Please try to switch it to "Enabled" (not delayed) and see it it runs on startup. "Delayed" option delays startup by around 30 seconds so you need to wait quite a bit for LLT to start. Also please check Task Scheduler and see if you can find the autorun task - it's name should start with "LenovoLegionToolkit". If you have multiple users that might be an issue as currently LLT doesn't work properly in such setup, see #246. |
Thanks for the tip. I tried your suggestion. The autorun task is indeed created in Task Scheduler for the user admin with Administrator rights that I used to install the program. It's trigger is set to run on "logon of specific user - admin" and it does autorun when admin logs in. All the above changes were done in Task Scheduler within the admin login Is this how it is expected to run? FWIW, I also tried to create a new task in Task Scheduler within the login for the for the program to start as admin when the logs in, but I couldn't create it, apparently as admin is not recognised. Regards |
I would disable autorun completely in LLT and then create tasks manually in Task Scheduler. However keep in mind that if user A logs in and runs LLT, and then user B logs in while user A is still logged in, LLT will not start for user B. There can be only one instance of LLT running on a machine. I don't plan on adding support for multi user setups any time soon and judging by your description this is a cause of the issue you have. I will add a note to readme that running LLT for multiple users is not something that works well atm. |
Related #246. |
Thanks for the tip @BartoszCichecki . I tried adding a new task in Task Scheduler in Windows 11 and it raises issues with user not having the rights to add a task! Thanks |
You need the select on the task that it should run with highest privileges.
|
I tried various configurations of user types and realised the following:
Perhaps LLT can coded to run like a proper service to enable the automated Actions to run? And the GUI can be coded separately to run on log on like Lenovo Vantage? I hope these observations are useful to you in diagnosing the issue and possibly enhancing the app. Good work! Keep it up. Regards |
Version
2.7.0
OS
Windows 11 22H2 Build 22621.963
Device
Legion 5 15IAH7H with i7-12700H and RTX 3070
BIOS version
J2CN46WW
What's wrong?
Hello,
Note that I have installed LLT in admin mode within the C:\Program Files\ folder rather than the default ~\AppsData... path proposed during LLT installation so that multiple users can use it without me having to install LLT for each one.
How to reproduce the bug?
Let me know if you need any more information.
What is the behavior that you expected?
I expect LLT to start automatically after a delay of starting and expect the logo to appear in the Taskbar without an admin prompt.
Logs
No log files are generated for this option as it doesn't do anything in the app itself!
Do you have Lenovo software installed?
Did you disable any Lenovo software using Lenovo Legion Toolkit?
Additional information
I had initially disabled Lenovo Vantage through the LLT settings, yet it didn't auto-start. Besides, deactivating Lenovo Vantage meant that I couldn't use a few features like Overclock GPU, Boost Network, Auto Close programs when playing games. While LLT tries to replicate most features of Vantage, there are a number of things in Vantage it doesn't cater for.
So I decided to install LLT side-by-side with Vantage and it works fine. All the Power Modes work fine, the automated Actions and Quick Actions work well too. In fact, I got a bonus Custom Mode that isn't in Vantage. Everything except for the automatic startup.
One more issue that I managed to work around was that the Windows Power Plans aren't automatically activated when I switch Power Modes in LLT. So, I mapped them in the "Settings > Power Plan" to the respective Power Modes and they didn't work initially. I had to switch on the "Always Activate Windows Power Plan" to get it to work. I am not sure if this is how it is intended to work, but can raise another issue if need be.
The text was updated successfully, but these errors were encountered: