Great will test it with LTSB too. Maybe its possible to detect installer version parent to remove different size of "Reserved system partition" EDIT: Added note about LTSB into first post
Code: ; Setting for Capture.cmd ; Path to your VHD file, keep spaces as it's no problem for Capture.cmd VHDFile=C:\Users\Administrator\VirtualBox VMs\XP\XP.vhd ; Don't forget when preparing image in VirtualMachine to set C:\ label that match HDDLabel here, if not Capture.cmd won't work - This setting is here also for VirtualBox HDDLabel=WXPSysprep ; Select free letter for assigning VHDFile - This setting is here also for VirtualBox ASSIGNLETTER=X Sorry, I don't know how to set these parameters for I'm stupid. How can I set them? I did this: VHDFile=C:\Users\user\.VirtualBox\ This is the default path of VirtualBox 5.2.44. There is no XP.vhd in my folder There are no changes below: HDDLabel=WXPSysprep ASSIGNLETTER=X
Yo don't need change VHDFile option, this only for manual capturing. When you use automatically, you don't need to change anything. ASSIGNLETTER option is here for free letter to assign mounted VHD. Is X your empty one?
Yes,the X is my empty LETTER. Thanks for your reply,but I have no idea to do it. My system have 1physical HDD and 4 logical partitions,as follows:C D E F XP2ESD tool folder in F HDD,so X is empty.
So please try to add this at begin inside Auto-Sysprep.cmd andtry to run builder again. This can force English output of commands so we can see whats going wrong. On my side it works without problem, I'm on Windows 10 x64. But all commands must work on Windows 7 too. Code: REM Get universal english output chcp 437 >nul Another idea is, do you have enough free space on F drive?
Code: ├─updates │ │ 5er_MSSignedThemes_Addon_v6.1.1_x86.7z │ │ NetFx1.0.7z │ │ OnePiece_NetFxLangPack_SvcPack_AddOn_CHS.cab │ │ OnePiece_Windows_XP_Post-SP3_UpdatePack_v1.0.9_FINAL_CHS_C507D6C2DC13EF6B60C6E9232C3C07D0.7z │ │ OnePiece_WinXP_Embedded_Post-SP3_True_AddOn_CHS.7z │ │ README.txt │ │ Visualc++.7z │ │ WindowsServer2003.WindowsXP-KB2864202-x86-INTL.exe │ │ │ └─addons │ OnePiece_Adobe_Flash_Player_v32.0.0.344_True_AddOn.cab │ README.txt ├─repository │ Win10_x86.iso │ Win7_x86.iso │ WinXP_Pro_VL.iso │ WinXP_Pro_VL_integrated.iso │ Code: Started on ?? 2021/02/09 at 21:15:01.92 Windows XP Professional Volume [1] Extracting ISO [2] Integrating UpdatePack [3] Adding Auto-Sysprep [4] Building ISO [5] Installing into VirtualBox [6] Mounting VHD [7] Capturing image [8] Exporting image Could Not Find F:\XP2ESD\captured.wim [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. [ERROR] Can't open "F:\XP2ESD\install.wim" read-only: No such file or directory ERROR: Exiting with error code 47: Failed to open a file. Started on ?? 2021/02/09 at 22:12:36.43 "F:\XP2ESD\install.wim" doesn't exist Crucial files missing, add them and try it again Press any key to exit... No change the config.ini
This means capturing failed on your side. Can you confirm DISM is working without problem in your machine? If DISM works good, then it must run out of space dring capturing
DISM is default Windows 7 component. So no need to install WAIK or SDK. Just be sure it works as expected.
@George King A new error Code: Windows XP Modern Intaller [1] Extracting Windows 7 & 10 ISO ERROR: ╩²╛▌┤φ╬≤(╤¡╗╖╚▀╙α╝∞▓Θ)íú [2] Building setup structure Copying DriverPacks Building bootloader [3] Upgrading setup engine [4] Patching setup design [5] Patching autorun.dll [6] Compressing boot.wim [7] Creating skiprecovery.xml + autounattend.xml [8] Updating install.wim [9] Compressing install.esd [10] Building bootable ISO Finished on 周四 2021/02/11 at 16:47:16.27 Process finished, press any key to exit... Garbled code at The 1 instruction. OS:WIN10 LTSB 2016 repository: cn_windows_7_ultimate_with_sp1_x86_dvd_u_677486.iso cn_windows_10_business_editions_version_20h2_x86_dvd_f978664f.iso
Sorry, but these characters are unreadable or translatable using google translate. And there are only two commands for extraction ISOs in section where you encountered error... So you must turn into out of free space. Code: "%~dp0apps\7z\%ARCH%\7z.exe" x "%~dp0repository\%WIN7ISO%" -o"%~dp0repository\extracted\Win7" -y >nul "%~dp0apps\7z\%ARCH%\7z.exe" x "%~dp0repository\%WIN10ISO%" -o"%~dp0repository\extracted\Win10" -y >nul