Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Why does MS not categorize MSE definition updates as important??

07 May 2012   #21
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

Quote   Quote: Originally Posted by DavidW7ncus View Post
With the recent MSE V4 version update, the folder for MpCmdRun.exe has changed.
The BAT file in POST #15 needs to be changed to work with MSE V4.
I'm looking at a Win7 x64 install, but i expect Win7 32 bit is the same...

The old folder was "c:\Program Files\Microsoft Security Client\Antimalware"
The new folder is "c:\Program Files\Microsoft Security Client"

The new BAT file for V4 is:

-- --------------------------------------------------------
:: MSEUpdate.bat

@echo off
cd "c:\Program files\Microsoft Security Client"
MpCmdRun.exe -SignatureUpdate
:: pause
-- ---------------------------------------------------------

Note:
If you have any issues you can remove the "::" in the pause statement.
This will uncomment the pause, and the CMD window will stay open so you can check for any errors.
Just hit enter in the CMD window to close it...
Thanks, David. This update should be valuable for anyone else using this method!

It now works for MSE V4.

BTW - Tried to give you another rep, but it wouldn't let me!


My System SpecsSystem Spec
.
07 May 2012   #22
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

@TBoyd,
You're welcome and thank you for testing this.
don't worry about the rep - thought appreciated.
As we discussed, here is how i have the task setup so there is no CMD window.
Let me know if there are any questions/issues.


I have my Scheduled MSE definition update setup to NOT use a BAT file.
Task Scheduler runs MpCmdRun.exe directly, rather than via a BAT file.

The difference is this way you won't see the CMD window every time the Task runs.
Some people prefer seeing the BAT CMD window, I don't.
It's a personal choice...

Either way you can check if the update process works by looking in Windows Update History.

For anyone that does not want to see the BAT file CMD window, here is how I have Task Scheduler setup for MSE V4.

I set up the task running Task Scheduler with my ADMIN account (run as administrator).
I use the PC logged in with my STANDARD account.

Task summary/highlights:

Task properties (General tab):
Author: <my ADMIN> account
"Run whether user is logged on or not" is selected
"Run with highest privileges" is checked
Trigger:
On a schedule
Daily
Recur every 1 days
Repeat task every 4 hours for a duration of 1 day (4 hours is my personal choice...)
Action:
Program/Script: "C:\Program Files\Microsoft Security Client\MpCmdRun.exe"
Add Arguments (optional): -SignatureUpdate
Attachment 210695

Attachment 210696

Attachment 210697
My System SpecsSystem Spec
11 May 2012   #23
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

Hey David

I meant to post sooner, but I have noticed that the task is not working. I eliminated using the .bat file method & am using the Task Scheduler method. I have noticed that a cmd window pops up for a fraction of a second at the time of the scheduled task, but the update does not occur.

I may try going back to the .bat file method with the corrected location of the .exe file & see what happens.

The only difference I noted when following your instructions for the Task Scheduler method is that when I checked "Run whether user is logged on or not" & "OK", I get a message stating that it cannot be set up with blank password accounts - or something to that effect. The task is accepted if I check "Run only when user is logged on". I don't know if this has anything to do with the problem.

NOTE:

I just tried changing to "Run only when user is logged on", and then checked the "Do not store password" box just below. This time the task was accepted.

I will have to wait & see if this will work now on the next scheduled time. This may or may not be an exception to the instructions - i.e. - when the user does not use a password. I'll report back on this.
My System SpecsSystem Spec
.

11 May 2012   #24
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

Hi TBoyd,

Yea, using an Admin account without a PW could make a difference.
I have a PW on all my ADMIN accounts, and I normally log in with a STANDARD account.

The way you saved your task setup with "Run only when user is logged on" and "Do not store password" may work...
If it doesn't let me know, there are some things we can try for trouble shooting.
My System SpecsSystem Spec
16 May 2012   #25
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

Sorry I took so long to report back on this. A few days ago, I deleted the task via the task scheduler & entered the new command via the elevated command prompt. It appeared to work OK, but then it stopped working. I found that my entry via the command prompt also shows in the task scheduler, and when I reviewed the various tabs in the properties menu of the task, some options & conditions didn't seem correct. I have corrected them to suit my requirements & will see if this runs like it used to.

--Probably a "cockpit" problem!
My System SpecsSystem Spec
16 May 2012   #26
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

You can look at at C:\Windows\Temp\MpCmdRun.log
See if you have an entry in there for when the scheduled task should have run.

If there is an entry for the task, and it has error(s) post that back.
If there is no entry for that task run time, let me know.

Next step would be to "Enable all tasks history" in Task Scheduler, run it, and see what is logged there.
My System SpecsSystem Spec
16 May 2012   #27
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

Quote   Quote: Originally Posted by DavidW7ncus View Post
You can look at at C:\Windows\Temp\MpCmdRun.log
See if you have an entry in there for when the scheduled task should have run.

If there is an entry for the task, and it has error(s) post that back.
If there is no entry for that task run time, let me know.

Next step would be to "Enable all tasks history" in Task Scheduler, run it, and see what is logged there.
It apparently is running now, but the scheduled times for it to run are not in the log file. The "Last Run Time" in Task Scheduler shows it ran at the appointed time, and the result was successful - so it must be OK now. Previously - before changing some settings for the task - the last run time was not showing anything.

BTW - I haven't chosen "Enable all tasks history".

It is obvious now that - without enabling the tasks history - scheduled tasks are not recorded in the log file, but manually-run tasks are recorded. If I want to verify a scheduled task run, it can be viewed only in the Task Scheduler under the "Last Run Time" column. Enabling all tasks history would enable me to check them in the log file, but I choose not to have a ever-growing log file of all tasks.

Thanks, David!
My System SpecsSystem Spec
17 May 2012   #28
DavidE

Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64
 
 

OK, let me know...

When I test/troubleshoot a scheduled task I temporarily Enable History:
Enable All tasks History

Manually run the task with Rt-click > Run
Check what is in the History TAB for errors/success (for the task)

If needed, set up a timer for 1-2 minutes from now
Wait for it to run, and check the History TAB for errors/success

Disable All tasks history
If you still have issues, you are using an ADMIN account without a PW as your "normal everyday" logon, right?

If needed, I can set up an account like yours and do some testing...just want to be sure i understand correctly.
My System SpecsSystem Spec
17 May 2012   #29
TBoyd

Windows 7 Professional 64 Bit SP1
 
 

It's working OK now, David. I must have had some settings checked incorrectly in the beginning. I now check it from the Task Scheduler & it is running successfully & on schedule.

Thanks much!
My System SpecsSystem Spec
04 Oct 2012   #30
o770

Seven Home Premium x64
 
 

Quote   Quote: Originally Posted by DavidW7ncus View Post
Task Scheduler runs MpCmdRun.exe directly, rather than via a BAT file. The difference is this way you won't see the CMD window every time the Task runs.
Hello. How have you got to hide the command prompt window? I get mine popping up everytime just like TBoyd. Thanks!
My System SpecsSystem Spec
Reply

 Why does MS not categorize MSE definition updates as important??




Thread Tools




Similar help and support threads
Thread Forum
Updates - important/recommended etc.
When I see the Windows Updates listing there's a tab for "important" and a tab for "recommended." Today I loaded all updates that were important. But when I looked in my update history, a few were described as recommended. Also, today some places listed one update as "critical" - (the one...
Windows Updates & Activation
MS Security Essentials (MSE) definition updates?
How often does Windows Update check for and install MS Security Essentials (MSE) definition updates? I noticed that for the last few weeks MS is updating MSE definations a lot more. I use to get 2-3 updates per day and now i'm getting 5-10 updates per day. I use a scheduled task to check for...
System Security
Possible to Ignore Important Updates?
I'm wondering if it is possible to ignore an important windows update? Windows Defender updates are listed as important updates but I have my own security suite and therefore don't need to burn a few megs every month to update Windows Defender. I also have a netbook with very limited hard drive...
Windows Updates & Activation
Automatic Definition Updates for MSE
I have read that you can use windows update to automatically update the definitons on MSE. Is this true? If so how do I get it to work? I have it set to install updates everyday at a certain time but it never seems to do so. Say my pc is not on during that time when I do turn it on will it then...
System Security
Why aren't we getting some important Updates
Some updates like this IE8 security update that was released the 14th, we're not getting in Windows update. Why? Shouldn't we at least get important or critical security updates even in the lastest builds? I could see why maybe not other less important updates but critical security ones? And...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 04:59.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App