altdrag icon indicating copy to clipboard operation
altdrag copied to clipboard

Failed to launch AltDrag using task scheduler

Open ZeppLu opened this issue 8 years ago • 4 comments

Tired of the annoying UAC prompt, I tried to create a task in task scheduler. It is triggered every time I log in, and launch AltDrag.exe with elevated privilege. But I only got an unresponsive icon in system tray and my cursor started moving weirdly, everything (dragging, resizing...) didn't work.

After googling, I found this link. Seems like it's not my fault that this method didn't work.

ZeppLu avatar Mar 27 '17 09:03 ZeppLu

Strange enough, just now I rebooted my notebook for some reasons. When I logged in after rebooting, AltDrag worked like a charm, task manager can also be dragged without confirming that UAC prompt! Previously I just logged out and logged in to test it, without rebooting, maybe a reboot is necessary?

Anyway, this may be a possible method to skip UAC and launch AltDrag with elevated privilege, but I'm not sure whether it will work on other computers.

ZeppLu avatar Mar 27 '17 12:03 ZeppLu

I think you have to tell task scheduler to not launch AltDrag immediately. I can't recall exactly what the setting is called right now, but there's a way to delay the launch 10 seconds or so.

stefansundin avatar Mar 27 '17 15:03 stefansundin

It does have such option, just click the Edit button inside the Triggers setting tab.

I suggest that AltDrag use this method instead of the old one to launch at startup.

ZeppLu avatar Mar 28 '17 07:03 ZeppLu

I set my delay to 10-seconds. I'm curious what you set yours too @ZeppLu

loligans avatar Feb 10 '19 04:02 loligans