Toad7126 Posted January 10, 2022 Posted January 10, 2022 I'm working on a script. What it does essentially is download a zip from Microsoft, uses PowerShell cmdlet to unzip it then writes out a bat file. The bat file when executed opens psexec as nt authority. Everything goes well but when the nt authority window pops up for some reason autoit refuses to send any key strokes to it... I've tried winactivate. I've tried opening the bat using PowerShell so I can single out the PowerShell nt authority window from the other open command line windows and focus on the target window. But nothing is working. Can anyone help
Developers Jos Posted January 10, 2022 Developers Posted January 10, 2022 Moved to the appropriate forum, as the Developer General Discussion forum very clearly states: Quote General development and scripting discussions. Do not create AutoIt-related topics here, use the AutoIt General Help and Support or AutoIt Technical Discussion forums. Moderation Team SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past.
Exit Posted January 10, 2022 Posted January 10, 2022 I would like to help, but without your script it's just a look into the crystal ball. App: Au3toCmd UDF: _SingleScript()
markyrocks Posted January 10, 2022 Posted January 10, 2022 Some windows just flat out won't accept virtual key presses. With a tool like this I can understand why they wouldn't want it to be automated. I'm not saying that this is the case but I've definitely run into it b4. Spoiler "I Believe array math to be potentially fatal, I may be dying from array math poisoning"
Earthshine Posted January 10, 2022 Posted January 10, 2022 you have to disable UAC which is a TERRIBLE idea this is NOT to be automated for security purposes My resources are limited. You must ask the right questions
spudw2k Posted January 11, 2022 Posted January 11, 2022 If you run the script with elevated permissions, it may be able to interact with it. #RequireAdmin 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
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