[TOOL] XP2ESD - Create modern Windows XP installer v1.6.2

Discussion in 'Windows XP / Older OS' started by George King, Jan 8, 2021.

  1. jiafei2427

    jiafei2427 MDL Senior Member

    Nov 26, 2020
    262
    118
    10
    #761 jiafei2427, Sep 13, 2021
    Last edited: Sep 13, 2021
    win98 are still used in the industrial field.
    There are still plenty of office computers that use WinXP because replacing devices in bulk requires cost considerations.
     
  2. ExtremelyFancyUsername

    ExtremelyFancyUsername MDL Senior Member

    Oct 17, 2018
    260
    102
    10
    And then there are autists people who collect/own Windows XP era computers. XP2ESD saves a insane amout of time.
     
  3. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    Anybody know registry key to detect Windows Edition? Meaning Professional / Home / Enteprise.
    Media Center and Tablet PC are easy according to these keys
    Code:
    SYSTEM\WPA\MediaCenter
    SYSTEM\WPA\TabletPC
    
    I can get Windows Version and License type without problem on offline system
    Code:
    for /f "tokens=3* delims= " %%i in ('"reg query "HKLM\TEMPSOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName"') do set "Version=%%i %%j"
    set Version=!Version:Microsoft =!
    for /f "tokens=3 delims= " %%i In ('reg query "HKLM\TEMPSYSTEM\Setup\Pid" /v Pid') do set Pid=%%i
    
    I tried ProductSuite, but I don't think it's usable. Really messy key on Servers
    Code:
    for /f "tokens=3* delims= " %%i In ('"reg query "HKLM\TEMPSYSTEM\ControlSet001\Control\ProductOptions" /v ProductSuite"') do set "Edition=%%i %%j"
    Any ideas?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. example12345678912345678

    Dec 29, 2019
    645
    437
    30
    I just couldn't find the 2K3 SP2 or XP SP3 original ISOs for some editions. And I wanted to use original ISOs instead of edited ones. That's why I'm asking it. Otherwise I could integrate all service packs into all ISOs that are not XP SP3 or 2K3 SP2.
     
  5. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,634
    6,110
    60
    I don't have XP installed right now, but wouldn't it be possible to see this information through sysdm.cpl?
     
  6. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    I need to read it from offline copy, so this must be only somewhere in registry. I compared XP Home and XP Home N registry hives and I still don't catch it
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    #767 George King, Sep 13, 2021
    Last edited: Sep 14, 2021
    (OP)
    I think, this is only way I can do it. I will see in +- 12hours what is returned on all possible Editions
    Code:
    setlocal enableextensions enabledelayedexpansion
    reg load HKLM\TEMPSOFTWARE "%ASSIGNLETTER%:\Windows\System32\config\SOFTWARE" >nul
    reg load HKLM\TEMPSYSTEM "%ASSIGNLETTER%:\Windows\System32\config\SYSTEM" >nul
    REM Windows version - XP / 2003
    for /f "tokens=3* delims= " %%i in ('"reg query "HKLM\TEMPSOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ProductName"') do set "Version=%%i %%j"
    set Version=!Version:Microsoft =!
    REM License type
    for /f "tokens=3 delims= " %%i In ('reg query "HKLM\TEMPSYSTEM\Setup\Pid" /v Pid') do set Pid=%%i
    REM Product Suite
    for /f "tokens=3* delims= " %%i In ('"reg query "HKLM\TEMPSYSTEM\ControlSet001\Control\ProductOptions" /v ProductSuite"') do set "ProductSuite=%%i %%j"
    REM Edition
    for /f "tokens=*" %%i in ('echo "!ProductSuite!" ^| findstr /i "Terminal"') do set "Edition=Standard"
    for /f "tokens=*" %%i in ('echo "!ProductSuite!" ^| findstr /i "Enterprise"') do set "Edition=Enterprise"
    for /f "tokens=*" %%i in ('echo "!ProductSuite!" ^| findstr /i "DataCenter"') do set "Edition=Datacenter"
    for /f "tokens=*" %%i in ('echo "!ProductSuite!" ^| findstr /i "Blade"') do set "Edition=Web"
    for /f "tokens=*" %%i in ('echo "!ProductSuite!" ^| findstr /i "Business"') do set "Edition=Small Business"
    for /f "tokens=*" %%i in ('echo "!ProductSuite!" ^| findstr /i "Personal"') do set "Edition=Home"
    if "!Edition!" == "" set "Edition=Professional"
    if not exist "%ASSIGNLETTER%:\Program Files\Windows Media Player\wmplayer.exe" set "Edition=!Edition! N"
    reg unload HKLM\TEMPSYSTEM >nul
    reg unload HKLM\TEMPSOFTWARE >nul
    set "Pid=!Pid:~-3,3!"
    if "!Pid!" == "270" (
        set VL=1
        set "License=Volume License"
    ) else if "!Pid!" == "OEM" (
        set "License=OEM"
        set OEM=1
    ) else (
        set "License="
    )
    set "Edition=!Edition! !License!"
    echo !Version! !Edition!
    endlocal
    
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. SunLion

    SunLion MDL Expert

    May 11, 2011
    1,634
    6,110
    60
    You are right!
    I'm not an expert, but according to my research, the path is the same:

    HKLM\SYSTEM\CurrentControlSet\Control\ProductOptions
     
  9. bphlpt

    bphlpt MDL Junior Member

    Aug 2, 2010
    60
    36
    0
    @George King, I could be wrong, since I'm going from memory, but wasn't there some issue when trying to update Media Center SP2 up to SP3? Maybe that has been fixed, or does XP2ESD take care of things, or am I just remembering incorrectly?

    [ I just Googled "upgrading XP media center SP2 to SP3" and saw many instances that said it didn't work, with no clear fix listed. It would be truly wonderful if you could solve this. ]

    Cheers and Regards
     
  10. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    #771 George King, Sep 14, 2021
    Last edited: Sep 14, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    #773 George King, Sep 14, 2021
    Last edited: Sep 15, 2021
    (OP)
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    Yes
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. George King

    George King MDL Expert

    Aug 5, 2009
    1,963
    2,506
    60
    Some updates are until 2017, Please see original topic linked in first post of updated packs
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. UsefulAGKHelper

    UsefulAGKHelper MDL Senior Member

    Aug 28, 2021
    402
    263
    10
    #779 UsefulAGKHelper, Sep 17, 2021
    Last edited: Sep 17, 2021
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Gtaspieler5

    Gtaspieler5 MDL Novice

    Jul 1, 2017
    9
    0
    0
    Why VirtualBox instead of Hyper-V? For me VirtualBox takes 2 days and it's very buggy.

    + Please disable Windows XP screensaver for VM by default