Solved

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

Posted on 2014-09-05
2
152 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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…
If you get continual lockouts after changing your Active Directory password, there are several possible reasons.  Two of the most common are using other devices to access your email and stored passwords in the credential manager of windows.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will teach you how to change your appearance and customize your Windows 7 interface to your unique preference. This will be demonstrated using Windows 7 operating system.

679 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