Setup from the 16-Bit Winnt.exe File Continues in an Endless Loop

Support for Windows XP has ended

Microsoft ended support for Windows XP on April 8, 2014. This change has affected your software updates and security options. Learn what this means for you and how to stay protected.

This article has been archived. It is offered "as is" and will no longer be updated.
If you start Microsoft Windows XP Setup from the 16-bit Winnt.exe file, when Setup exits and the computer restarts, Setup restarts in an endless loop.
This issue can occur if you did not click I agree in the End User License Agreement (EULA). If you do not click I agree in the EULA, Setup is aborted, and then Winnt.exe does not properly clean up its temporary files and boot sector.
To resolve this issue, restore the computer to its previous configuration:

For Windows 95, Windows 98, Windows 98 Second Edition, and Windows Millennium Edition (Me):
  1. Start the computer from a startup disk that was created in the previous operating system.
  2. Type sys c: to restore the boot sector to its previous configuration.
  3. Remove the boot floppy and restart the computer.
  4. Delete the C:\$win_nt$.~bt folder.
  5. Delete the C:\$win_nt$.~ls folder.

For Windows 2000 and Windows NT 4.0:
  1. Start the computer.
  2. After the BIOS completes the power-on self test (POST), the Boot.ini file is displayed briefly (the timeout is set to one second, so careful attention is required).
  3. As soon as the BIOS completes, press the UP ARROW key repeatedly in quick succession to stop the timeout for the boot menu.
  4. When the boot menu is displayed, click your previous operating system (it should be the top entry in the list).
  5. After the computer has restarted in your previous operating system, remove the Read-Only attribute from the C:\Boot.ini file.
  6. Using a text editor such as Microsoft Notepad, open C:\Boot.ini, and then remove the following line:
    c:\$win_nt$.~bt\bootsect.dat="Windows XP Installation/Upgrade"
  7. Delete the C:\$win_nt$.~bt folder.
  8. Delete the C:\$win_nt$.~ls folder.
winnt exe $win_nt$.~bt c:\$win_nt$.~ls boot ini

Article ID: 282296 - Last Review: 01/11/2015 19:45:05 - Revision: 2.0

  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • kbnosurvey kbarchive kbprb kbsetup KB282296