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
actevolisAsked:
Who is Participating?
 
McKnifeCommented:
Delete all those values and setup the same with GPOs and test.
0
 
actevolisAuthor Commented:
i'll test this workaround

thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.