DavidOverton.com
This site is my way to share my views and general business and IT information with you about Microsoft, IT solutions for ISVs, technologists and businesses, large and small.  

Browse by Tags

  • How to wake a computer to perform a antimalware scan, particularly useful for Windows Intune

    While having the book reviewed one feature that was asked for, but is not possible with Windows Intune, was the ability to make Windows Intune wake a computer at night and carry out an anti-virus scan. This blog post is referred to in the book when setting the Anti-Malware policy. To solve this, there are two issues to tackle: Wake up the computer Start a scan The answer appears to be that to wake the computer we need to use a task in Task Scheduler and then we need to start a scan. One very important thought here is that we need to ensure the power settings on the computer will put it back to sleep though! The command line required is “ %ProgramFiles%\Microsoft Security Client\Antimalware>MpCmdRun.exe -scan -scantype 0 ” While working on this, I also wanted something that could be deployed by Windows Intune. In the end I have written a small piece of software that can create a task that wakes the computer and will start a scan. If you do not want a scan to start, change the program to execute to...

(c)David Overton 2006-23