OpenXP AMD64

Files:

OpenXP Patches Mega Folder (Re-upload of files from dead links)

Rentry Guide

Build Notes

  • If you build for CHK, make sure to build com\ole32 first for FRE, otherwise you will receive the error for map_kv.cxx being corrupt.
  • We lack several things, the main one currently is MSVCP60 code, currently the build pulls the precompiled files from the missing files pulled from ISOs.
  • Some files left over from x86 builds will cause issues, these will be detailed below.
  • We have to take asms01.cab from the spb_1069 ISO as our source built one causes unusable assemblies that cause BSOD and hivesxs.inf corruption
  • Almost All files used for the Missing files are taken from spb_1069 ISOs
  • Code Edits are at the bottom
  • Load the AMD64 ISO in Hyper-V, we encountered issues with VMWare and VirtualBox.
  • Intel machines may fail to load NTKRNLMP.exe (Error 4) if booting an AMD64 CHK build.
  • Memory Management is buggy at best.. Having 512MB of RAM set on an AMD A8 and Intel i7 machine with Hyper-V installed the ISO fine. Some have issues with anything up to and over 1024MB
  • No Software gets set up... This could be down to the WoW32/64 Layer doesn't work properly, It is present for IA64 but we think very Early stages for AMD64.. It could also be down to an Incomplete Postbuild script for AMD64 or the current codebase wasn't set up with software by default
  • State of App compat is unknown.
  • MSVCP60.dll that has the missing functions and exports can be found in win2003_amd64_v1c.7z\Optional\MSVCP60.dll...
    This is there because it is classed as stable, and until the source for it is finished it shall remain optional

Build Process

Follow this to achieve a somewhat bootable AMD64 Pro image

This will use D as the build drive as the example.

  • Fresh Extract source:
    • Extract to D:\srv03rtm
    • Open CMD as administrator and run cd /d D:\srv03rtm && attrib *.* -s -r -h /s and keep this window open.
    • Make sure you have enough free space!
  • Apply Patches:
    • win2003_prepatched_v10a.zip - Extract to D:\srv03rtm and copy the contents of _x64 to D:\srv03rtm also. Overwrite all files it asks about
    • Winlogon200x_v3c - Extract the contents to D:\srv03rtm\ds\security\gina\ overwriting all files
    • win2003_pidgenXP_cracked.zip - Extract to D:\srv03rtm.
    • win2003_amd64_v1c.7z - Extract the contents of win2003_amd64_v1a.7z\srv03rtm to D:\srv03rtm. Overwriting all files.
    • OPTIONAL:
    • processorXP_win2003_update.7z - Extract processorXP_win2003_update.7z\processorXP_win2003_update\base\ to D:\srv03rtm\base (Some report this to have compiler errors for AMD64)
    • win2003_themeadds_v1.7z - Extract to D:\srv03rtm
  • Now time to load Razzle, In the CMD window:

    • FOR X86 HOST MACHINES - Make sure you are still in D:\srv03rtm and type: tools\razzle free offline
    • FOR X64 HOST MACHINES - Make sure you are still in D:\srv03rtm and type: tools\razzle64 free offline
    • Razzle will load..
  • We have to build x86 beforehand as some files are needed in AMD64, we also have to set up some of the patches with the prebuild script:
    • In the CMD Window, make sure you are in D:\srv03rtm and type prebuild && build -bcZP
    • This will take time, if all goes well you should finish with no Errors.. Build time varies on HW used to build on.
  • When the build is finished: Copy over the contents of win2003_x86-missing-binaries_v2.7z\binaries.x86fre folder to D:\binaries.x86fre, DO NOT replace files this will remove some source built files..
  • Now time to run Postbuild: In the CMD Window, type postbuild
  • When postbuild has finished we need to close Razzle/CMD, and Open a new CMD window as Administrator.
  • Now time to load AMD64 razzle:
    • In the CMD window: type cd /d D:\srv03rtm
    • Then type:
    • FOR X86 HOST MACHINES - Type: tools\razzle free offline Win64 AMD64
    • FOR X64 HOST MACHINES - Type: tools\razzle64 free offline Win64 AMD64
  • We have to remove conflicting files from the prior x86 build:
    • Run prebuild again: Type prebuild
    • Remove 'fhcache_p.c': Type del inetsrv\iis\svcs\cmp\webdav\davcprox\fhcache_p.c
  • Now time to build: In the CMD window, make sure you are in D:\srv03rtm type build -bcZP
  • After build finishes, Copy amd64 missing files:
    • Copy the files from win2003_amd64_v1c.7z\binaries.amd64fre\ to D:\binaries.amd64fre. DO NOT overwrite any files.
  • Now time to postbuild, in the CMD window, type postbuild
  • Here we need to replace the assemblies with ones that will allow us to boot
    • Copy the files from win2003_amd64_v1c.7z\MUST COPY BEFORE OSCDIMG\binaries.amd64fre to D:\binaries.amd64fre THESE NEED TO REPLACE EXISTING FILES
  • Now time to build your ISO:
    • In the CMD window, type oscdimg pro

Now you should have an image similar to this: 3790.amd64fre.srckit.210319-0928_pro.iso

Current Issues faced

  • We are at a stage with Server SKUs where we fail during GUI setup phase, 3 files can be traced to causing the errors: RsOptCom.dll, iis.dll and ncobjapi.dll. These fail at calling OcManager(), OcManagerContext() and OcManagerContext(Wizard).. There are likely other files/functions that are needing looked at.
  • MSVCP60 source is missing, while work was made with reconstructing source from Visual Studio the ETA of this is Unknown
  • CHK Builds are very buggy for debugging
  • Several folders in the codebase we can build yet we use files from ISOs (syssetup.dll for one example.) Ideally we need to go through and see what is actually present or needing tweaks.
Edit Report
Pub: 24 Jun 2021 03:05 UTC
Edit: 24 Jun 2021 03:06 UTC
Views: 272