Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Active Setup without a UAC Prompt

  • Please log in to reply
2 replies to this topic




  • Member
  • 25 posts
  • Joined 25-April 06
In my current environment, I'm using active setup run scripts that create user specific registry settings and copy/create files. This has been working fine under xp, but with Windows 7, I'm constantly getting UAC prompts.

I need suggestions on either a better way to do something for users as they logon to a machine or to get past the UAC prompts.

Thank you

How to remove advertisement from MSFN



    Retired PC Tech.

  • Member
  • PipPipPipPipPipPip
  • 1,017 posts
  • Joined 14-August 05
  • OS:XP Pro x86
  • Country: Country Flag
I'm a bit confused as to exactly what you're trying to do, but if Win-7 is already installed and you don't want to be bedeviled by UAC, simply turn it OFF.
That's the first thing I do when setting up a new PC with Windows 7 on it. (likewise Vista)

There is a neat little script to do that with no muss, no fuss. When you're job is done, you can always turn UAC back on, if that's your thing. The companion script to "Disable UAC" is "Enable UAC".
The "Disable UAC" script is easy to find on the internet.
I found it here.

Another script that I consider a must, is "Take Ownership" which allows you to become the "OWNER" of any folder or file, from the Right-Click context menu.
"Take Ownership" is the second thing I run on a new Win-7 setup.

I actually do a lot more, but those are the things that I think would help you the most in your Query.

good luck,

Edited by Andromeda43, 04 June 2010 - 01:02 PM.

A person with experience is never at the mercy of a person with an argument.



    Gustatus similis pullus

  • Patrons
  • 11,031 posts
  • Joined 09-September 01
  • OS:Windows 10 x64
  • Country: Country Flag


You could also easily achieve the same as the reg file from a simple command:
reg ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

However, if you're seeing UAC prompts, what exactly is ActiveSetup trying to change? A user-specific setting in their own profile's registry shouldn't cause a UAC prompt, nor should file and folder changes to most of their user profile. Is your ActiveSetup command or commands attempting to make changes outside the user's profile?
MCTS Windows Internals, MCITP Server 2008 EA, MCTS MDT/BDD, MCSE/MCSA Server 2003, Server 2012, Windows 8
Please read the rules before posting!
Please consider donating to MSFN to keep it up and running!

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users