I receive an error that setup.log cannot be found when installing a service pack.

John Savill

March 9, 1999

1 Min Read
ITPro Today logo in a gray background | ITPro Today

A. If when you try and install a service pack you receive one of thefollowing errors:

Service Pack Setup could not find the Setup.log file in your repairdirectory

or

Service Pack Setup cannot open or modify your SETUP.LOG file

The problem is either

  • SETUP.LOG in the %systemroot%repair directory is missing or damaged

  • The folder in which Windows NT was installed has been renamed (althoughthis is unsupported by Microsoft)

If the file SETUP.LOG in the %systemroot%repair is missing then you cancopy it off your Emergency repair disk however if this is not an option youcould copy from another machine but you may need to update the first few numberof lines in the file (I copied a setup.log file from a NT Server TerminalServer installation to an NT Workstation and installed Service Pack 5 with noproblems after changing the device and directory! This is not a supportedmethod though).

Below is an example of the first lines of setup.log

[Paths]
TargetDirectory="WINNT"
TargetDevice="DeviceHarddisk0partition2"
SystemPartitionDirectory=""
SystemPartition="DeviceHarddisk0partition1"
[Signature]
Version="WinNt4.0"
[Files.SystemPartition]
ntldr="ntldr","2a36b"
NTDETECT.COM="NTDETECT.COM","b69e"
[Files.WinNt]
WINNTHelp31users.hlp="31users.hlp","12bfc"
... etc.

If you copy from another machine you may need to update the TargetDirectoryand also the TargetDevice (which is where the %systemroot% is located and canbe compared against the boot.ini file) and SystemPartition (which is the activepartition, starting from 1, e.g. C:, this should not need to be changed).

If the TargetDirectory is different you should perform a global replace inthe file from the old name, e.g. WINTSRV to the new name, e.g. WINNT.

If you do have a setup.log file in the repair directory and still getproblems installing check that its format matches that given above.

If you don't have any SETUP.LOG files I have an example one you can download and modify from an NTWorkstation installation (but don't mail me asking for support) but the correctprocedure is outlined athttp://support.microsoft.com/support/kb/articles/Q173/3/84.aspwhich involves reinstalling NT over your existing installation.

About the Author

Sign up for the ITPro Today newsletter
Stay on top of the IT universe with commentary, news analysis, how-to's, and tips delivered to your inbox daily.

You May Also Like