When creating a master Windows 10, it is common to remove part or all of universal apps Windows Update. During the update of 10 Windows Builds with WSUS or SCCM, previously deleted applications are installed again. To avoid the problem, it is necessary to use the Setupconfig.ini file
The setuponfig.ini file was introduced with Windows 10 1511, it lets to do special configurations. It can be used with the setup.exe of Windows or WSUS.
If you want to use the SetupConfig.ini file with the installation of Windows 10, it is necessary to use the following command.
In the case of Windows Update or WSUS, it is necessary to store the file SetupConfig.ini at this place.
Manage Universal APPS and Windows Servicing
As a first step, it is necessary to copy the SetupConfig.ini file in the c:\Default folder.
The file contains the following instructions.
Subsequently, it is necessary to create the bat file configured in the file SetupConfig.ini.
The bat file contains the instructions that you want to run. For my part I am running the RemoveApps.ps1 script provided by Microsoft and allows to delete unwanted universal applications. In order to proceed with the unsigned Powershell script execution, the following instuction must be present in the file.
powershell -ExecutionPolicy Bypass -file c:\TEMP\RemoveApps.ps1
Subsequently, it is possible to apply the update of Windows 10, this operation will install Universal apps. However when you first connect, these applications will be completely deleted