View Single Post
  #1  
Old September 11th, 2007, 06:26 AM
Kees1958's Avatar
Kees1958 Kees1958 is offline
Massive Poster
 
Join Date: Jul 2006
Posts: 5,857
Default Setting up UAC in VISTA

Dear all,

As you problably all have heard/read the fuzz about UAC and Vista. Microsoft diliberately did not build in an escape in UAC to permanently mark an application as trusted. I initially called UAC an Anti Executable with the intelligence of a 98 year old suffering from Parkinson. After some testing and fiddling with UAC settings I have determined a workable set, which still leaves the idea of UAC intact, only reducing the prompts for the admin.

Now run REGEDIT and look what your settings are:
HKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System and look at

"EnableLUA"
User Account Control: Run All Administrators in Admin Approval Mode 1 = ON (default), 0 = OFF
>> advice: Keep it ON to keep the protection of UAC.

"ConsentPromptBehaviorAdmin"
User Account Control: Behavior of the Elevation Prompt For Administrators in Admin Approval Mode
0 = run in quite mode (keep UAC on, but automaticallu elevate to Admin)
1 = run UAC, when an elevation request occurs, your are asked to enter the admin password
2 = run UAC, prompts for confirmation to continue a task which requires admin rights (default)
>> advice: set to 0 (quite mode)
>> effect: when launching autostarts it will not allow you to change registry entries, when launching as administrator it is allowed to change these settings without prompt.

"EnableInstallerDetection"
User Account Control: Detect Application Installations and Prompt For Elevation 1 = ON (default), 0 = OFF
>> advice: set to OFF
>> effect: when running a 32 bit installer program Vista will NOT detect it is an installer and will NOT silently elevate to admin. This means that you are not able to install Firefox for instance, because the file protection and registry protection are still ON. You have to explicitely run a program as administrator. This prevents 'shoot in the foot' errors to some degree.

"EnableVirtualization"
User Account Control: Virtualizes file and registry write failures to per-user locations 1 = ON (default), 0 = OFF
>> advice: keep this ON

"EnableSecureUIAPaths"
User Account Control: Only elevate UIAccess applications that are installed in secure locations 1 = ON (defaut), 0 = OFF
>> advice: keep this ON
>> effect: only elevates programs from C:\Windows, and the C:\Program Files or C:\Program Files (x86) location (the locations by default marked as secure)

"PromptOnSecureDesktop"
User Account Control: Switch to the secure desktop when prompting for elevation 1 = ON (default) 0 = OFF
>> advice: keep this ON
>> effect: screen darkens when asking for admin approval

"ValidateAdminCodeSignatures"
User Account Control: Only elevate executables that are signed and validated 1 = ON 0=OFF (default)
>> advice: keep this OFF.
>> effect: allows unsigned programs to run without admin approval, over a year or so you should set this to on (there are simply to few programs signed now).

"ConsentPromptBehaviorUser"
User Account Control: Behavior of the Elevation Prompt For Standard Users
0 = no pop-up, disallow/block when UAC is and running as limited user account
1 = allows you to take over the credentials of the admin by entering account and password
Advice: what you want (either disable or allow admin credential takeover)

"FilterAdministratorToken"
User Account Control: Admin Approval Mode for the Built-in Administrator Account 1 = ON, 0 = OFF (default)
See http://blogs.msdn.com/windowsvistase...security_.aspx
I have vista64 home premium with no shared domain, so I have kept it off (when a hacker would be able to define a shared domain, from one of the other compuers behind the router, he/she can not log-on using the build in admin in safe mode, I guess not tested though)

Regards Kees

Last edited by Kees1958 : September 11th, 2007 at 06:36 AM.