WindowTop / WindowTop-App

Set window on top, make it dark, transparent and more
Other
1.1k stars 70 forks source link

Having trouble witht start up by admin privileges #351

Closed AiraPaul closed 4 months ago

AiraPaul commented 4 months ago

IssureOFWindowtop When I enable Start with Windows and Start with admin privilege,the windowtop.exe in Startup of task manager disappear,and windowtop do not start up when I restart my computer,if I disable the Start with admin privilege,and enable Start with Windows,I can see windowtop.exe in Startup of task manager,I tried on all my device even the VMware System,also the same problem,ps:I see the task schedual the windowtop made is invalid ,the problem also happen in before version .

gileli121 commented 4 months ago

@AiraPaul Thanks for the report. Something is not working right on my side, as well. When the second checkbox is also enabled, it will create the task in the task scheduler because the task scheduler runs programs as an admin. The task is configured to start when the user is logged into Windows.

But when I run it from the task scheduler, I don't see the windowtop started. It seems like a bug.

I am investigating it.

Thanks for the report.

gileli121 commented 4 months ago

@AiraPaul I have no idea when it broke, but it seems that the issue is that the task created in the task scheduler is invalid.

I will work now on a fix.

For now, you can manually fix it by editing this task You will need to modify the settings here so it will look like this (when I marked it in red) image image

In the path, browse again to WindowTop, and in "Add arguments," write only runby_schtasks as in the screenshot.

After doing it, WindowTop should start as admin when Windows starts. I checked it.

I will fix this bug that causes the app to create invalid tasks. Thanks for the report.

gileli121 commented 4 months ago

@AiraPaul Fixed. Please try this version with the hotfix included:

https://github.com/WindowTop/WindowTop-App/releases/tag/v5.22.8

Try to disable and re-enable the option again, and let me know if it works well for you. Enjoy

AiraPaul commented 4 months ago

It work,thanks

gileli121 commented 4 months ago

Great! Closed