1. mount your iso 2. copy the install.wim from the sources directory to a folder on a hard disk 3. open an elevated command prompt 4. Dism /Delete-Image /ImageFile:"[your folder on hard disk]\install.wim" /Index:1 This will delete the pro image 5. update your sources directory with the update install.wim Other possibility : Create a ei.cfg file in the sources directory : Code: [EditionID] Home [Channel] Retail [VL] 0
Did you boot from the iso you've created or are you running setup from a running windows? When you run the setup from a running system it will actually upgrade and not ask for a key, it selects the correct version to upgrade to. When you want to do a full clean install, you have to boot from the dvd/usb installmedia created from the iso, when it asks for a key you can insert yours and it will select the appropriate version to install, based on the inserted key.
Thanks for the addition Code: ============================================================ UUP Contents Info ============================================================ Version: 10.0.15042.0 Branch: RS2_RELEASE Editions: 1. Windows 10 Single Language Insider Preview (x86 / en-US) 2. Windows 10 Insider Preview (x86 / en-US) 3. Windows 10 Pro Insider Preview (x86 / en-US) 4. Windows 10 Pro N Insider Preview (x86 / en-US) 5. Windows 10 Education Retail Insider Preview (x86 / en-US) 6. Windows 10 Enterprise VL Insider Preview (x86 / en-US) 7. Windows 10 Enterprise N VL Insider Preview (x86 / en-US) 8. Windows 10 Cloud N Insider Preview (x86 / en-US) Press any key to continue . . . Code: ============================================================ Preparing Reference ESDs . . . ============================================================ CAB->ESD: Microsoft-Windows-ContactSupport-Package CAB->ESD: Microsoft-Windows-InternetExplorer-Optional-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-Basic-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-OCR-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-Speech-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package CAB->ESD: Microsoft-Windows-QuickAssist-Package CAB->ESD: Microsoft-Windows-RetailDemo-OfflineContent-Content-en-us-Package CAB->ESD: Microsoft-Windows-RetailDemo-OfflineContent-Content-Package CAB->ESD: x86fre_Client_en-us_lp ============================================================ Creating Setup Media Layout . . . ============================================================ ============================================================ Creating boot.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 710 MiB of 710 MiB (100%) done ============================================================ Creating install.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 4768 MiB of 4768 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 158 MiB of 158 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 176 MiB of 176 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 170 MiB of 170 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 170 MiB of 170 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 169 MiB of 169 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 156 MiB of 156 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 160 MiB of 160 MiB (100%) done ============================================================ Adding winre.wim to install.wim . . . ============================================================ ============================================================ 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 (1500 files in 55 directories) Scanning source tree complete (1622 files in 97 directories) Computing directory information complete Image file is 3413868544 bytes (before optimization) Writing 1622 files in 97 directories to 15042.0.170219-2329.RS2_RELEASE_CLIENTCOMBINED_UUP_X86FRE_EN-US.ISO 100% complete Storage optimization saved 20 files, 464896 bytes (0% of image) After optimization, image file is 3416952832 bytes Space saved because of embedding, sparseness or optimization = 464896 Done. Press any key to exit.
SupportsUUP control the other entry, when it's disabled, the other is removed after restarting WU service and when it's enabled, EnableUUPScan is created/enabled automatically
Analysis @abbodi1406 Hi, I have been using your code and it works very good but I notice that the ISO name and DVD LABEL are missing the "architecture" so, I analyzed it a bit and found as follow: If you use the bellow piece of code you will see it better: Spoiler Code: @echo off :again set arch= set archl= set /p arch=Please type in your architecture or (Enter) to exit: if /i %arch%==x86 set archl=X86 if /i %arch%==x86_64 set arch=x64 & set archl=X64 echo Architecture arch=%arch% -- archl=%archl% echo. echo. goto again So, I hope you will find this relevant. P.S. For some reason the "Preview Post" at least for me isn't working.
Code: ============================================================ Preparing Reference ESDs . . . ============================================================ CAB->ESD: amd64fre_Client_en-us_lp CAB->ESD: Microsoft-Windows-ContactSupport-Package CAB->ESD: Microsoft-Windows-InternetExplorer-Optional-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-Basic-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-OCR-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-Speech-en-us-Package CAB->ESD: Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package CAB->ESD: Microsoft-Windows-MediaPlayer-Package CAB->ESD: Microsoft-Windows-QuickAssist-Package ============================================================ Creating Setup Media Layout . . . ============================================================ ============================================================ Creating boot.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 863 MiB of 863 MiB (100%) done ============================================================ Creating install.wim . . . ============================================================ Using LZX compression with 8 threads Archiving file data: 7106 MiB of 7106 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 214 MiB of 214 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 255 MiB of 255 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 219 MiB of 219 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 238 MiB of 238 MiB (100%) done Using LZX compression with 8 threads Archiving file data: 241 MiB of 241 MiB (100%) done ============================================================ Adding winre.wim to install.wim . . . ============================================================ ============================================================ 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 (1500 files in 54 directories) Scanning source tree complete (1711 files in 99 directories) Computing directory information complete Image file is 4451926016 bytes (before optimization) Writing 1711 files in 99 directories to 15061.0.170315-1424.RS2_RELEASE_CLIENTCOMBINED_UUP_X64FRE_EN-US.ISO 100% complete Storage optimization saved 18 files, 133120 bytes (0% of image) After optimization, image file is 4455510016 bytes Space saved because of embedding, sparseness or optimization = 133120 Done. Press any key to exit.
If i understand correctly, the current UUP are complete ESD's devided into chunks that can be assembled into full ESD using aboddi's script. In the future when they will be distributing UUP consisting of only delta, this will no longer be possible unless you are running the same OS Build as the provider of the UUP files, and a new script must be created to merge the system files and the delta into a working ESD. am i correct?