locked
Manual download Forefront definitions fail regularly

    Question

  • Hi all,

    Hope somebody of the MS team watches this post.

    I use a script to download the Forefront definitions and use SCCM to deploy them. The package source is the download folder and the advertisement is set to run every 4 hours.

    Since a few days the download of the definitions is getting a read error this is the script:

    The download keeps getting a read error.

    Perhaps I can get a link to more available servers or at least faster ones?


    '==========================================================================
    ' NAME: Forefront Client Security Defintions Download Script
    '
    ' AUTHOR: Yaniv Feldman
    ' DATE  : 24/02/2008
    '
    ' COMMENT: This script downloads 32bit and 64bit FCS definitions
    '          updates from the microsoft security portal.
    '
    '==========================================================================

    ' Settings Operators
    Set objWshShell = CreateObject("WScript.Shell")
    Set objFSO = CreateObject("Scripting.FileSystemObject")

    '==========================================================================
    'Definitions Download
    '==========================================================================
    'WGet Path
    Wget = "C:\FCSDef\wget.exe"
    ' mpam-fe.exe Link
    Getx86Definitions = "http://go.microsoft.com/fwlink/?LinkID=87342&clcid=0x409"
    ' mpam-fex64.exe Link
    Getx64Definitions = "http://go.microsoft.com/fwlink/?LinkID=87341&clcid=0x409"


    x86dl = Wget & " -PDefinitions -oDefinitionsDownload.log " & Getx86Definitions
    'MsgBox(""& x86dl)

    x64dl = Wget & " -PDefinitions -oDefinitionsDownload.log " & Getx64Definitions
    'MsgBox(""& x64dl)

    x86dl = objWshShell.Run(x86dl, 0, True)
    x64dl = objWshShell.Run(x64dl, 0, True)

    '==========================================================================
    'Remove Old definitions
    '==========================================================================

    'Please update to the path where you stored your defintions.
    'This should be a folder under the folder where you located this script
    'and the wget.exe file
    DefinitionsFolder = "C:\FCSdef\definitions"

    If objFSO.FileExists(DefinitionsFolder & "\mpam-fe.exe.1") Then
       objFSO.DeleteFile DefinitionsFolder & "\mpam-fe.exe"
       objFSO.MoveFile DefinitionsFolder & "\mpam-fe.exe.1" , DefinitionsFolder & "\mpam-fe.exe"
    End If

    If objFSO.FileExists(DefinitionsFolder & "\mpam-fex64.exe.1") Then
       objFSO.DeleteFile DefinitionsFolder & "\mpam-fex64.exe"
       objFSO.MoveFile DefinitionsFolder & "\mpam-fex64.exe.1" , DefinitionsFolder & "\mpam-fex64.exe"
    End If

    ==================================================================================



     
    Tuesday, January 13, 2009 11:59 AM

All replies

  • Now I get also disconnected

    12:59:04 (18.77 KB/s) - Connection closed at byte 13644790. Retrying.

    --12:59:04--  http://download.microsoft.com:80/download/DefinitionUpdates/mpam-fe.exe
      (try: 2) => `Definitions/mpam-fe.exe'
    Connecting to download.microsoft.com:80... connected!
    HTTP request sent, awaiting response... 206 Partial Content
    Length: 33,955,720 (20,310,930 to go) [application/octet-stream]

    It tries to reconnect but without success.

    Tuesday, January 13, 2009 12:01 PM