Solved

UAC level is not the same between admin and user sessions !

Posted on 2014-09-05
2
148 Views
Last Modified: 2014-09-12
Hi all,

we're meeting a funny situation ... on our Windows 7 workstations :
when i set level 0 on admin user,
the level in the user' session is 0 !
...when i set level 1 on admin user,
the level in the user' session is 2 !
when i set level 2 on admin user,
the level in the user' session is 3 !
... etc...

We discovered that it can be caused by a little script that we've built, which set the three values in registry
-- script is executed from admin session --
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 1 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 5 /f
reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v PromptOnSecureDesktop /t REG_DWORD /d 0 /f

But it's very strange to never go back to a stable situation, and avoiding a shift between the two sessions ...

Do you know how to fix this problem ?

thanks,
Seb
0
Comment
Question by:actevolis
2 Comments
 
LVL 54

Accepted Solution

by:
McKnife earned 500 total points
ID: 40306428
Delete all those values and setup the same with GPOs and test.
0
 

Author Closing Comment

by:actevolis
ID: 40319486
i'll test this workaround

thanks
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
Article by: Lee
Windows 7 Ultimate and Enterprise (and 2008 R2) introduced a new feature you may not be aware of - Boot from VHD.   Boot from VHD (or what Microsoft refers to asNative Boot allows you to install Windows to a VHD (Virtual Hard Disk) file that is t…
In this Micro Tutorial viewers will learn how to use Boot Corrector from Paragon Rescue Kit Free to identify and fix the boot problems of Windows 7/8/2012R2 etc. As an example is used Windows 2012R2 which lost its active partition flag (often happen…
This Micro Tutorial will give you a basic overview of Windows DVD Burner through its features and interface. This will be demonstrated using Windows 7 operating system.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question