Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 162
  • Last Modified:

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

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
actevolis
Asked:
actevolis
1 Solution
 
McKnifeCommented:
Delete all those values and setup the same with GPOs and test.
0
 
actevolisAuthor Commented:
i'll test this workaround

thanks
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now