Jump to content
Sign in to follow this  
Line

Not active

Recommended Posts

Line

Hey there.

I'm newb:).

I want auto it to open up a application/software or anything that needs admin rights.I'm using that mouse click command but when the "resquest accept" window pops up with the "yes" or "no".My script seems to die,it doesn't work anymore.Its like working in the background.

Bad at explaining but if you got it and you are willing to help me,thanks alot!

Share this post


Link to post
Share on other sites
Kidney

disable UAC on your computer.

Start > Control Panel > Search "UAC" > Change User Account Control settings > Put the slider to the bottom - Never notify > click OK > Restart Computer

Share this post


Link to post
Share on other sites
0xdefea7

You cannot do that. Windows has built in special protection to stop you from being able to automate that window. You have to do as Kidney said if you want to bypass it, or add this at the very top of your script:

#RequireAdmin

If you add #RequireAdmin, you will see the UAC prompt only when you start your program, anything that you run after it will run with the same privileges, so you will not get that UAC box popping up again. 

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×