I just tried this again and winre does not get deleted when using an offline wim file for receiving updates. The script checks %dvd%==1 and skips deleting Winre if not equal.
Isn't that the option to create the updated iso (needs oscdimg.exe or cdimage.exe next to the script). It has never left the winre.wim after running and exiting the script properly (used it on 10-11 index wims). Just a few minutes ago i ran the script with these settings: Code: @echo off cd /d "%~dp0" rem when changing below options, be sure to set the new values between = and " marks rem for updating live os, leave this option as %SystemDrive% set "target=d:\Test5\Extracted_ISO\" rem updates location, %cd% represent the script directory set "repo=d:\Test5\Updates\ALL\" rem use system dism.exe tool (if host os is win10) set "dismroot=%windir%\system32\dism.exe" rem set this to 1 to start the process directly once you execute the script rem make sure you set the above options correctly first set autostart=0 rem set this to 1 to create new iso file if the target is a distribution folder rem require placing oscdimg.exe or cdimage.exe next to W10UI.cmd set iso=1 rem Optional, set mount directory for updating wim files set mountdir=c:\mount And no winre.wim left in the folder.
Yes, your setup is different from mine. I'm not creating an iso - just updating a wim. I don't think WINRE should be left on thhe drive in my case either. Code: rem for updating live os, leave this option as %SystemDrive% set "target=X:\$W0\$0_WUI\x64\LTSB+05.wim" rem updates location, %cd% represent the script directory set "repo=X:\$W0\$0_WUI\x64\Repo-Dir" rem use system dism.exe tool (if host os is win10) set "dismroot=X:\$W0\ADK_6\x86\DISM\dism.exe" rem set this to 1 to start the process directly once you execute the script rem make sure you set the above options correctly first set autostart=0 rem set this to 1 to create new iso file if the target is a distribution folder rem require placing oscdimg.exe or cdimage.exe next to W10UI.cmd set iso=0 rem Optional, set mount directory for updating wim files set mountdir=
Of course - not a problem. I was just wondering if abbodi1406 had a reason for leaving the file instead of deleting it since he had a specific check in the script when to delete..
My scan came up clean for x64 2016 LTSB integrated wim with Code: Package_for_KB4013418~31bf3856ad364e35~amd64~~10.0.1.0 Package_for_KB4020821~31bf3856ad364e35~amd64~~10.0.1.0 Package_for_RollupFix~31bf3856ad364e35~amd64~~14393.1230.1.1
I've tested the script with the target set to install.wim and no iso creation, the winre.wim is left in the folder. You can just delete it, when done.
sfc /scannow is the most worthless redundant piece of crap I have encountered on Windows 10. It fixes nothing. Microsoft needs to come up with something better
Hello. Does anybody have this file? Microsoft.NET.Native.Framework.1.1_1.0.23115.0_arm__8wekyb3d8bbwe.appx or in shorter other name: Microsoft.NET.Native.Framework.1.1.appx (arm version!) Send me the link, pls, I need to try something. It can be found in Visual Studio 2015 (14.0) in: \Program Files (x86)\Microsoft SDKs\Windows Kits\10\ExtensionSDKs\Microsoft.NET.Native.Framework.1.1\1.0\arm\ret\Native ...or in Windows 10 Mobile (TH2 maybe TH1) image in: \PROGRAMS\CommonFiles\Xaps