About MSE
Hi all, I'd like to know how to create a task using Task Scheduler in order that the system shuts down after MSE scan is complete. Thanks.
June 29th, 2011 10:43pm

it runs all the time, but the user interface needs to be manually closed if you are using it you would need some code to run the scan then call shutdown, that is not in MSE nativly I suggest configuring the computer power to maximum savings so that leaving it on costs nothing significant Windows MVP, paid Remote Assistance is available for XP, Vista and Windows 7. My page on Video Card Problems is now my most popular landing page. See my gaming site for game reviews etc. Developer | Windows IT | Chess | Economics | Hardcore Games | Vegan Advocate | PC Reviews
Free Windows Admin Tool Kit Click here and download it now
July 2nd, 2011 8:58am

Hi, As a work around you may write a batch file, then you may use Task Scheduler to call this batch file to achieve the purpose. Actually, you can call MSE to perform a task via MpcmdRun.exe in that of MSE installation directory. For example, my MSE installed in the path of C:\Program Files\Microsoft Security Client\, MpcmdRun.exe is located in a subfolder “Antimalware”. Here is the content of my batch file: cd\ cd "C:\Program Files\Microsoft Security Client\Antimalware" start /wait MpcmdRun.exe -scan -2 shutdown /s Hope that helps Please remember to click Mark as Answer on the post that helps you, and to click Unmark as Answer if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
July 6th, 2011 3:48am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics