Running Update.exe for More Than One Share Produces Only One .log File (265813)



The information in this article applies to:

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional

This article was previously published under Q265813

SYMPTOMS

If you run Update.exe multiple times from the same computer (whether from a batch file or a command line) to update files on a distribution server (either local or remote), only one Svcpack.log file is saved in the %SystemRoot% folder. The Svcpack.log file contains information only for the last time you ran Update.exe.

CAUSE

This behavior occurs because the Svcpack.log file is saved in the %SystemRoot% folder on the computer on which you run Update.exe. Each time you run Update.exe, it overwrites the previous file.

RESOLUTION

To work around this behavior, use the copy command in a batch file to copy the Svcpack.log file from the %SystemRoot% folder to an alternate location before you run Update.exe again. For example:

update.exe /s:\\servername\1.045r\pro
copy /winnt/svcpack.log /winnt/svcpackpro.log

update.exe /s:\\servername\1.045r\srv
copy /winnt/svcpack.log /winnt/svcpacksrv.log

update.exe /s:\\servername\1.045r\adv
copy /winnt/svcpack.log /winnt/svcpackadv.log

This ensures that the logs are not overwritten when you update other distribution shares.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Modification Type:MajorLast Reviewed:11/20/2003
Keywords:kbprb KB265813