Autologin to User Account Control

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
mikepx
Newbie
Posts: 2
Joined: Thu Apr 23, 2015 4:30 pm

Autologin to User Account Control

Post by mikepx » Thu Apr 23, 2015 5:53 pm

On my work PC, I have to login to User Account Control (as local admin) dozens of times a day.
I'm going to wear out my hands at this point. I need to automate this.

But it seems that the Windows 7 User Account Control dialog does not respond to SendText or any other MS command (like tab).
Is there a workaround for this so that I can automate the typing of my local admin account into the dialog?

Thanks

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Re: Autologin to User Account Control

Post by Marcus Tettmar » Wed Apr 29, 2015 1:53 pm

I'm afraid that's kinda the point of UAC. You can't automate it. You can either disable it, or if you're already local admin just run the app as admin in the first place so that you only get the UAC prompt once.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts