Fernandin Posted December 2, 2019 Posted December 2, 2019 Let me get it straight... I've been having such a great experience with AutoIt, it helped me a lot at my work. And now, I gotta make some configurations in the BIOS of many computers at my work. So, I'd like to know, is it possible to use AutoIt (or some programming language) to write an algorithm that when compiled and transefered to a pen drive, it's "plug and run"?
seadoggie01 Posted December 2, 2019 Posted December 2, 2019 Yes, any AutoIt program *could* be run from a pen drive. Just make sure to test it on a computer before using it all over! If your work allows it, you could even edit the autorun.inf file to auto-magically run the program when it's inserted. (Please note: there are security risks with autorun.inf, as the wiki article states. But, if it's allowed, why not use it for good? Maybe even disable the autorun feature with your program.) All my code provided is Public Domain... but it may not work. Use it, change it, break it, whatever you want. Spoiler My Humble Contributions:Personal Function Documentation - A personal HelpFile for your functionsAcro.au3 UDF - Automating Acrobat ProToDo Finder - Find #ToDo: lines in your scriptsUI-SimpleWrappers UDF - Use UI Automation more Simply-erKeePass UDF - Automate KeePass, a password managerInputBoxes - Simple Input boxes for various variable types
spudw2k Posted December 2, 2019 Posted December 2, 2019 It is incredibly likely that Auto run will be blocked. I'm pretty sure since XP SP2 autorun is not executed without user interaction (with exception of perhaps optical disc drives or emulated optical disc drives - Google U3). Is a network deployment solution not an option? Certainly more ideal than walking around to a bunch of machines and touching each one - even if it's plugging in a drive and not touching the keyboard. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX Builder Misc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retrieve SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose Array Projects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalc Cool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF
Fernandin Posted December 4, 2019 Author Posted December 4, 2019 Thank you guys!! I've been trying some codes and learning more about [autorun], as soon as I need, I will come with some questions or maybe some other thanks! @spudw2k Well, I actually don't know if and how it could be done. At there I use Configuration Manager from the System Center family, by Microsoft. Do you know some solution that works with a network deployment? And anyway, I need to go though computer to computers to make some configurations... Actually I also use some pen drives with some .exe archives that I created using autoit.
Nine Posted December 4, 2019 Posted December 4, 2019 You could have a small script running in the background on each computer that checks if a USB key or Pen drive is being inserted. If so, if there is a special file in there (e.g. autoit.bat), it would be run immediately with a warning message before hand, so the users do are aware they will be executing some program... “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy
Moderators JLogan3o13 Posted December 4, 2019 Moderators Posted December 4, 2019 @Fernandin I'm a bit confused. If you are using SCCM, why go to the trouble of pen drives rather than deploying your script as a package? Did I miss something? "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum!
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