PDA

View Full Version : Tech Tip: Vista's UAC auto-accept (instead of turning off)


WastedChances
07-11-2009, 03:17 PM
<p>Greetings,</p><p>I've seen suggested a few times here (and on most game forums) that Vista users should disableUAC in order to install or sometimes even run software.The following is a method that Vista users can use to have UAC auto-accept the process elevationrequest (ie: what would generate the pop-up) but still leaves UAC running. One may ask why notsimply turn it off? Well there is some software out there that simply won't run with UAC disabled,one example is Windows Installer which has been known to refuse to run without UAC enabled.</p><p>Please note, the following involves editing your registry. I've posted this method because onlyVista Ultimate or Vista Business can make this change with Group Policy. The registry methodworks on any Vista breed.</p><p><strong>Pleas also note that this is only valid for Administrator type accounts, User accounts can onlychoose between "always fail" or "always prompt"</strong></p><ol><li>Click Start > Run and type "regedit.exe" (without quotes)</li><li>Press enter (or click OK)</li><li>Browse to: HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurr entVersionPoliciesSystem</li><li>Change the DWORD value for <strong>ConsentPromptBehaviorAdmin </strong>to 0 (that's a zero)</li></ol><p>As I mentioned, accounts running with User level access are not allowed to "always accept". There is aseparate value: ConsentPromptBehaviorUser that can be 0 (always fail) or 1 (always prompt).</p><p>To sumarize, this allows accounts running as Administrator to avoid the UAC prompts while still leaving theUAC subsystem active for programs that refuse to run if it isn't.</p><p>For additional information, please see:</p><p><a href="http://msdn.microsoft.com/en-us/library/cc232761(PROT.13).aspx" target="_blank">http://msdn.microsoft.com/en-us/lib...1(PROT.13).aspx</a></p>

TSR-DanielH
07-13-2009, 04:27 PM
<p>Greetings,</p><p>While I haven't tried the step you're suggesting, it looks like it should work fine.  That said, it usually isn't necessary to turn off the UAC or make it auto-accept any more.  Thankfully, Microsoft updates and changes to our patcher have made it unnecessary to work around UAC except in extreme cases(which is one of the reasons we don't suggest it anymore).</p><p>Still, I always found the UAC annoying and I'm sure some people will find this information very helpful.</p>