Drivers and tools to run Windows XP on newer hardware

Discussion in 'Windows XP / Older OS' started by daniel_k, Apr 25, 2020.

Thread Status:
Not open for further replies.
  1. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    storport.sys, storpor8.sys and ntoskrn8.sys should be in [SourceDisksFiles] section and I strongly recommend that you use the following as a sample:
    Code:
    storport.sys = 1,,,,,,3_,4,0,0,,1,4
    storpor8.sys = 1,,,,,,3_,4,0,0,,1,4
    ntoskrn8.sys = 1,,,,,,3_,4,0,0,,1,4
    
    Server 2003 uses exaclty the same flags and I'd consider them as the proper ones.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. LuxLOL

    LuxLOL MDL Novice

    Aug 1, 2020
    4
    0
    0
    @daniel_k
    I think you forgot to include the ntoskrn8.sys file or do i need to download it from somewhere else? :confused:
     
  3. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    Still didn't post any driver requiring it.
    When needed, it'll be included. ;)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. LuxLOL

    LuxLOL MDL Novice

    Aug 1, 2020
    4
    0
    0
    #64 LuxLOL, Aug 1, 2020
    Last edited: Aug 2, 2020
    @daniel_k
    When i change the entries from "1,,,,,,3_,4,1,,,1,4" to "1,,,,,,3_,4,0,0,,1,4" i still get the same error at the Text mode setup "The file storahci.sys could not be found". o_O
    The previous SATA driver by "MOV AX, 0xDEAD" works without a problem. :confused:
    www(dot)mediafire(dot)com/file/ksi1gbd9p1bt3wl/SATA_driver.zip
     
  5. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    @LuxLOL

    Are you integrating the driver manually or with some tool?
    Either way, you're not doing it right.

    The following entries add C:\Windows\Driver Cache\1 as a driver source folder and storahci.inf and storahci.sys will be copied there.

    HIVESYS.INF
    Code:
    [AddReg]
    HKLM,"SYSTEM\CurrentControlSet\Services\storahci","ErrorControl",0x00010003,1
    HKLM,"SYSTEM\CurrentControlSet\Services\storahci","Group",0x00000002,"SCSI miniport"
    HKLM,"SYSTEM\CurrentControlSet\Services\storahci","Start",0x00010003,4
    HKLM,"SYSTEM\CurrentControlSet\Services\storahci","Type",0x00010003,1
    HKLM,"SYSTEM\CurrentControlSet\Services\storahci\Parameters\PnpInterface","5",0x00010003,1
    
    HIVESFT.INF - search for DevicePath and replace with the following line
    Code:
    [AddReg]
    HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion","DevicePath",0x00020002,"%SystemRoot%\inf;%SystemRoot%\Driver Cache\1"
    TXTSETUP.SIF
    Code:
    [WinntDirectories]
    201 = "Driver Cache\1"
    
    [SourceDisksFiles]
    storpor8.sys = 1,,,,,,3_,4,0,0,,1,4
    storport.sys = 1,,,,,,3_,4,0,0,,1,4
    storahci.inf = 1,,,,,,,201,0,0
    storahci.sys = 1,,,,,,,201,0,0
    storahci.sys = 1,,,,,,4_,4,1,,,1,4
    
    [HardwareIdsDatabase]
    PCI\CC_010601 = "storahci"
    
    [SCSI.Load]
    storahci = storahci.sys,4
    
    [SCSI]
    storahci = "Standard SATA AHCI Controller"
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    @genieautravail

    Copy storport.sys, storpor8.sys and storahci.sys to \Windows\System32\Drivers folder.
    Save the text below in a .reg file and import it, then change SATA mode in BIOS to AHCI.

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CriticalDeviceDatabase\pci#cc_010601]
    "Service"="storahci"
    "ClassGUID"="{4D36E97B-E325-11CE-BFC1-08002BE10318}"
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci]
    "ErrorControl"=dword:00000003
    "Group"="SCSI miniport"
    "Start"=dword:00000000
    "Type"=dword:00000001
    "DisplayName"="Microsoft Standard SATA AHCI Driver"
    "ImagePath"=hex(2):73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,44,00,\
      52,00,49,00,56,00,45,00,52,00,53,00,5c,00,73,00,74,00,6f,00,72,00,61,00,68,\
      00,63,00,69,00,2e,00,73,00,79,00,73,00,00,00
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters]
    "BusType"=dword:0000000b
    "IoTimeoutValue"=dword:0000001e
    "IoLatencyCap"=dword:000001f4
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\Device]
    "EnableQueryAccessAlignment"="0x00000001"
    
    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\storahci\Parameters\PnpInterface]
    "5"=dword:00000001
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. genieautravail

    genieautravail MDL Junior Member

    Sep 17, 2014
    69
    4
    0
    Nice!
    Will try it as soon as possible and report here the result. :cool:
     
  8. Mr.Scienceman2000

    Mr.Scienceman2000 MDL Novice

    Apr 8, 2018
    11
    9
    0
    This is amazing if it works. I need setup test system to try this.
     
  9. genieautravail

    genieautravail MDL Junior Member

    Sep 17, 2014
    69
    4
    0
    Unfortunately same result: BSOD 0x0000007D o_O
     
  10. daniel_k

    daniel_k MDL Member

    Jan 21, 2019
    176
    370
    10
    This may have unexpected results (boot failure) because of the way the drives may be enumerated.

    Have a spare disk?
    What about doing a clean install in AHCI mode?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. genieautravail

    genieautravail MDL Junior Member

    Sep 17, 2014
    69
    4
    0
    #72 genieautravail, Aug 5, 2020
    Last edited: Aug 5, 2020
    The next month (september) I will do a new image disk with all drivers injected and I will report the result. :cool:

    With Sysprep, at setup, XP will sort the drivers and use the one with the best compatibilty with the motherboard.

    Before that, I will try the Integral edition of Winfows XP to see what happen.
     
  12. PPeti66x

    PPeti66x MDL Novice

    Jun 18, 2020
    1
    0
    0
    Hi!
    Because some people have problems installing the Intel HCSwitch device driver and because posting a modded driver is prohibited on win-raid.com, I will put here my package with a detailed instructions included: h??ps://drive.google.com/file/d/1_owxn45f7Y0FKcv8_0IMGf0MgrVFj7Hz/view
    The archive contains both the old (Gen3-) and the new (Gen4+) device driver modded to be installable on Windows XP. Instructions are in the Readme1st.txt - read this file carefully prior experimenting. Many thanks to Daniel_K for the modded INF and the other instructions about how to install this thing successfully.
     
  13. dateno1

    dateno1 MDL Novice

    Sep 5, 2013
    12
    3
    0
    I known about graphics and don't expert about that

    Board : GA-H110-D3A
    Lan : RTL8168 (PCI\VEN_10EC&DEV_8168) (I don't know why it not work with XP) (i tried with few drivers but anything work with this board)
     
  14. pm67310

    pm67310 MDL Guru

    Sep 6, 2011
    2,397
    1,616
    90
    I want to integrate the ahci sata driver from windows 8.0 as well as the nvme driver with nlite if possible, could you help me ^^, is it possible to integrate the generic usb 3.0 driver?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. gordo999

    gordo999 MDL Member

    Feb 11, 2019
    120
    33
    10
    Hi...I notice your request is over a week old. I am no expert on the most recent drivers from W8 but I do know the best way to approach this is to read the instructions provided in various places and see what errors you encounter. Then post a request to address a specific error.

    I know daniel_k is very busy although he does his best to offer assistance. Same with the other guys.

    With the original mods in XP, to make it run on a newer chipset like my Intel B360 with Intel i5-8400 processor, it was simply a matter of dropping ahci.sys (version 'from outer space') into %windor%\system32\drivers. With the W8 drivers there are other files you need to incorporate but they are all supplied with instructions if you look through this thread.

    I used nlite in my original installation but it's very important that you use the XP version of nlite and run it in an XP environment, even a VM. It's a matter of understanding how nlite works since there are several parameters that need to be adjusted. If you miss one of the critical adjustments, nlite will make an integrated disk that cannot do a repair install but instead will create a parallel installation of XP beside the existing one.

    I suggest you try it on your own using the instructions in this thread and if you run into trouble, then ask pertinent questions.
     
  16. Tomcat76

    Tomcat76 MDL Novice

    Jan 7, 2019
    1
    1
    0
    #78 Tomcat76, Aug 23, 2020
    Last edited: Aug 23, 2020
    Regarding WinXPPAE...
    I want to try a slightly different method that doesn't actually replace the original files in system32. After patching a copy of the relevant files with WinXPPAE, copying the patched files into system32 with different file names than the original, and editing boot.ini with an additional line using the /kernel and /hal switches, do I still need to add the /PAE switch or is that taken care of?

    EDIT:
    I just went ahead and tried it without the /PAE switch. It works. However, the performance hit is gigantic (as if no video card drivers are installed) so I went back to the default kernel and hal.
     
  17. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,349
    7,068
    210
    CrystalDiskInfo latest version still works, just the Installer doesn't. Get the ZIP package.