NOTE: The text in the following Microsoft Knowledge Base article is provided so that the site search can find this page. Please click the Knowledge Base link to insure that you are reading the most current information.

Microsoft Knowledge Base article Q314435 contains:



This step-by-step articles describes how to apply security patches by using Task Scheduler. A member of the administrators group will have already identified and downloaded the security patches and created a script to run the patches that are referred to in this article. A member of the administrators group on a computer that is running Windows 2000 Server or Advanced Server will complete all of the following procedures.

back to the top

Create a Security Patch .MSI Package

For this procedure, Windows Installer is used to convert the .exe patch file to an .msi file. You can install Windows Installer from your Windows 2000 installation CD-ROM, VALUEADD\3rd Party\MGMT\WINSTLE\Swiadmle.msi file.
  1. Click Start , point to Programs , point to VERITAS Software , and then click VERITAS Discover .

  2. Click Next , to continue.

  3. In the Specify the name of the application for which you are building the installation box, type the name of the patch or a general label, for example, Security Patches .

  4. In the Specify the Path and filename for the data file where the information on this installation will be kept box, type the path to where you want the new package to reside and the name for the new package. For example, c:\AdminPackages\Securitypatch.msi . Click Next to continue.

  5. Click the drive that will store the temporary work files for Windows Installer, and then click Next .

  6. Under Available Drives , click the drive where the file will be installed and affected, click Add , and then click Next .

  7. Accept the defaults, and then click Next .

  8. The program takes a snapshot of your computer, and depending on the size, it may take several minutes. When it is complete, click OK to continue.

  9. In the Look in box, locate the .exe file that is being converted, click the file, and then click Open .

  10. The .exe file runs its installation, and you must not restart your computer. Instead, click Reboot Later , and then run Windows Installer again.

  11. Click Start , point to Programs , point to VERITAS Software , and then click VERITAS Discover .

  12. Accept the default Perform the 'After' snapshot now setting, and then click Next .

  13. Windows Installer takes the after snapshot, and creates the new .msi file in the location you specified.

    NOTE : If there are difficulties with the conversion, the system will tell you so, and it may be necessary to go through this procedure again to convert the .nai file to an .msi file.

back to the top

Set Up the Scheduled Task

  1. Click Start , point to Programs , point to Accessories , point to System Tools , and then click Scheduled Tasks .

  2. Double-click Add Scheduled Task , and then click Next .

  3. In the Scheduled Task Wizard, click Browse , locate the script that will run the .msi package that you created in the first task in the Look in box, click the script file, and then click Open .

  4. Under Perform this task , click the increment in which the script will be ran, and then click Next .

  5. Select the time, day, and start date for the script to be ran, and then click Next .

  6. In the Enter the user name box, type the administrator logon name ( domain name \Administrator, type the password, confirm the password, and then click Next .

  7. Click to select the Open advanced properties for this task when I click Finish check box, and then click Finish .

  8. To change the run as option, on the Task tab, in the Run as box, type the new administrator logon name, click Set password , type the password, confirm the password, and then click OK .

  9. Any modification to the time and date the task is scheduled to run on the Schedule tab.

  10. You can modify task settings on the Settings tab, and to add users and modify permissions, click the Security tab.

back to the top