Microsoft KB Archive/265813

= Running Update.exe for More Than One Share Produces Only One .log File =

Article ID: 265813

Article Last Modified on 2/28/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



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:\\ \1.045r\pro

copy /winnt/svcpack.log /winnt/svcpackpro.log

update.exe /s:\\ \1.045r\srv

copy /winnt/svcpack.log /winnt/svcpacksrv.log

update.exe /s:\\ \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.

Keywords: kbprb KB265813

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.