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

Page 3 of 4 FirstFirst 1234 LastLast

  1. Posts : 249
    Windows 7 Professional 64 Bit SP1
    Thread Starter
       #21

    DavidW7ncus said:
    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 Computer


  2. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #22

    @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 Computer


  3. Posts : 249
    Windows 7 Professional 64 Bit SP1
    Thread Starter
       #23

    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 Computer


  4. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #24

    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 Computer


  5. Posts : 249
    Windows 7 Professional 64 Bit SP1
    Thread Starter
       #25

    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 Computer


  6. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #26

    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 Computer


  7. Posts : 249
    Windows 7 Professional 64 Bit SP1
    Thread Starter
       #27

    DavidW7ncus said:
    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 Computer


  8. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #28

    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 Computer


  9. Posts : 249
    Windows 7 Professional 64 Bit SP1
    Thread Starter
       #29

    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 Computer


  10. Posts : 16
    Seven Home Premium x64
       #30

    DavidW7ncus said:
    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 Computer


 
Page 3 of 4 FirstFirst 1234 LastLast

  Related Discussions
Our Sites
Site Links
About 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 21:38.
Find Us