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

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 Windows 7 x64 install, but i expect Windows 7 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

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

@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
Why does MS not categorize MSE definition updates as important??-mse-ts-sp-01.png

Why does MS not categorize MSE definition updates as important??-mse-ts-sp-02.png

Why does MS not categorize MSE definition updates as important??-mse-ts-sp-03.png


My System SpecsSystem Spec
11 May 2012   #23

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

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

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

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

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

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

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

Win 7 Pro x64 SP1, Win 7 Ult x86 SP1
 
 

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

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

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 for2: Why does MS not categorize MSE definition updates as important??
Thread Forum
Solved MS Security Essentials (MSE) definition updates? System Security
All important updates fail!! Windows Updates & Activation
Possible to Ignore Important Updates? Windows Updates & Activation
Automatic Definition Updates for MSE System Security
Defender Definition Updates Security News
2 Important updates (KB973688 & KB954430) Windows Updates & Activation
Why aren't we getting some important Updates 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 09:44 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33