Archive: Force UAC Dialog even when UAC is Disabled Vista


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!


No need for a new thread...

the UAC plugin calls CreateProcessWithLogonW(...,LOGON_WITH_PROFILE,...) when UAC is off, you can try that


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.


no, you must code it yourself