Here is an example of needed steps to auto create up-to-date Windows 10 Enterprise version 1809 from UUP: Spoiler - edit convert-UUP.cmd and set these options: Code: set AutoStart=1 set AddUpdates=1 set StartVirtual=1 - edit create_virtual_editions.cmd and set these options: Code: set AutoEditions=Enterprise set DeleteSource=1 AutoStart=1 will be nested from convert-UUP.cmd, but you can set it here too - download latest Windows 10 version 1809 Pro edition UUP source with updates you probably need to additionally check latest "Feature update" build to get dynamic update kb4466596 - place UUP files in "UUPs" folder and run convert-UUP.cmd or drag and drop downloaded UUP folder on convert-UUP.cmd or run convert-UUP.cmd from command prompt with path to downloaded UUP folder
I was to slow to be able to copy the UUP Conversion, including the integrating of the updates, i put in the UUP folder, but all worked as expected: Code: ============================================================ Creating Edition: Enterprise ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. 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] ============================================================ Creating Edition: Education ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Education] Successfully set image description: [Windows 10 Education] Successfully set image flags: [Education] ============================================================ Creating Edition: Pro Education ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Pro Education] Successfully set image description: [Windows 10 Pro Education] Successfully set image flags: [ProfessionalEducation] ============================================================ Creating Edition: Pro for Workstations ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Pro for Workstations] Successfully set image description: [Windows 10 Pro for Workstations] Successfully set image flags: [ProfessionalWorkstation] ============================================================ Creating Edition: Enterprise for Virtual Desktops ============================================================ Deployment Image Servicing and Management tool Version: 10.0.17763.1 Mounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.165 Starting to update components... Starting to install product key... Finished installing product key. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.17763.1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. ImageX Tool for Windows Copyright (C) Microsoft Corp. All rights reserved. Version: 10.0.10011.16384 Successfully set image name: [Windows 10 Enterprise for Virtual Desktops] Successfully set image description: [Windows 10 Enterprise for Virtual Desktops] Successfully set image flags: [ServerRdsh] ============================================================ Creating ISO . . . ============================================================ OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility Copyright (C) Microsoft, 1993-2012. All rights reserved. Licensed only for producing Microsoft authorized content. Scanning source tree (500 files in 37 directories) Scanning source tree complete (946 files in 84 directories) Computing directory information complete Image file is 3294298112 bytes (before optimization) Writing 946 files in 84 directories to 17763.165.181111-0219.RS5_RELEASE_CLIENTMULTI_x86FRE_EN-US.ISO 100% complete Storage optimization saved 5 files, 174080 bytes (0% of image) After optimization, image file is 3296233472 bytes Space saved because of embedding, sparseness or optimization = 174080 Done. Press any key to exit.
@Enthousiast yeah, when convert-UUP.cmd is set with AutoStart=1 & StartVirtual=1, it auto close at the end after starting virtual script @mkuba50 yes, that would suffice maybe add a "cancel" button
Probably for the oem:nslp key to get inserted by dism se-edition, this probably has to be changed Code: set "channel=Volume" from: Code: :Enterprise set "name=%1" set "desc=Enterprise" set "source=%IndexPro%" set "channel=Volume" call :WIM exit /b
It's not hard to add your key install command after set-edition in v20 Code: %_dism% /Image:"%mountdir%" /Set-Edition:%name% /Channel:%channel% if /i "%name%" equ "Enterprise" ( %_dism% /Image:"%mountdir%" /Set-ProductKey:XXXXX )
Well, this seems a bit odd because clearly "C:\Windows\System32\dism.exe" should be correct and valid path
I fully agree: dism.exe is in Sysnative folder, but System32\dism.exe path should be automatically adapted by OS?! I have done again process of Win10Pro1809 17763.167, x64 and x86, versions with same results and used NTLite to integrate updates.
I just have tested following set of commands: C:\Windows\System32\Dism.exe /Mount-Wim /WimFile:"F:\Win\sources\install.wim" /index:1 /MountDir:"F:\Mount" C:\Windows\System32\Dism.exe /UnMount-Wim /MountDir:"F:\Mount" /Commit in both of my OS, Win10Pro1809 17763.167 x64 on C and Win10Pro18282.1000 x64 on D partition, and all went well.