Script to Update virus software RRS feed

  • Question

  • Can someone provide a sample script that allow me to automatically update my virus protection definitions
    Wednesday, April 22, 2009 12:18 AM


  • Hi, thanks for the post. First of all, please let us know which antivirus program you are using so that I can help to check if there is an available one in our forum. Also, I'd like to inform you that as we do not support custom script development in this forum, you may need to write your own custom update script. When you write a custom script, please pay attention to the following:


    1. Custom scripts must be written so that they return only after actions in the custom script have been completed.


    2. If a custom script update on a Windows SteadyState computer requires any resources during a scheduled update, such as a valid network connection, the resource must be available at the time of the update.


    3. If the antivirus program shows any blocking UI (for example, a dialog that requires user interaction), then the updates will fail.


    Also, you can refer to the following thread regarding script:


    Script with schedule update at certain time and disk protection on and set to remove changes



    Thank you for your understanding.

    Sean Zhu - MSFT
    • Marked as answer by Sean Zhu - Wednesday, April 29, 2009 5:58 AM
    Thursday, April 23, 2009 6:15 AM