OpenXP AMD64
Links
Files:
OpenXP Patches Mega Folder (Re-upload of files from dead links)
Build Notes
- If you build for CHK, make sure to build
com\ole32
first for FRE, otherwise you will receive the error formap_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 andhivesxs.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!
- Extract to
- Apply Patches:
- win2003_prepatched_v10a.zip - Extract to
D:\srv03rtm
and copy the contents of_x64
toD:\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
toD:\srv03rtm
. Overwriting all files. - OPTIONAL:
- processorXP_win2003_update.7z - Extract
processorXP_win2003_update.7z\processorXP_win2003_update\base\
toD:\srv03rtm\base
(Some report this to have compiler errors for AMD64) - win2003_themeadds_v1.7z - Extract to
D:\srv03rtm
- win2003_prepatched_v10a.zip - Extract to
-
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..
- FOR X86 HOST MACHINES - Make sure you are still in
- 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 typeprebuild && 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.
- In the CMD Window, make sure you are in
- When the build is finished: Copy over the contents of
win2003_x86-missing-binaries_v2.7z\binaries.x86fre
folder toD:\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
- In the CMD window: type
- 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
- Run prebuild again: Type
- Now time to build: In the CMD window, make sure you are in
D:\srv03rtm
typebuild -bcZP
- After build finishes, Copy amd64 missing files:
- Copy the files from
win2003_amd64_v1c.7z\binaries.amd64fre\
toD:\binaries.amd64fre
. DO NOT overwrite any files.
- Copy the files from
- 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
toD:\binaries.amd64fre
THESE NEED TO REPLACE EXISTING FILES
- Copy the files from
- Now time to build your ISO:
- In the CMD window, type
oscdimg pro
- In the CMD window, type
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
andncobjapi.dll
. These fail at callingOcManager()
,OcManagerContext()
andOcManagerContext(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.