feistcomputers Posted September 25, 2015 Share Posted September 25, 2015 Started playing with Autoit, will be great when i can figure it out. Q: Where do i find info on UAC, the small section i found gets this to open but i still have to interact with it, then it stops on first button options. I have file in same folder. Should be simple but can't find info to fix it. Used 3 tutorials as reference. Thanks for any help. http://www.aomeisoftware.com/download/ok/Onekey.exe; Script Start - Add your code below here; This script requires full Administrative rights#RequireAdminRun("onekey.exe")WinWaitActive ("changes")Send("!Y")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2")Send("!n")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","accept")Send("!a")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","next")Send("!n")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","B&rowse...")Send("!n")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","performe")Send("!n")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","review")Send("!n")WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","finish")Send("!f") Link to comment Share on other sites More sharing options...
Neutro Posted September 25, 2015 Share Posted September 25, 2015 Hi feistcomputers and welcome on the forum!Most of the installers have a silent install command, you just need to test the parameters to figure it out.For your software the command is:Onekey.exe /silentThen no need to use your script But to answer your questions, using #RequireAdmin should disable all UAC messages. Maybe your script is failing because of a typo here?WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","B&rowse...") Identify active network connections and change DNS server - Easily export Windows network settings Clean temporary files from Windows users profiles directories - List Active Directory Groups members Export content of an Outlook mailbox to a PST file - File patch manager - IRC chat connect example Thanks again for your help Water! Link to comment Share on other sites More sharing options...
feistcomputers Posted September 25, 2015 Author Share Posted September 25, 2015 Hi feistcomputers and welcome on the forum!Most of the installers have a silent install command, you just need to test the parameters to figure it out.For your software the command is:Onekey.exe /silentThen no need to use your script But to answer your questions, using #RequireAdmin should disable all UAC messages. Maybe your script is failing because of a typo here?WinWaitActive ("Setup - AOMEI OneKey Recovery 1.2","B&rowse...") yes i wasnt sure on that typo, i took info right from the info tool that came with Autoit. How would I run that Onekey.exe /silent remotely to all my customers. Started doing msp as a one man shop. Much to learn. Your answer will open many doors for me. Also how do you find the switch for any given program. That is awesome. Link to comment Share on other sites More sharing options...
Neutro Posted September 26, 2015 Share Posted September 26, 2015 (edited) How would I run that Onekey.exe /silent remotely to all my customersWell that depends on who are your customers, how are you connected with them and what priviledges you have on their PCs. You need to give more details about what you are trying to achieve if you want help about this. Started doing msp as a one man shop. Much to learn. What's a msp? Also how do you find the switch for any given programMost of the time the silent install commands are the same so just open command line where the install .exe is then try to add /install or /silent or -s or /s... Until it works Edited September 26, 2015 by Neutro Identify active network connections and change DNS server - Easily export Windows network settings Clean temporary files from Windows users profiles directories - List Active Directory Groups members Export content of an Outlook mailbox to a PST file - File patch manager - IRC chat connect example Thanks again for your help Water! Link to comment Share on other sites More sharing options...
Administrators Jon Posted September 26, 2015 Administrators Share Posted September 26, 2015 When I did a lot of software installations I always checked this site first:http://www.itninja.com/software/browse/all/1/25?WithTips=1 Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ 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