The dism command is not the same as using the "add features" option. The latter uses WU to download the files, the dism command uses the "iso:\sources\sxs" folder. And both have nothing to do with the use of an install.wim or an install.esd.
Exactly. I've problems via the WU option to download files, while no issues at all using the 1709 (16299.125) iso.
Yes I know.. but first, I missed the point of the question, so I just tried to help him with dism command. Continue from my confuse.. I was just not sure if it would work with install.esd because as I remembered, I used to fail to install with install.esd ISO by using dism command.
I can confirm that dism works, while installing .NET Framework from the "Control Panel" (adding windows functionality) via Windows Update gives that error posted few pages ago.
DISM will set the product key automatically, last time i checked it sets it to an OEM:NONSLP key for enterprise.
I simply updated with ISO from UUP (Pro of course) and was offered Enterprise. Then I used the media creation tool.
After: Code: DISM.exe /image:C:\mount /Set-Edition:Enterprise I get "The specified file descriptor is not valid" error too. So I basically can't make any Enterprise ISO without error message.
Please explain this? Code: EDITION SWITCHER MAIN MENU WIMFILE : H:\Test\install.wim SOURCE SKU : Core TARGET SKU : Enterprise TARGET NAME: Windows 10 Enterprise TARGET DESC: Windows 10 Enterprise [01] 3/29/2018 nl-NL x64 10.0.17133.1 Windows 10 Home | Core [02] 3/29/2018 nl-NL x64 10.0.17133.1 Windows 10 Home N | CoreN Source: Core at index: 1 [A] AUTO TARGET CREATION [I] EXPORT INDICES [O] OPTIMIZE WIM [C] CHECK SPECIFIC WIM [D] DISCARD FAILED MOUNTS [N] SET NEW DATA [E] EXIT YOUR CHOICE ?: A Exporting index 1 to new WIM New WIM: H:\Test\wes.v0.01.24\install.ent.wim Deployment Image Servicing and Management tool Version: 10.0.15063.0 Exporting image [==========================100.0%==========================] The operation completed successfully. Mounting new WIM Deployment Image Servicing and Management tool Version: 10.0.15063.0 Mounting image [==========================100.0%==========================] The operation completed successfully. Getting Target Editions FOUND : CoreSingleLanguage FOUND : Professional FOUND : ProfessionalEducation FOUND : ProfessionalWorkstation FOUND : Education FOUND : ProfessionalCountrySpecific FOUND : ProfessionalSingleLanguage FOUND : ServerRdsh FOUND : Enterprise TARGET FOUND. Setting Edition to Enterprise Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image Version: 10.0.17133.1 Pended operations ignored. When this image is next booted, these operations will be processed. Starting to update components... Starting to install product key... Finished installing product key. Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.17133.1 Removing package Microsoft-Windows-CoreEdition~31bf3856ad364e35~amd64~~10.0.17133.1 [==========================100.0%==========================] Finished updating components. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Unmounting Deployment Image Servicing and Management tool Version: 10.0.15063.0 Image File : H:\Test\wes.v0.01.24\install.ent.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Setting Flags for Enterprise ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Enterprise] Successfully set image description: [Windows 10 Enterprise] Successfully set image flags: [Enterprise] WIM Info Verbose Deployment Image Servicing and Management tool Version: 10.0.15063.0 Details for image : H:\Test\wes.v0.01.24\install.ent.wim Index : 1 Name : Windows 10 Enterprise Description : Windows 10 Enterprise Size : 16,557,973,146 bytes WIM Bootable : No Architecture : x64 Hal : <undefined> Version : 10.0.17133 ServicePack Build : 1 ServicePack Level : 0 Edition : Enterprise Installation : Client ProductType : WinNT ProductSuite : Terminal Server System Root : WINDOWS Directories : 22908 Files : 107546 Created : 3/25/2018 - 9:01:57 PM Modified : 3/30/2018 - 11:33:41 PM Languages : nl-NL (Default) The operation completed successfully. Exporting [P]proceed or [S]kip ?: The pending operations will be, me pre-enabling, dotnetfx35.
The script does: DISM Get-target editions DISM Set-edition Imagex: set sku flag and index name and description It's not a magical script