BartoszCichecki / LenovoLegionToolkit

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

Error (0x80070003) in click button Disable Lenovo Vontage #183

Closed dannk12 closed 2 years ago

dannk12 commented 2 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Environment (please complete the following information):

Logs You might consider running with --trace parameter and attaching the log files. See README for details.

BartoszCichecki commented 2 years ago

Please fill out the issue template properly and attach logs.

dannk12 commented 2 years ago

how can i send logs?

BartoszCichecki commented 2 years ago

"You might consider running with --trace parameter and attaching the log files. See README for details."

dannk12 commented 2 years ago

I read all this, but I still don’t understand how an application with --trace

BartoszCichecki commented 2 years ago

First of all check the folder mentioned in readme, if it was a crash, then there should be an error report there. Fill out ticket details, attach screenshots, anything that can help me fix this issue.

--trace is a parameter, you can add parameters if you go to shortcut properties for example. You can see the example here: https://www.digitalcitizen.life/shortcut-arguments-parameters-windows/

Posting that there is an error, is not helpful. I don't have this issue, so you need to provide as much info as possible, otherwise I won't be able to fix it.

dannk12 commented 2 years ago

OS: [e.g. Windows 11 22H2 build 22622.586] Laptop model: [e.g. Legion 5 15IMH05H] Do you have Vantage installed? [Yes] Do you have Vantage disabled with LLT? [No] Do you have FN Keys service installed? [Yes] Do you have FN Keys service disabled with LLT? [No] Log file Error: https://fex.net/ru/s/ooczx8d

BartoszCichecki commented 2 years ago

Thanks, I'll take a look :)

dannk12 commented 2 years ago

Thank you for your work) I also noticed something else, I'm not sure, but maybe it's due to a disable in the Intel VT BIOS. Without it, I have a much better situation with the CPU voltage and, in general, the temperature is better with a difference of about 10-15 degrees.

BartoszCichecki commented 2 years ago

Well, it might be the case, it's not related to LLT though.

dannk12 commented 2 years ago

Just before this, disabling lenovo vantage worked fine

BartoszCichecki commented 2 years ago

It doesn't seem to be related, but the error looks weird. Can you open Task Scheduler and on the left can you find Lenovo folder in show what subfolders are there?

dannk12 commented 2 years ago

ScreenShot: https://fex.net/ru/s/9kdp7fk

BartoszCichecki commented 2 years ago

What do you have in TimeBasedEvents folder and in Plugins subfolder?

PS: you can also paste images directly in comments here.

dannk12 commented 2 years ago

Снимок экрана 2022-08-26 150211

dannk12 commented 2 years ago

Снимок экрана 2022-08-26 150259

BartoszCichecki commented 2 years ago

OK, thanks I will take a look over the weekend. I might need some more help, but will ping you here if needed.

dannk12 commented 2 years ago

ok, thanks, I'll still check how it will work with Intel VT in bios enabled

dannk12 commented 2 years ago

I checked, it's not due to Intel VT. It's strange that disabling vontage worked a couple of days ago, what happened wrong ...

BartoszCichecki commented 2 years ago

LenovoLegionToolkitSetup.zip

Can you try this build and let me know the results?

dannk12 commented 2 years ago

now there is no error, but lenovo processes remain active

dannk12 commented 2 years ago

image

BartoszCichecki commented 2 years ago

Ok, that's what I expected sort of. Can you attach logs from this version?

dannk12 commented 2 years ago

strange as it is, after disabling the services, it kills them from the processes, but then after closing the LLT application to the tray, and re-opening LLT, the services setting is disabled again and the lenovo services are running

dannk12 commented 2 years ago

log_2022_08_29_20_26_48.txt

BartoszCichecki commented 2 years ago

Can you check if you have a file called LenovoSystemUpdatePlugin_WeeklyTask in C:\Windows\System32\Tasks\Lenovo\ImController\Plugins?

dannk12 commented 2 years ago

can't find directory C:\Windows\System32\Tasks\Lenovo\ImController\Plugins

BartoszCichecki commented 2 years ago

Are you using some sort of modified version of Windows?

BartoszCichecki commented 2 years ago

What about C:\Windows\System32\Tasks?

dannk12 commented 2 years ago

C:\Windows\System32\Tasks\Lenovo\ImController

dannk12 commented 2 years ago

there is no plugins folder

dannk12 commented 2 years ago

image

BartoszCichecki commented 2 years ago

Interesting, it seems like either your Windows is going crazy or your installation of Vantage got somehow corrupted. Either way I suggest that you reinstall Vantage and see if that helps, because it doesn't seem like it's an issue with LLT, but rather corrupted system files.

BartoszCichecki commented 2 years ago

You could also make a folder in there called "Plugins" and see if that will be enough to fix the issue, but there is definitely sth wrong on your machine.

dannk12 commented 2 years ago

Интересно, похоже, что либо ваша Windows сходит с ума, либо ваша установка Vantage каким-то образом повреждена. В любом случае я предлагаю вам переустановить Vantage и посмотреть, поможет ли это, потому что проблема не в LLT, а в поврежденных системных файлах.

That's why I told you earlier that it worked fine up to a certain point.

dannk12 commented 2 years ago

I don’t understand what’s wrong, I deleted vontage installed it on a new one, everything is the same back

dannk12 commented 2 years ago

what can you advise, I'm using the official build of windows 11 beta chanel

BartoszCichecki commented 2 years ago

Here are the things you can try:

There isn't much more I can suggest, especially if you are running Windows from beta channel. For some reason Windows is not handling scheduled tasks correctly: it doesn't create them correctly on disk.

Good luck and as a side note, running beta Windows on your primary computer is not a good idea. Many people say that it works and it's fine, but there is a reason why it's a beta and not a stable release and you need to expect that there will be weird problems.

dannk12 commented 2 years ago

surprisingly, I did it, completely reinstalled lenovo vontage using Lenovo SystemInterfaceFoundation, then created the plugins folder, and rebooted the computer

dannk12 commented 2 years ago

image

BartoszCichecki commented 2 years ago

So the problem is fixed? Great to hear!

dannk12 commented 2 years ago

and by the way, yes, some file was created in the plugins folder

dannk12 commented 2 years ago

Let's see what happens after reboot

dannk12 commented 2 years ago

yes everything works as it should, thanks for your time and work!

BartoszCichecki commented 2 years ago

Great to hear!

Also, I can see you have Ukrainian keyboard set. Слава Україні!

dannk12 commented 2 years ago

hero's glory! Yes, these are very difficult times for my country and people (