jlanza
20th February 2008 17:35 UTC
Force UAC Dialog even when UAC is Disabled Vista
Is there a simple way to force the UAC run as admin dialog to pop up even when UAC is disabled? I have a limited user account in Vista where I need to a run a legacy custom uninstaller (discussed a bit more here http://forums.winamp.com/showthread....hreadid=287227) and it needs admin rights. However on vista when UAC is disabled everything craps out because it ignores the manifest. It doesnt seem like the runas verb on shellexec is working. Any ideas?
Thanks!
Anders
20th February 2008 18:03 UTC
No need for a new thread...
the UAC plugin calls CreateProcessWithLogonW(...,LOGON_WITH_PROFILE,...) when UAC is off, you can try that
jlanza
20th February 2008 19:35 UTC
Is there a function inside of UAC that I can already use? The ShellExecWait w\ runas was such a simple fix I was hoping there was something I can do with limited no UAC on vista. I ran the real world app under those conditions and the dialog that popped up was exactly what I needed.
Anders
20th February 2008 19:51 UTC
no, you must code it yourself