WinXP 64-bit on a modern PC (ISO boot.wim + install.wim)

Discussion in 'Windows XP / Older OS' started by Gelip, Jun 30, 2024.

  1. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #1 Gelip, Jun 30, 2024
    Last edited: Dec 12, 2024
  2. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    I replaced FlashBoot 3.3n (bootx64.efi) to UefiSeven 1.24 in ISO\EFI\boot (files bootx64.efi & bootx64.original.efi) because FlashBoot under WinPE displays the screen badly.
    files.7z updated
     
  3. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #3 Gelip, Jul 3, 2024
    Last edited: Jul 5, 2024
    (OP)
    Updated files.7z & sysprep_pub.iso:
    • adding fixed boot.ini to ISO and script copies file from ISO to C: partition:
      startnet.cmd
      Code:
      echo:
      echo Fix boot.ini
      xcopy %drive%\boot.ini C:\boot.ini /hkry
      boot.ini
      Code:
      [boot loader]
      timeout=30
      default=multi(0)disk(0)rdisk(0)partition(2)\WINDOWS
      [operating systems]
      multi(0)disk(0)rdisk(0)partition(2)\WINDOWS="Windows XP Professional x64 Edition" /noexecute=optin /fastdetect
      
    • go.cmd does not copy itself from sysprep.iso to C:
      Code:
      echo:
      echo Copying files from sysprep.iso, wait...
      xcopy Drivers C:\Drivers /ehciy >nul
      xcopy Sysprep C:\Sysprep /ehciy >nul
      xcopy WINDOWS C:\WINDOWS /ehciy >nul
      
    Now setup works also on Legacy/CSM mode - just skip the last step and click Exit in BOOTICE:
    legacy.png
    You can switch the CSM Enabled/Disabled in BIOS when you want and the system will always boot on Legacy or UEFI with or without CSM - of course only in MBR mode :)
    BIOS_MBR.png UEFI_MBR.png UEFI_GPT.PNG
     
  4. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #4 Gelip, Jul 6, 2024
    Last edited: Jul 6, 2024
    (OP)
    • I changed the title of startnet.cmd window to "WinXP SP2 64-bit on modern PC"
      modern.png
    • I changed the USB stick label to "xp64_modern" because FAT32 support max 11 character
     
  5. kocoman

    kocoman MDL Senior Member

    May 16, 2007
    366
    7
    10
    does this work on 64bit Chk/debug build xp x64 sp2? does it work on x64 windows server 2003? thx
     
  6. jonathan_hzs

    jonathan_hzs MDL Junior Member

    Feb 3, 2021
    76
    6
    0
    IT should be the same
     
  7. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    I added a link to the original WinXP SP2 64-bit VL ISO
     
  8. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #8 Gelip, Jul 23, 2024
    Last edited: Jul 24, 2024
    (OP)
    @diderius6 help me testing on Intel Gen 12 and Intel Gen 4 motherboards in pure UEFI:

    Necessary BIOS settings:
    • Above 4GB MMIO BIOS assignment - Disabled
    • Intel xHCI Mode - Enabled (can not be Smart)
    For Intel Gen 12 installer stuck on Win7 Flag (discoloration - 4 dots) - beacause acpi problem. diderius6 make patch for this - acpiDDBhackwin7.sys
    Also new acpi.sys for WinXP - acpiSkull2.sys

    With this new acpis my installer works on Intel Gen 1, 2, 4, 6, 7, 8, 9, 12

    On Intel Gen 8 in pure UEFI you need to use the bootdebug menu, the system restart is not working in the end of mini-setup phase and later. The mini-setup ends with a black screen with a mouse cursor and you need reset PC using reset button on case.

    I haven't updated files yet because I don't have time but I'll do it soon :)
     

    Attached Files:

  9. diderius6

    diderius6 MDL Junior Member

    Mar 8, 2020
    67
    23
    0
    @Gelip
    I notice, that this nice version of XP SP2 bit64 accepts only SIGNED drivers.
    So, I get everything to work on 12900k in pure UEFI mode,
    only not the OFA nvme driver.
    In Device Manager I get a yellow mark and this driver is shown as "not digital signed"
    Dietmar
     
  10. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    @diderius6
    You do not need another NVMe driver because it is already ported 6.1.7601.23403
     
  11. un user

    un user MDL Member

    Jun 16, 2013
    163
    124
    10
    Hi @diderius6
    regarding unsigned drivers...
    add those values after system is installed.

    Code:
     Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\SafeBoot] "OptionValue"=dword:1
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Providers\Trust\FinalPolicy\{189A3842-3041-11D1-85E1-00C04FC295EE}] "$Function"="SoftpubCleanup"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography\Providers\Trust\FinalPolicy\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}] "$Function"="SoftpubCleanup" 
     
  12. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    @iamleobn
    What hardware configuration? Probably the problem with USB - WinPE does not see a USB stick and install.wim file
     
  13. rogeradaoo322

    rogeradaoo322 MDL Novice

    Jul 3, 2024
    4
    0
    0
    The USB stick does show up on diskpart. I also tried booting fron an external DVD drive, same problem (but I think the drive letter was present in the install.wim path).

    Specs:

    Code:
    Intel i5-3570K
    16GB DDR3
    B75 motherboard (no-name chinese brand)
    GTX 960
     
  14. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
  15. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    @rogeradaoo322
    Do you have other hard drives connected during installation? Disconnect the disks and leave only the one on which you will install. NVMe or SATA?
     
  16. rogeradaoo322

    rogeradaoo322 MDL Novice

    Jul 3, 2024
    4
    0
    0
    NVME disk, it was the only disk connected to the computer.
     
  17. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    Try with SATA disk.
     
  18. Gelip

    Gelip MDL Senior Member

    Feb 28, 2011
    399
    256
    10
    #20 Gelip, Jul 27, 2024
    Last edited: Jul 27, 2024
    (OP)
    Updated files.7z & sysprep_pub.iso:
    • files.7z\Windows\System32\drivers\acpi.sys - DDB hack for Intel Gen 12 to prevent stuck on WinPE flag (discoloration)
      stuck_win7_flag.png
    • files.7z\make.cmd - added export boot.wim to reduce the file size from 145 MB > 140 MB (this delete folder [DELETED])
    • sysprep_pub.7z\sysprep_pub.iso\WINDOWS\system32\drivers\acpi.sys - better ACPI for WinXP
    Patch for modern Internet Browsers e.g. MyPal, Basilisk, Serpent, Supermium:
    • sysprep_pub.7z\sysprep_pub.iso\WINDOWS\system32\drivers\intelppm.sys
    • sysprep_pub.7z\sysprep_pub.iso\WINDOWS\system32\hal.dll