Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I need to be able to push out registry fixes with AD logon script to Windows 7 systems with UAC enabled. So far I have had no luck accomplishing this using the standard method that worked in XP.

regedit.exe /s

Is there a way to accomplish this without turning UAC off?

Thanks for your kind answers.

share|improve this question
up vote 2 down vote accepted

A logon script will run in the current user's context, which will trip UAC. You should use Group Policy Preferences Registry Settings or a Startup Script, which will run as SYSTEM instead.

The GPP way is "preferred" in most cases.

share|improve this answer
You're right i used GPO following this tutorial:… and everything run smooth on test :) Thank you – eldblz Nov 8 '12 at 16:03

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.