Gizmos Freeware Reviews  

Go Back   Gizmo's Freeware Forum > Debating Chamber > Security

Reply
 
Thread Tools Display Modes
Old 21. Apr 2011, 05:10 AM   #1 (permalink)
Abandoned
Guest
 
Posts: n/a
Default Update MSE with Windows Task Scheduler with "hidden" CMD box

This explains how to update MSE with Windows task scheduler, so that the CMD box is hidden, using a batch and a vb script file. I know this works in Win7, and I don't see why it wouldn't work with Vista either. It probably works with XP too, but I can't say that for sure.


First open up notepad, and copy and paste the following:

cd C:\Program Files\Microsoft Security Client\Antimalware
MpCmdRun.exe -SignatureUpdate

Then save the file with a .bat extension. For the purpose of this tutorial, name it MSE.bat


Last edited by JohnnyDollar; 21. Apr 2011 at 05:22 AM.
  Reply With Quote
Old 21. Apr 2011, 05:24 AM   #2 (permalink)
Abandoned
Guest
 
Posts: n/a
Default

Then open up notepad again, and type the following:
Attached Images
File Type: jpg VB script.JPG (27.7 KB, 19 views)
  Reply With Quote
Old 21. Apr 2011, 05:25 AM   #3 (permalink)
Abandoned
Guest
 
Posts: n/a
Default

Then save the above file ^ with a .vbs extension. You can name it MSE.vbs
http://www.winhelponline.com/blog/ru...ommand-prompt/

Then place both files in your C:\Program Files\Microsoft Security Client\Antimalware folder.

Follow the following tutorial, with the following exceptions. Instead of browsing to the MpCmdRun.exe file, you need to browse to the MSE.vbs file. Also, leave the arguments box blank. You can manually type in how many hours in between repeating the task in the "Edit Trigger" box. In the settings tab, you can also check "Run task as soon as possible after a scheduled start is missed", that way it will update right after Windows starts up, if you missed the previous one.
http://www.groovypost.com/howto/how-...ovyPost.com%29

Now you're done. Task scheduler will run the task as often as you want, and MSE will update in the background with the CMD box hidden. There's probably another way, but this worked for me.

Last edited by JohnnyDollar; 21. Apr 2011 at 05:40 AM.
  Reply With Quote
Old 21. Apr 2011, 08:37 AM   #4 (permalink)
J_L
Co-Author, Best Free Security List
 
J_L's Avatar
 
Join Date: Dec 2008
Posts: 1,475
Default

Why don't you post the second step in text as well? Copy+pasting is more accurate and quicker than typing.
J_L is offline   Reply With Quote
Old 21. Apr 2011, 07:52 PM   #5 (permalink)
Moderator
 
Join Date: Jul 2008
Location: India
Posts: 9,484
Default

That's because, the forum security was not letting him post the vb script. He had written to me about it, but I was offline at that time.
__________________
Anupam
Anupam is online now   Reply With Quote
Old 21. Apr 2011, 08:35 PM   #6 (permalink)
Abandoned
Guest
 
Posts: n/a
Default

You can follow the first link in the third post, and copy and paste the sample code from that web page. The only thing that you need to change is the path and name of the .bat file, which is shown in the screenshot I uploaded. As Anupam indicated, the forum won't let me post vb script, even with CODE tags wrapped around it.
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT +1. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2