Master @xinso i need your opinion about the script for creating a 14393.0 LTSB 2016 from the original 14393.0 LTSB 2016 install.wim removing some packages and resetting the base image . I create the folder like in FOLDER.jpg attached and i used the create bat command from one of yours but i am not sure is perfect , Code: @echo off pushd "%~dp0" rmdir /q /s temp >NUL 2>&1 mkdir temp >NUL 2>&1 mkdir temp\mount >NUL 2>&1 set TP=temp set MT=temp\mount echo. echo Mounting install.wim dism /english /quiet /scratchdir:%TP% /mount-wim /wimfile:install.wim /index:1 /mountdir:%MT% echo. echo Current Edition : %Current% reg load HKLM\SOFTWARE1 %MT%\Windows\System32\config\SOFTWARE >NUL 2>&1 reg add "HKLM\SOFTWARE1\Microsoft\WindowsSelfHost\UI\Visibility" /v "HideInsiderPage" /t REG_DWORD /d "1" /f >NUL 2>&1 reg unload HKLM\SOFTWARE1 >NUL 2>&1 copy /y files\DelPack.txt temp >NUL 2>&1 cscript //nologo files\replace.vbs temp\DelPack.txt "xx-XX" "%LANG%" >NUL 2>&1 reg load HKLM\SOFTWARE1 %MT%\Windows\System32\config\SOFTWARE >nul for /f %%x in ('findstr /i . temp\DelPack.txt 2^>nul') do ( if exist %MT%\Windows\servicing\Packages\%%x.mum ( reg add "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul reg delete "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul ) ) reg unload HKLM\SOFTWARE1 >nul for /f %%x in ('findstr /i . temp\DelPack.txt 2^>nul') do ( if exist %MT%\Windows\servicing\Packages\%%x.mum ( echo. echo Removing %%x dism /english /quiet /scratchdir:%TP% /image:%MT% /Remove-package /Packagename:%%x ) ) echo. echo Resetting base dism /english /quiet /scratchdir:%TP% /image:%MT% /cleanup-image /startcomponentcleanup /resetbase del /f /q %MT%\Windows\WinSxS\Backup\. >NUL 2>&1 del /f /q %MT%\Windows\WinSxS\ManifestCache\. >NUL 2>&1 echo. echo Unmounting install.wim dism /english /quiet /scratchdir:%TP% /unmount-wim /mountdir:%MT% /commit rmdir /q /s %TP% >NUL 2>&1 echo. pause exit :with for /f %%x in ('findstr /i . files\DelAppx.txt 2^>nul') do ( if exist "%MT%\Program Files\WindowsApps\%%x" ( echo. echo Removing %%x dism /english /quiet /scratchdir:%TP% /image:%MT% /Remove-ProvisionedAppxPackage /Packagename:%%x ) ) goto:eof :without echo. echo Removing Store for /f "tokens=2 delims=: " %%x in ('dism /english /scratchdir:%TP% /image:%MT% /Get-ProvisionedAppxPackages ^| find /I "PackageName"') do (dism /english /quiet /scratchdir:%TP% /image:%MT% /Remove-ProvisionedAppxPackage /Packagename:%%x) goto:eof the result is like this : Code: Mounting install.wim Current Edition : Removing Microsoft-Windows-OneDrive-Setup-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Windows-Defender-Client-WOW64-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-SimpleTCP-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-NFS-ClientSKU-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-MultiPoint-Connector-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-EnterpriseClientSync-Host-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-Client-EmbeddedExp-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-OneCore-Containers-Opt-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Hyper-V-ClientEdition-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-DirectPlay-OC-package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.14393.0 Removing Microsoft-Windows-RDC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Removing Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Resetting base Unmounting install.wim Press any key to continue . . . but it doesn't delete del /f /q %MT%\Windows\WinSxS\Backup\. >NUL 2>&1 del /f /q %MT%\Windows\WinSxS\ManifestCache\. >NUL 2>&1 can you please correct me if i did something wrong ? Thank you in advance
It is hidden by ">NUL 2>&1" You can also use it like this: Hidden Code: if exist %MT%\Windows\WinSxS\Backup\. del /f /q %MT%\Windows\WinSxS\Backup\. if exist %MT%\Windows\WinSxS\ManifestCache\. del /f /q %MT%\Windows\WinSxS\ManifestCache\. Shown Code: if exist %MT%\Windows\WinSxS\Backup\. del /f %MT%\Windows\WinSxS\Backup\. if exist %MT%\Windows\WinSxS\ManifestCache\. del /f %MT%\Windows\WinSxS\ManifestCache\. Code: @echo off pushd "%~dp0" rmdir /q /s temp >NUL 2>&1 mkdir temp >NUL 2>&1 mkdir temp\mount >NUL 2>&1 set TP=temp set MT=temp\mount echo. echo Mounting install.wim dism /english /quiet /scratchdir:%TP% /mount-wim /wimfile:install.wim /index:1 /mountdir:%MT% copy /y files\DelPack.txt temp >NUL 2>&1 cscript //nologo files\replace.vbs temp\DelPack.txt "xx-XX" "%LANG%" >NUL 2>&1 reg load HKLM\SOFTWARE1 %MT%\Windows\System32\config\SOFTWARE >nul reg add "HKLM\SOFTWARE1\Microsoft\WindowsSelfHost\UI\Visibility" /v "HideInsiderPage" /t REG_DWORD /d "1" /f >NUL 2>&1 for /f %%x in ('findstr /i . temp\DelPack.txt 2^>nul') do ( if exist %MT%\Windows\servicing\Packages\%%x.mum ( reg add "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x" /v Visibility /t REG_DWORD /d 1 /f >nul reg delete "HKLM\SOFTWARE1\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\%%x\Owners" /f >nul ) ) reg unload HKLM\SOFTWARE1 >nul for /f %%x in ('findstr /i . temp\DelPack.txt 2^>nul') do ( if exist %MT%\Windows\servicing\Packages\%%x.mum ( echo. echo Removing %%x dism /english /quiet /scratchdir:%TP% /image:%MT% /Remove-package /Packagename:%%x ) ) echo. for /f "tokens=4 delims= " %%x in ('dism /english /image:%MT% /get-CurrentEdition ^| findstr /i /C:"Current Edition"') do (set Current=%%x) echo Current Edition : %Current% echo. echo Resetting base dism /english /quiet /scratchdir:%TP% /image:%MT% /cleanup-image /startcomponentcleanup /resetbase del /f /q %MT%\Windows\WinSxS\Backup\. >NUL 2>&1 del /f /q %MT%\Windows\WinSxS\ManifestCache\. >NUL 2>&1 echo. echo Unmounting install.wim dism /english /quiet /scratchdir:%TP% /unmount-wim /mountdir:%MT% /commit rmdir /q /s %TP% >NUL 2>&1 echo. pause exit
it is using only the DelPack.text ... but no DelAppx.text .... with this script i can modify almost all the original install.wim , in a easy way , and not to create from core to enterprise or so ...
Hi again my dear friend @xinso This is all very interesting, but could you provide me with the files and the method for doing the described in b and if possible also the link to the original 17763.1 OEM IoTEnterpriseS iso too? Thanks in advanced. @JeepWillys58
1. What b? 2. It IS the very same as regular EnterpriseS. (I don't keep the link, nor the ISO. Ask LostED.)
this b: " b. 18362.1 onwards Microsoft-Windows-Security-SPP-Component-SKU-EnterpriseS-Package~31bf3856ad364e35~amd64~~10.0.18362.1.cab + Microsoft-Windows-Security-SPP-Component-SKU-IoTEnterpriseS-License-Package~31bf3856ad364e35~amd64~~10.0.18362.1.cab C:\Windows\System32\spp\Tokens\skus\EnterpriseS C:\Windows\System32\spp\Tokens\skus\IoTEnterpriseS" Where you take this two cabs?
Why you so interested in IoTEnterpriseS? It shares the same image with EnterpriseS, unless its Product policy is significantly different to EnterpriseS... Otherwise, same embedded. Of course, vNEXT IoTEnterpriseS does have lots of different unknow features than EnterpriseS. I am curious about this.
Thank you my friend anyway, it is very good to talk to those who know the answers and learn a little more each day. Let's wait then ... A big hug, be safe and well you and all yours too. Regards @JeepWillys58
I want to use it on a very slow machine for try to revive old hardware that was going to be discarded and donate it to schools that can't afford to buy new computers...
Use my 15063 Starter or EnterpriseS which are capable of update to date by manual installation of PPIPro updates, offline only. Starter is permanently activated. But it will receive Windows10Upgrade push. Hide it by wushowhide.diagcab. EnterpriseS can be digital activated by HWID activator. 15063 EnterpriseS is better, because MSFT does not push Windows10Upgrade to it.
I will be very grateful if you could privide me the like to this 15063 EnterpriseS and the script to use wushowhide.diagcab too. So I can test it and see if it's work on my reference test machine and after that I coul replicate it on the other old machines...
This is 14393 EnterpriseS' Features and Packages: Code: Microsoft-Hyper-V-ClientEdition-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Hyper-V-All Microsoft-Hyper-V-Tools-All Microsoft-Hyper-V-Management-Clients Microsoft-Hyper-V-Management-PowerShell Microsoft-Hyper-V Microsoft-Hyper-V-Hypervisor Microsoft-Hyper-V-Services Microsoft-Windows-BusinessScanning-Feature-Package~31bf3856ad364e35~amd64~~10.0.14393.0 ScanManagementConsole Microsoft-Windows-Client-EmbeddedExp-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Client-EmbeddedBootExp Client-EmbeddedLogon Client-KeyboardFilter Client-UnifiedWriteFilter Microsoft-Windows-Client-ShellLauncher-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Client-DeviceLockdown Client-EmbeddedShellLauncher Microsoft-Windows-DataCenterBridging-Package~31bf3856ad364e35~amd64~~10.0.14393.0 DataCenterBridging Microsoft-Windows-DirectoryServices-ADAM-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 DirectoryServices-ADAM-Client Microsoft-Windows-Legacy-Components-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 LegacyComponents Microsoft-Windows-DirectPlay-OC-package~31bf3856ad364e35~amd64~~10.0.14393.0 DirectPlay Microsoft-Windows-Enterprise-Desktop-Shared-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Hyper-V-Common-Drivers-Package Microsoft-Hyper-V-Guest-Integration-Drivers-Package Microsoft-Windows-NetFx-VCRedist-Package Microsoft-Windows-Printing-PrintToPDFServices-Package Microsoft-Windows-Printing-XPSServices-Package Microsoft-Windows-Client-EmbeddedExp-Package Microsoft-Windows-EnterpriseClientSync-Host-Package~31bf3856ad364e35~amd64~~10.0.14393.0 WorkFolders-Client Microsoft-Windows-Identity-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Windows-Identity-Foundation Microsoft-Windows-IIS-WebServer-AddOn-2-Package~31bf3856ad364e35~amd64~~10.0.14393.0 IIS-CertProvider IIS-WindowsAuthentication IIS-DigestAuthentication IIS-ClientCertificateMappingAuthentication IIS-IISCertificateMappingAuthentication IIS-ODBCLogging Microsoft-Windows-IIS-WebServer-AddOn-Package~31bf3856ad364e35~amd64~~10.0.14393.0 IIS-StaticContent IIS-DefaultDocument IIS-DirectoryBrowsing IIS-WebDAV IIS-WebSockets IIS-ApplicationInit IIS-ASPNET IIS-ASPNET45 IIS-ASP IIS-CGI IIS-ISAPIExtensions IIS-ISAPIFilter IIS-ServerSideIncludes IIS-CustomLogging IIS-BasicAuthentication IIS-HttpCompressionStatic IIS-ManagementConsole IIS-ManagementService IIS-WMICompatibility IIS-LegacyScripts IIS-LegacySnapIn IIS-FTPServer IIS-FTPSvc IIS-FTPExtensibility Microsoft-Windows-IIS-WebServer-Package~31bf3856ad364e35~amd64~~10.0.14393.0 IIS-WebServerRole IIS-WebServer IIS-CommonHttpFeatures IIS-HttpErrors IIS-HttpRedirect IIS-ApplicationDevelopment IIS-NetFxExtensibility IIS-NetFxExtensibility45 IIS-HealthAndDiagnostics IIS-HttpLogging IIS-LoggingLibraries IIS-RequestMonitor IIS-HttpTracing IIS-Security IIS-URLAuthorization IIS-RequestFiltering IIS-IPSecurity IIS-Performance IIS-HttpCompressionDynamic IIS-WebServerManagementTools IIS-ManagementScriptingTools IIS-IIS6ManagementCompatibility IIS-Metabase WAS-WindowsActivationService WAS-ProcessModel WAS-NetFxEnvironment WAS-ConfigurationAPI IIS-HostableWebCore Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.14393.0 Internet-Explorer-Optional-amd64 Microsoft-Windows-Lxss-Optional-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-Subsystem-Linux Microsoft-Windows-MediaPlayback-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 MediaPlayback Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.14393.0 WindowsMediaPlayer Microsoft-Windows-MSMQ-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 MSMQ-Container MSMQ-Server MSMQ-Triggers MSMQ-ADIntegration MSMQ-HTTP MSMQ-Multicast MSMQ-DCOMProxy Microsoft-Windows-MultiPoint-Connector-Package~31bf3856ad364e35~amd64~~10.0.14393.0 MultiPoint-Connector MultiPoint-Connector-Services MultiPoint-Tools Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 NetFx3 Microsoft-Windows-NetFx3-WCF-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 WCF-HTTP-Activation WCF-NonHTTP-Activation Microsoft-Windows-NetFx4-US-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 NetFx4-AdvSrvs NetFx4Extended-ASPNET45 Microsoft-Windows-NetFx4-WCF-US-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 WCF-Services45 WCF-HTTP-Activation45 WCF-TCP-Activation45 WCF-Pipe-Activation45 WCF-MSMQ-Activation45 WCF-TCP-PortSharing45 Microsoft-Windows-NFS-ClientSKU-Package~31bf3856ad364e35~amd64~~10.0.14393.0 ServicesForNFS-ClientOnly ClientForNFS-Infrastructure NFS-Administration Microsoft-Windows-OneCore-Containers-Opt-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Containers Microsoft-Windows-PowerShell-V2-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 MicrosoftWindowsPowerShellV2Root MicrosoftWindowsPowerShellV2 Microsoft-Windows-Printing-Foundation-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Printing-Foundation-Features Printing-Foundation-LPRPortMonitor Printing-Foundation-LPDPrintService Printing-Foundation-InternetPrinting-Client FaxServicesClientPackage Microsoft-Windows-Printing-PrintToPDFServices-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Printing-PrintToPDFServices-Features Microsoft-Windows-Printing-XPSServices-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Printing-XPSServices-Features Microsoft-Windows-RasCMAK-Package~31bf3856ad364e35~amd64~~10.0.14393.0 RasCMAK Microsoft-Windows-RasRip-Package~31bf3856ad364e35~amd64~~10.0.14393.0 RasRip Microsoft-Windows-RDC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 MSRDC-Infrastructure Microsoft-Windows-SearchEngine-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 SearchEngine-Client-Package Microsoft-Windows-SimpleTCP-Package~31bf3856ad364e35~amd64~~10.0.14393.0 SimpleTCP Microsoft-Windows-SMB1-Package~31bf3856ad364e35~amd64~~10.0.14393.0 SMB1Protocol Microsoft-Windows-SmbDirect-Package~31bf3856ad364e35~amd64~~10.0.14393.0 SmbDirect=dword:00000000 Microsoft-Windows-SNMP-Package~31bf3856ad364e35~amd64~~10.0.14393.0 SNMP Microsoft-Windows-Telnet-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 TelnetClient Microsoft-Windows-TFTP-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 TFTP Microsoft-Windows-WinOcr-Package~31bf3856ad364e35~amd64~~10.0.14393.0 TIFFIFilter Microsoft-Windows-WMI-SNMP-Provider-Package~31bf3856ad364e35~amd64~~10.0.14393.0 WMISnmpProvider Microsoft-Windows-Xps-Foundation-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Xps-Foundation-Xps-Viewer Windows-Defender-Client-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Windows-Defender-Default-Definitions PS1, Parent-package: Microsoft-Windows-Legacy-Components-OC-Package~31bf3856ad364e35~amd64~~10.0.14393.0 LegacyComponents Child-package: Microsoft-Windows-DirectPlay-OC-package~31bf3856ad364e35~amd64~~10.0.14393.0 DirectPlay Always remove Parent-package. PS2: These two are a couple, remove both. Microsoft-Windows-Client-EmbeddedExp-Package~31bf3856ad364e35~amd64~~10.0.14393.0 Microsoft-Windows-Client-ShellLauncher-Package~31bf3856ad364e35~amd64~~10.0.14393.0
And if so, what is the purpose of indicating something that is gone forever? I honestly do not understand you, for me this meant, at this moment, that if you had fallen into a hole for the second time, I should pass through it and instead of helping you, I should be watching you suffering, after all your rule is " Once Gone Forever Gone ", no matter what happens ... I tried to search for this here and did not find it using the search within this topic. I would never fail to help someone if I am able to do that, and by conditions I mean to be alive, I may even fail, but I would not fail to try ... I thank you anyway for taking your precious time, but all of our conversation took us to that same hole you've been through ... In a moment like this, I miss my old friend @whatever127 even more... Regards @JeepWillys58