Soldato
- Joined
- 28 Sep 2014
- Posts
- 3,779
- Location
- Scotland
I read someone post that somebody noticed Microsoft uploaded Products_RS4_04_20_2018.xml on server and I followed their guide to create products.cab and tested it worked fine. The latest created products.cab downloaded iso is build 10.0.17134.1.
1. Create a new folder
2. Open Notepad, copy and paste the code below then save file as RS4.bat in new folder
4. Run RS4.bat will download "MediaCreationTool.exe" and create latest “products.cab” in the same directory
4. From command prompt, run: MediacreationTool.exe /selfhost or PowerShell, run: .\MediacreationTool.exe /selfhost
5. The Media Creation Tool redirected to the new April Update links on the Windows Update servers.
1. Create a new folder
2. Open Notepad, copy and paste the code below then save file as RS4.bat in new folder
Code:
@echo off &title MediaCreationTool_RS4.bat - create iso or usb installer for the 1803 re-released rtm build [RS4_04_20_2018]
::v2 changes: can be run under W7 host OS with just powershell v2
pushd "%~dp0"
del /f /q products.* >nul 2>nul
powershell -c "(new-object System.Net.WebClient).DownloadFile('https://download.microsoft.com/download/F/1/2/F12AE2F0-B1CC-4A83-9529-C3D43F171C62/Products_RS4_04_20_2018.xml','products.xml');"
del /f /q MediaCreationTool.exe >nul 2>nul
powershell -c "(new-object System.Net.WebClient).DownloadFile('https://go.microsoft.com/fwlink/?LinkId=691209','MediaCreationTool.exe');"
set "s1=$f=[System.IO.File]::ReadAllText('products.xml')"
set "s2=.Replace('<PublishedMedia id=','<MCT><Catalogs><Catalog version=\"1.1\"><PublishedMedia id=')"
set "s3=.Replace('</PublishedMedia>','</PublishedMedia></Catalog></Catalogs></MCT>');"
set "s4=[System.IO.File]::WriteAllText('products.xml', $f);"
powershell -c "%s1%%s2%%s3%%s4%"
start "" /wait makecab products.xml products.cab
4. Run RS4.bat will download "MediaCreationTool.exe" and create latest “products.cab” in the same directory
4. From command prompt, run: MediacreationTool.exe /selfhost or PowerShell, run: .\MediacreationTool.exe /selfhost
5. The Media Creation Tool redirected to the new April Update links on the Windows Update servers.




image hosting