mrhobbeys Posted October 26, 2014 Share Posted October 26, 2014 I have been using AHK for a number of years and have always wanted to make a GUI that would run multiple virus scans one right after the other, clean temp files, and run a few other "cleaning" tasks. Then to install different programs and updates. With AHK this is pretty much doable except when UAC is active. I have read autoit somehow does not have the same problems with UAC. Today I have downloaded autoit but I feel a little overwhelmed. I just want to know if autoit is the direction I need to take things. I also want to make a 1 click solution that would run chocolatey install script then run the different install packages. However I have been trying to make my own cmd script starting with this and I get errors every time. Even trying something like: $CMD = "@powershell ..... RunWait('"' & @ComSpec & '" /k ' & $CMD, @SystemDir) Gives me an error that @powershell is not recognized Link to comment Share on other sites More sharing options...
JohnOne Posted October 26, 2014 Share Posted October 26, 2014 Can. The trick is to turn UAC off. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
mrhobbeys Posted October 26, 2014 Author Share Posted October 26, 2014 Can. The trick is to turn UAC off. First that is exactly what I did not want to hear. Second could I make a script that turns it off then back on? I am trying to make something I could use for cleaning customer computers and part of the problem is the extreme amount of time it takes without automation. UAC is not something I want to just turn off either because I really want to leave every possible protection in place especially on a customers computer. Link to comment Share on other sites More sharing options...
JohnOne Posted October 26, 2014 Share Posted October 26, 2014 You can script the disabling and enabling of UAC. Of course that will require admin rights. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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