Nakatomi2010 Posted July 22, 2007 Share Posted July 22, 2007 (edited) I've got a little program from work I'm tweaking a bit to be a little more useful for me... I'm trying to add a whole bunch Vista updates, the problem is that every time a new update is up to launch it asks whether or not to be allowed or denied... Is there a way to add a switch or something to an executable to automatically launch something as an administrator? without turning off UAC... I understand such a switch is to avoid scenarios of unauthorized installs, the question needs to be asked...Even if starting a program using a .vbs script in administrative mode would work for me... Some sort of command line that'll do it by double clicking a single file... Edited July 22, 2007 by Nakatomi2010 Link to comment Share on other sites More sharing options...
ajua Posted July 24, 2007 Share Posted July 24, 2007 if you are logged in as an admin you can turn off the uac prompts for admins with out disabling uac at all.look here HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System and change this key ConsentPromptBehaviorAdmin to 0 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now