Tested on Windows 10. Why can I only enable UI Access when UAC is ON but not when UAC is OFF? I can still click "Run with UI Access" from the context menu on .ahk scripts, but it doesn't actually enable it. (Process Explorer has a column that shows what processes have UIA enabled)
Please note that turning the slider all the way down sets UAC to a minimum, but still doesn't disable it. It can be turned OFF for real by setting HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA to 0 and restarting your PC.
ctfmon and osk can have UI Access regardless of the UAC setting... is this an AutoHotkey bug?
UI Access impossible with UAC OFF?
UI Access impossible with UAC OFF?
YOU'RE NOT ALEXANDER
Re: UI Access impossible with UAC OFF?
you only cited 2 microsoft apps.. do any 3rd party apps allow this?
what do you use UI Access for? and in what scenarios do you have UAC off while doing that?
what do you use UI Access for? and in what scenarios do you have UAC off while doing that?
Re: UI Access impossible with UAC OFF?
now that you mention it, I can't find any non-Microsoft app that behaves like that... 3rd party programs that would normally have UIA ON when UAC is ON will have UIA OFF when UAC is OFF :\
I just want to make my script compatible with users who have UAC set to OFF...
this might sound unusual but the script I'm working on requires SeDebugPrivilege + administrator rights + UI Access in order to work properly since it's meant to suspend/close/minimize a couple of important system processes such as winlogon and dwm
in my tests, running the script with:
UAC ON + UIA ON = works
UAC OFF (+ UIA OFF) = doesn't work
YOU'RE NOT ALEXANDER