i like to save things for some cases, hope it help ... Code: DISM /Online /Get-Capabilities DISM /Online /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0 Dism /Online /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0 DISM /Image:"MOUNT_FOLDER" /Get-Capabilities DISM /Image:"MOUNT_FOLDER" /Get-CapabilityInfo /CapabilityName:Language.Basic~~~en-US~0.0.1.0 Dism /Image:"MOUNT_FOLDER" /Remove-Capability /CapabilityName:Language.Basic~~~en-US~0.0.1.0
OK Thank you for your help. So the command "DISM /Image:"MOUNT_FOLDER" /Get-Capabilities" will list all the capabilities of the image?
I'm sure about 99%, it will work I think i have the equivalent PowerShell command if you need too i write it down, in very nice document, to save me from reading over & over
the Equ. PowerShell commands Are: Code: Get-WindowsCapability Add-WindowsCapability Remove-WindowsCapability From MS help
@Dark Dinosaur Thank you very much for your help. I just tested it and it works great!! Saved my day! I'm also making a roundup of important scripts and putting them in an easily accessible place, like you. Hugs
Mr. @xinso, you mentioned many times about PSFex17, is it a tool? maybe like Mr. @abbodi1406's PSFX Repack or a term that I just don't understand? Please explain.
Test manual Construction of 23403.1001 Windows 11 Enterprise arm64 en-US (with Wincore image 471 MB) Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.23403.1001 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /English /image:K: /add-package:Z:\2 Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.23403.1001 Processing 1 of 6 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~arm64~en-US~10.0.23403.1001 [==========================100.0%==========================] Processing 2 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001 [==========================100.0%==========================] Processing 3 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001 [==========================100.0%==========================] Processing 4 of 6 - Adding package Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001 [==========================100.0%==========================] Processing 5 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001 [==========================100.0%==========================] Processing 6 of 6 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~arm64~~10.0.23403.1001 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /english /image:K: /set-skuintldefaults:en-us Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.23403.1001 Set SKU default settings for: en-us The operation completed successfully. C:\windows\system32>dism /English /image:K: /get-currentedition Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.23403.1001 Current edition is: Current Edition : Enterprise The operation completed successfully. C:\windows\system32>
Q: You said that 23403.1001 is based on 22623.XXXX. Why 22621.1 and 23403.1001 Wincore sizes are different? A: I made 22621.1 firstly when I did not get the hang of it. So it's not as clean as 23403.1001. And, even though they are in same structure, it's impossible to be exactly same size, because 23403.1001 is 22623.XXXX. 22621.1 22622.X (by SV2Moment1 Enablement) 22623.X (by SV2Moment2 Enablement) ---> 22624.X (by SV2Moment3 Enablement) & 23403.1001 (embedded with SV2Moment2 package) Alike 19041.1 19042.X 19043.X ---> 19044.X (by 21H2 Enablement) & 19100.1001 (embedded with 20H2 package)
Reconstruction, very convenient. But not flexible. Construction, very flexible. But not easy to make arm64 base image. Wrecore and Wincore, working alternatives. But, if Unstage has issues, Wrecore has the same issues. Unstage, about 15 MB. (DOS) Wrecore, about 60 MB. (Windows) Wincore, about 450 MB. (Windows) Script? Same size: Less base; More source. Slower. More possibility of Customization. More base; Less source. Faster. Less possibility of Customization. Anyway, Unstage is the best: From 0 to 1.
Q: When Unstage has problem, Wrecore, can construct without errors, but is having the same problem. Why? 22621.1 & 23403.1001 so far. NTUser registry cannot close. Not only once, but for all NTUser realated instances.
Test manual Construction of 22621.1 Windows 11 Enterprise amd64 en-US (with Winvos image 71 MB) Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 [==========================100.0%==========================] Error: 14099 An advanced installer failed during setup or servicing. The DISM log file can be found at z:\1.log C:\windows\system32>
Test manual Reconstruction of 22621.1 Windows 11 Enterprise amd64 en-US (with WinVOS-Install image 180 MB) Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1 Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] Error: 14099 An advanced installer failed during setup or servicing. The DISM log file can be found at z:\1.log C:\windows\system32>
Test manual Reconstruction of 22621.1 Windows 11 Enterprise amd64 en-US (with WinVOS-Boot image 180 MB) Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1 Removing package Microsoft-Windows-WinVOSEdition~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] Error: 14099 An advanced installer failed during setup or servicing. The DISM log file can be found at z:\1.log C:\windows\system32> If such an issue is not solved, the outcome will be: Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\3.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 [==========================100.0%==========================] Error: 0x800f0830 The specified image is no longer serviceable and may be corrupted. Discard the modified image and start again. The DISM log file can be found at z:\1.log C:\windows\system32>
Test manual Construction of 22624.1391 Windows 11 Enterprise amd64 en-US (with Unstage image 11 MB) Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /English /image:K: /add-package:Z:\2 Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 Processing 1 of 6 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.22621.1 [==========================100.0%==========================] Processing 2 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] Processing 3 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] Processing 4 of 6 - Adding package Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] Processing 5 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] Processing 6 of 6 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /english /image:K: /set-skuintldefaults:en-us Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 Set SKU default settings for: en-us The operation completed successfully. C:\windows\system32>dism /English /image:K: /get-currentedition Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 Current edition is: Current Edition : Enterprise The operation completed successfully. C:\windows\system32>dism /English /image:K: /add-package:Z:\3 Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22621.1 Processing 1 of 5 - Adding package Package_for_ServicingStack_1344~31bf3856ad364e35~amd64~~22621.1344.1.2 [==========================100.0%==========================] Processing 2 of 5 - Adding package Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9139.2 [==========================100.0%==========================] Processing 3 of 5 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.1391.1.1 [==========================100.0%==========================] Processing 4 of 5 - Adding package Package_for_KB5023527~31bf3856ad364e35~amd64~~22621.1340.1.0 [==========================100.0%==========================] Processing 5 of 5 - Adding package Package_for_KB5023595~31bf3856ad364e35~amd64~~22621.1390.1.0 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /English /image:K: /get-currentedition Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.22624.1391 Current edition is: Current Edition : Enterprise The operation completed successfully. C:\windows\system32>
[About amd64 Unstage base image of 22621.1 and 23403.1001] 22621.1: If all 22621.1 components, Access is denied. 23403.1001: If all 23403.1001 components, Access is denied. ---> 22621.1 needs 23403.1000 CbsProvider, OSProvider, and Servicing Stack. 23403.1000 needs 22621.1 CbsProvider, OSProvider, and Servicing Stack. PS: The platform is 19044 amd64.
Q: What are installed when you run wsreset -i on constructed 23403.1001 barebone system? A: Code: Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x86__8wekyb3d8bbwe Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x86__8wekyb3d8bbwe Microsoft.StorePurchaseApp_12301.1401.7.0_neutral_split.scale-100_8wekyb3d8bbwe Microsoft.StorePurchaseApp_12301.1401.7.0_neutral_~_8wekyb3d8bbwe Microsoft.StorePurchaseApp_12301.1401.7.0_x64__8wekyb3d8bbwe Microsoft.UI.Xaml.2.7_7.2208.15002.0_x64__8wekyb3d8bbwe Microsoft.UI.Xaml.2.7_7.2208.15002.0_x86__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe Microsoft.VCLibs.140.00_14.0.30704.0_x86__8wekyb3d8bbwe Microsoft.WindowsStore_22301.1401.6.0_neutral_~_8wekyb3d8bbwe Microsoft.WindowsStore_22301.1401.6.0_x64__8wekyb3d8bbwe
Test manual Construction of 25314.1000 Enterprise arm64 en-US (with Unstage image 23 MB) Code: C:\windows\system32>dism /english /logpath:z:\1.log /image:K: /apply-unattend:Z:\WinSxS\1.xml Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.25314.1000 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /English /image:K: /add-package:Z:\2 Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.25314.1000 Processing 1 of 6 - Adding package Microsoft-Windows-Client-LanguagePack-Package~31bf3856ad364e35~arm64~en-US~10.0.25314.1000 [==========================100.0%==========================] Processing 2 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Basic-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000 [==========================100.0%==========================] Processing 3 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000 [==========================100.0%==========================] Processing 4 of 6 - Adding package Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000 [==========================100.0%==========================] Processing 5 of 6 - Adding package Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000 [==========================100.0%==========================] Processing 6 of 6 - Adding package Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~arm64~~10.0.25314.1000 [==========================100.0%==========================] The operation completed successfully. C:\windows\system32>dism /english /image:K: /set-skuintldefaults:en-us Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.25314.1000 Set SKU default settings for: en-us The operation completed successfully. C:\windows\system32>dism /English /image:K: /get-currentedition Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.25314.1000 Current edition is: Current Edition : Enterprise The operation completed successfully. C:\windows\system32> [Credits] gailium119 Generalization tweak zhanglin Construction tweak