Trigger a MalwareBytes scan in the background without activating it

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
newcod3r
Posts: 505
Joined: 30 Sep 2021, 02:16

Trigger a MalwareBytes scan in the background without activating it

Post by newcod3r » 26 Mar 2023, 17:18

The free version doesn't have scheduled scans - I was wondering if ahk can trigger a scan in the background without the user seeing in the foreground?

Rohwedder
Posts: 7647
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: Trigger a MalwareBytes scan in the background without activating it

Post by Rohwedder » 27 Mar 2023, 02:15

Hallo,
431 Posts! What keeps you from trying this out?

newcod3r
Posts: 505
Joined: 30 Sep 2021, 02:16

Re: Trigger a MalwareBytes scan in the background without activating it

Post by newcod3r » 27 Mar 2023, 02:37

Rohwedder wrote:
27 Mar 2023, 02:15
Hallo,
431 Posts! What keeps you from trying this out?
I only know how to trigger it if the window is active (i.e. user will still see a short flash).

greatness
Posts: 2
Joined: 17 Sep 2023, 22:28

Re: Trigger a MalwareBytes scan in the background without activating it

Post by greatness » 17 Sep 2023, 22:55

was looking for a similar solution and have the same problem here - can't trigger it silently in the background. please help!

greatness
Posts: 2
Joined: 17 Sep 2023, 22:28

Re: Trigger a MalwareBytes scan in the background without activating it

Post by greatness » 17 Sep 2023, 23:06

this is my attempt:

Code: Select all

loop {                           
  if A_WDay between 1 and 7   ; Monday to Sunday        
  {
    if (A_Hour = 12) and (A_Min = 02)   ; is time 4:49pm?
    GoSub, GoThere
  }
}
return

GoThere:
Winactivate, ahk_exe mbam.exe
WinWaitActive,ahk_exe mbam.exe,,3
SendInput {Tab 9}{Enter}
Sleep 1000
SendInput {Tab 10}{Enter}
Sleep 100
WinMinimize,ahk_exe mbam.exe

return

Post Reply

Return to “Ask for Help (v1)”