x64 version not needs ram patching. it means your are using x86 version licensing files to activate x64 version probably.
bira gave me hint. in xml of my construction script i removed professionaln. maybe i should use "stage" instead of remove.
New Systems' updates are PSFX format. Q: Is it possible to Reconstruct New System without PSFX? e.g. Old System: BlaBlaBla.* New System: BlaBlaBla.* + f + r + n ---> BlaBlaBla.*
if you could explain me about FODs and FODMetadata then I can improve How does it work?, What should be manipulated?, in an LTSC build that must be adjusted for FODs or FODMetadata?
New method, more safety, more permanent Spoiler Code: ======================================================================================================== o-------------------------------- THE CONSTRUCTION Of ENTERPRISES -------------------------------------o ======================================================================================================== Prepare Checking all payload files necessary Please wait Source image version: Professional 10.0.22621.1 en-US amd64 Checking language package... Ready. Checking specific package... ready. Checking client package... ready. Process Get EnterpriseS edition files required Please wait Extract Windows EnterpriseS specific edition esd... Done. Extract Windows language package... Done. Building Map install.wim to a folder for servicing Deployment Image Servicing and Management tool Version: 10.0.26100.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Isolation Quarantine windows defender packages - Microsoft-Windows-Client-Desktop-Required-Package03~31bf3856ad364e35~amd64~~10.0.22621.1... Done. - Microsoft-Windows-Dynamic-Image... Done. - Windows-Defender-UI... Done. - Security-Malware-Windows-Defender... Done. - Windows-Defender-Branding... Done. - Windows-Defender-Drivers... Done. - Windows-Defender-Drivers-Backup... Done. - Windows-Defender-Drivers-NisDrvWfpEtw... Done. - Windows-Defender-Events... Done. - Windows-Defender-Global-Config... Done. - Windows-Defender-Offline-Onecore... Done. - Windows-Defender-Service... Done. - Windows-Defender-Service-MpClientEtw... Done. - Windows-Defender-Service-MpRtpEtw... Done. - Windows-Defender-Service-MpSvcEtw... Done. - Windows-Defender-Offline-Amcore... Done. - Windows-Defender-Management-Onecore... Done. - Windows-Defender-Management-V1... Done. - Microsoft-Windows-DeviceManagement-CspDefinition-Defender... Done. - Windows-Defender-Management-MDM... Done. - Windows-Defender-Management-Powershell... Done. - Windows-Defender-Nis-Drivers... Done. - Windows-Defender-Nis-Service... Done. - Windows-Defender-UI... Done. - Windows-Defender-Branding... Done. - Windows-Defender-Events... Done. - Windows-Defender-Service... Done. - Windows-Defender-Service-MpClientEtw... Done. - Windows-Defender-Management-Powershell... Done. Isolation Quarantine microsoft edge inbox apps - Microsoft-Windows-Client-Desktop-Required-Package02~31bf3856ad364e35~amd64~~10.0.22621.1... Done. - Microsoft-Windows-Edge-MicrosoftEdgeBCHost... Done. - Microsoft-Windows-Edge-MicrosoftEdgeDevTools... Done. - Microsoft-Windows-MicrosoftEdgeDevToolsClient.AppxMain... Done. - Microsoft-Windows-MicrosoftEdgeDevToolsClient.AppxSetup... Done. Building Start building EnterpriseS Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1 Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] The operation completed successfully. Integrate Integrate client language package Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1 [==========================100.0%==========================] The operation completed successfully. Integrate Set IoTEnterpriseS edition Done. ------------------------------------------------------------ Current Edition : IoTEnterpriseS ------------------------------------------------------------ Integrate Trying to apply IoTEnterpriseS edition unattend file Done. Lite Option Removing unused appx provisioned - Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt... REMOVED. - Microsoft.549981C3F5F10_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.BingNews_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.BingWeather_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.DesktopAppInstaller_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.GamingApp_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.GetHelp_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.Getstarted_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.HEIFImageExtension_1.0.43012.0_x64__8wekyb3d8bbwe... REMOVED. - Microsoft.HEVCVideoExtension_1.0.50361.0_x64__8wekyb3d8bbwe... REMOVED. - Microsoft.MicrosoftOfficeHub_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.MicrosoftSolitaireCollection_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.MicrosoftStickyNotes_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.Paint_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.People_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.PowerAutomateDesktop_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.RawImageExtension_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe... REMOVED. - Microsoft.StorePurchaseApp_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.Todos_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe... REMOVED. - Microsoft.WebMediaExtensions_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WebpImageExtension_1.0.42351.0_x64__8wekyb3d8bbwe... REMOVED. - Microsoft.Windows.Photos_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsAlarms_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsCalculator_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsCamera_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - microsoft.windowscommunicationsapps_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsFeedbackHub_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsMaps_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsNotepad_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsSoundRecorder_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsStore_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.WindowsTerminal_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.Xbox.TCUI_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.XboxGameOverlay_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.XboxGamingOverlay_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.XboxIdentityProvider_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.XboxSpeechToTextOverlay_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.YourPhone_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.ZuneMusic_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - Microsoft.ZuneVideo_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - MicrosoftCorporationII.MicrosoftFamily_2022.507.447.0_neutral_~_8wekyb3d8bbwe... REMOVED. - MicrosoftCorporationII.QuickAssist_2022.507.446.0_neutral_~_8wekyb3d8bbwe... REMOVED. - MicrosoftWindows.Client.WebExperience_2022.507.446.0_neutral_~_cw5n1h2txyewy... REMOVED. ------------------------------------------------------------ Customize Implement some EnterpriseS FoD and it language packages - Microsoft-Windows-MSPaint-FoD-Package-amd64-en-us.cab... DONE. - Microsoft-Windows-MSPaint-FoD-Package-amd64.cab... DONE. - Microsoft-Windows-MSPaint-FoD-Package-wow64-en-us.cab... DONE. - Microsoft-Windows-Notepad-FoD-Package-wow64.cab... DONE. - Microsoft-Windows-Notepad-FoD-Package-amd64-en-us.cab... DONE. - Microsoft-Windows-Notepad-FoD-Package-wow64-en-us.cab... DONE. - Microsoft-Windows-SnippingTool-FoD-Package-amd64-en-us.cab... DONE. - Microsoft-Windows-MSPaint-FoD-Package-wow64.cab... DONE. - Microsoft-Windows-Notepad-FoD-Package-amd64.cab... DONE. - Microsoft-Windows-SnippingTool-FoD-Package-amd64.cab... DONE. ------------------------------------------------------------ Lite options Removing microsoft edge package Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 The operation completed successfully. Lite Option Removing some capabilities app - Hello.Face.20134~~~~0.0.1.0... REMOVED. - Language.Speech~~~en-US~0.0.1.0... REMOVED. - Language.TextToSpeech~~~en-US~0.0.1.0... REMOVED. - Microsoft.Windows.Wifi.Client.Realtek.Rtl8187se~~~~0.0.1.0... REMOVED. - Microsoft.Windows.Wifi.Client.Realtek.Rtl819xp~~~~0.0.1.0... REMOVED. - Microsoft.Windows.Wifi.Client.Realtek.Rtl85n64~~~~0.0.1.0... REMOVED. ------------------------------------------------------------ Lite option Removing some feature packages - Windows-Defender-ApplicationGuard... REMOVED. - Windows-Defender-Default-Definitions... REMOVED. ------------------------------------------------------------ Lite options Removing Windows Recovery Image DONE. Finish Optimize and Cleanup image Optimizing provisioned appx packages... Optimized. Restores image health after quarantining packages Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image Version: 10.0.22621.1 [===========================84.9%================= ] [===========================87.3%================== ] [===========================89.9%==================== ] [==========================100.0%==========================] The restore operation completed successfully. The operation completed successfully. Starting component cleanup... Done. Finish Resetbase IoTEnterpriseS image Starting reset image base... Done. Finish Cleanup unnecessary files Done. Finish Save and Unmount IoTEnterpriseS image Deployment Image Servicing and Management tool Version: 10.0.26100.1 Image File : I:\Bedi\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] Error: 0xc1420117 The directory could not be completely unmounted. This is usually due to applications that still have files opened within the mount directory. Close these files and unmount again to complete the unmount process. The DISM log file can be found at log71\commit.log Finish Set WIM information Setting the NAME property of image 1 to "IoTEnterpriseS". Setting the DESCRIPTION property of image 1 to "IoTEnterpriseS 10.0.22621.1 x64 en-US". Setting the FLAGS property of image 1 to "IoTEnterpriseS". Setting the DISPLAYNAME property of image 1 to "Windows 11 IoTEnterpriseS x64 en-US 10.0.22621.1". Setting the DISPLAYDESCRIPTION property of image 1 to "Windows 11 IoTEnterpriseS 10.0.22621.1 x64 en-US". Finish Optimize IoTEnterpriseS image Deployment Image Servicing and Management tool Version: 10.0.26100.1 Exporting image [==========================100.0%==========================] The operation completed successfully. Information for Image 1 ----------------------- Index: 1 Name: IoTEnterpriseS Description: IoTEnterpriseS 10.0.22621.1 x64 en-US Display Name: Windows 11 IoTEnterpriseS x64 en-US 10.0.22621.1 Display Description: Windows 11 IoTEnterpriseS 10.0.22621.1 x64 en-US Directory Count: 17587 File Count: 79411 Total Bytes: 12437065565 Hard Link Bytes: 5703599093 Creation Time: Sat May 07 07:17:57 2022 UTC Last Modification Time: Fri Jan 17 02:55:42 2025 UTC Architecture: x86_64 Product Name: Microsoft« Windows« Operating System Edition ID: IoTEnterpriseS Installation Type: Client Product Type: WinNT Product Suite: Terminal Server Languages: en-US Default Language: en-US System Root: WINDOWS Major Version: 10 Minor Version: 0 Build: 22621 Service Pack Build: 1 Service Pack Level: 0 Flags: IoTEnterpriseS WIMBoot compatible: no ======================================================================================================== o-------------------------- IoTEnterpriseS has been successfully constructed --------------------------o ======================================================================================================== Press e[X]it or [C]leanup.
@TesterMachineOS Your script 22000 is already successful, if anything needs to be improved, it's just a polish to beautify. @Javac75 I'd like to test it soon.
Test the new script with no error Spoiler: Logs Code: Select Desired edition (with Store): [1] Windows 11 Enterprise LTSC [2] Windows 11 IoT Enterprise LTSC Please enter the number of the desired edition: 2 Prepare files... Extracting Language Pack Client Detecting and moving FOD packages Found: microsoft-windows-mspaint-fod-package-amd64-en-us.cab Moved microsoft-windows-mspaint-fod-package-amd64-en-us.cab to files\FOD\MSPaint-FOD\ Found: microsoft-windows-mspaint-fod-package-wow64-en-us.cab Moved microsoft-windows-mspaint-fod-package-wow64-en-us.cab to files\FOD\MSPaint-FOD\ Found: microsoft-windows-notepad-fod-package-amd64-en-us.cab Moved microsoft-windows-notepad-fod-package-amd64-en-us.cab to files\FOD\Notepad-FOD\ Found: microsoft-windows-notepad-fod-package-wow64-en-us.cab Moved microsoft-windows-notepad-fod-package-wow64-en-us.cab to files\FOD\Notepad-FOD\ Found: microsoft-windows-snippingtool-fod-package-amd64-en-us.cab Moved microsoft-windows-snippingtool-fod-package-amd64-en-us.cab to files\FOD\SnippingTool-FOD\ FOD Packages Moved Successfully Converting 22000.1 Windows 11 Professional to IoT Enterprise LTSC (with Store) amd64 en-US Mounting image Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Mounting image [==========================100.0%==========================] The operation completed successfully. Removing Notepad-FOD-Package (Professional) Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Removing package Microsoft-Windows-Notepad-System-FoD-Package~31bf3856ad364e35~amd64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Creating EnterpriseS Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22000.1 Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22000.1 Removing package Microsoft-Windows-ProfessionalEdition~31bf3856ad364e35~amd64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Integrating Language Pack en-US Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Starting to install product key... Finished installing product key. The operation completed successfully. Current Edition : IoTEnterpriseS (OEM) Setting up and copying license files Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 The operation completed successfully. Removing Apps Integrating Notepad-FOD-Package (IoTEnterpriseS) Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 2 - Adding package Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~en-US~10.0.22000.1 [==========================100.0%==========================] Processing 2 of 2 - Adding package Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~wow64~en-US~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Integrating FOD Packages (IoTEnterpriseS) Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~wow64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 2 - Adding package Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~en-US~10.0.22000.1 [==========================100.0%==========================] Processing 2 of 2 - Adding package Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~wow64~en-US~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-SnippingTool-FoD-Package~31bf3856ad364e35~amd64~~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 Processing 1 of 1 - Adding package Microsoft-Windows-SnippingTool-FoD-Package~31bf3856ad364e35~amd64~en-US~10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Adding PhotoViewer Updates Not Found Reset Base Image. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 [==========================100.0%==========================] The operation completed successfully. Integrating New Microsoft Store + Dependencies Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image Version: 10.0.22000.1 The operation completed successfully. Unmounting image Deployment Image Servicing and Management tool Version: 10.0.19041.3636 Image File : D:\22000.1_EnterpriseS_with_New_Store_x64\install.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Using LZX compression with 8 threads Archiving file data: 7075 MiB of 7075 MiB (100%) done Deleted file - D:\22000.1_EnterpriseS_with_New_Store_x64\install.wim Setting the NAME property of image 1 to "". Setting the DESCRIPTION property of image 1 to "". Setting the FLAGS property of image 1 to "". Setting the DISPLAYNAME property of image 1 to "". Setting the DISPLAYDESCRIPTION property of image 1 to "". Setting the NAME property of image 1 to "Windows 11 IoT Enterprise LTSC 2021 (with Store)". Setting the DESCRIPTION property of image 1 to "Windows 11 IoT Enterprise LTSC 2021 (with Store)". Setting the FLAGS property of image 1 to "IoTEnterpriseS". Setting the DISPLAYNAME property of image 1 to "Windows 11 IoT Enterprise LTSC 2021 (with Store)". Setting the DISPLAYDESCRIPTION property of image 1 to "Windows 11 IoT Enterprise LTSC 2021 (with Store)". 22000.1 Windows 11 IoT Enterprise LTSC (with Store) amd64 en-US has been successfully created Press any key to continue . . . I don't know why the version is Dev and not 21H2 Spoiler: About When doing update everything went well except in the end it stuck with error with KB5007215 (Which is from 2021) Spoiler: Win Update
Actually, after you create an image from the reconstruction results, you can't rely on Windows updates anymore, because they don't get support from Microsoft officially. You should create custom updates.
Can you elaborate on create custom updates? Is it has to be manually or is there a tool to make it easier?
the "dev" is because it's basically building from a very early version of windows 11 21h2 22000.1 is a dev build now if you use modified lcu updates, this will change. you can use the script called UpdateOS (mentioned in the same script of the windows 11 LTSC 21h2 build)