Jump to content
Sign in to follow this  
itguy2343

Help with script and interactive desktop

Recommended Posts

itguy2343

I am undertaking a major script IMO, that will run combo fix automatically from Safe Mode. The point that I am at now is that when I use my RMM tool to push the AV disabling script, it will not run. If I run the .exe myself via command line, process execute, or just plain double click the script works like a beauty!

When I am trying to do this, a user is logged in and from watching the task manager I can see that the script runs but there is no mouse movements or that the AV disables itself but it runs for a few secs and then disappears. There is no command line to disable the AV that I am working with. Please forgive me but I am new to AutoIT and impressed with what I have seen so far.

I am determined to get this to work. Any advice is appreciated.

;Script Start

AutoItSetOption("MouseCoordMode", 0)

; Run the ESet Gui Program

Run("c:\program files\eset\eset nod32 antivirus\egui.exe")

Sleep(1000)

; Wait for the ESet Gui to become active

; WinWaitActive("Eset NOD32 Antivirus")

$Check1 = PixelGetColor(45 , 134)

If $Check1 = 0x82D24C Then

MouseMove(57 , 274)

Sleep(500)

MouseClick("left")

Sleep(500)

MouseMove(354 , 247)

MouseClick("left")

Sleep(500)

MouseMove(769, 10)

MouseClick("left")

Else

MouseMove(57 , 274)

Sleep(500)

MouseClick("left")

Sleep(500)

MouseMove(354 , 247)

MouseClick("left")

Sleep(500)

Send("{LEFT}")

Sleep(500)

Send("{ENTER}")

Sleep(500)

Send("{ENTER}")

Sleep(500)

MouseMove(769, 10)

MouseClick("left")

EndIf

Thanks in advance!

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  

×