08-05-2015, 03:54 AM
To disable UAC on Windows 8 and 10, set this registry value to 0 and restart Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System:EnableLUA
Then Windows store apps will not run. The Settings app still runs, I could live without others.
Right click portable QM, Properties, Compatibility, Run as admin. Then, when you run the program, it shows a UAC consent dialog, don't need to right-click-run-as-admin.
Another way to run portable QM as admin with UAC enabled - Windows Task Scheduler: http://superuser.com/questions/57694/se ... -scheduler
QM started as admin in this way does not have uiAccess rights. There are several cases when need it even when it runs as admin, but it is rare, I even don't remember now.
In Make Exe dialog you can select admin manifest. Then, when you run the program, it shows a UAC consent dialog, don't need to right-click-run-as-admin.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System:EnableLUA
Then Windows store apps will not run. The Settings app still runs, I could live without others.
Quote:I tried to setup QM to make it run as admin but:It is disabled in portable QM. Portable QM cannot change its UAC integrity level, because QM service is not installed.
If I go to QM >> Options >> TAB: General >> dropdown listbox "Run as" = disabled (ghosted).
Right click portable QM, Properties, Compatibility, Run as admin. Then, when you run the program, it shows a UAC consent dialog, don't need to right-click-run-as-admin.
Another way to run portable QM as admin with UAC enabled - Windows Task Scheduler: http://superuser.com/questions/57694/se ... -scheduler
QM started as admin in this way does not have uiAccess rights. There are several cases when need it even when it runs as admin, but it is rare, I even don't remember now.
Quote:Is there a way to set up a macro that is compiled to .exe to always run as admin?The same as with portable QM.
In Make Exe dialog you can select admin manifest. Then, when you run the program, it shows a UAC consent dialog, don't need to right-click-run-as-admin.