Automatic Close window

  • Thread starter Thread starter Geoplay
  • Start date Start date
G

Geoplay

Is there a way of automatically closing the WD window after a scan that
shows that the computer is running normally?
 
I think you are trying to put the cart before the horse. If you initiate a
manual scan, just close the WD window by clicking the big red X. The scan
will continue. WD closes the window. If WD does not detect anything, i.e.,
computer is running normally, then no further action is required on your
part.
 
Hello Geoplay;
I'm not 100% sure of what your asking here, but my initial though was that
if you don't open the window to begin with you won't have to close it. I
run a batch exec to issue the WD command line that starts a full scan on a
monthly basis and no window ever appears, so it doesn't have to be closed.
The only indication that a scan is running is that the notification area
icon shows it's running, at least in the final release versions of
Defender. Here's my two line batch file that the posting will probably
break into three lines:

@echo off
"C:\Program Files\Windows
Defender\MpCmdRun.exe" -Scan -RestrictPrivileges -ScanType 2
 
Dave M's given one good answer, so I'll chime in with a different
answer--you can judge the good or not: Just hit the red X and close the
window as soon as the scan starts.

Believe it or not, the scan continues in the background, and if there's
anything you need to do at the end the icon in the tray will alert you.
 
While on the subject: Wouldn`t it be nice to have more of a choice for those
(who don`t necessarily want to open the UI), to have more options available
from the icon in the notification area other than `Open` and `Exit`? How
about, Scan, Check for updates, Options and Tools for starters ? Even a Help,
About would be better than what we have now !!

Stu
 
Thank you Dave, but, when I schedule a scan, the window opens, and stays
open until I close it. Surely, like in Spybot, Search and Destroy, if the
scan is clear, one could have the window close automatically.
Thanks also, Bill Sanderson, but one does not always want to sit and wait
for the scheduled scan to start, just so that you can close the window
immediately.
Regards to all
 
I can't remember, and don't have Windows Defender running on my only Vista
machine at the moment--testing Microsoft Forefront Client Protection. I
suspect it's the same as XP, though.

--
 
I'll try again... Here's my BAT file for checking for updates without ever
opening any windows, touching any icons, or anything... you just make a new
file in notepad named with the .BAT extension and put in these *2* lines
then double click the bat file when it's saved to your desktop folks...

@echo off
"C:\Program Files\Windows Defender\MpCmdRun.exe" -SignatureUpdate

There's no scheduling of scans, no opening any WD windows then help about
then checking for updates... NO nothing, just a double click... and it's
done thru the command prompt. You could also do this manually but it's a
pain to navigate to the WD folder and then issue the MpCmdRun command. The
above batch file for the signature update check or the other one for the WD
full scan turns the process into a double click with no opening of the WD
GUI itself.
 
;) OK Dave, I`m gonna try your BAT file right now - promise ;) AND many
thanks for your input. I was just trying to establish whether or not there
were any improvement plans in the WD development cycle for the
`inexperienced` users.

Regards

Stu
 
Who is it that advertises completely customizable?... meaning do it
yourself...

Anyway... WTG Stu.

The only problem that I have using these custom bat files is I forget I
spent some time learning how they worked for WD, and I usually wind up
opening the GUI just by rote behavior. I have each set to run minimized so
even the Command Prompt window just appears briefly on the task bar until
the command is issued then it disappears.
 
Back
Top