If we discuss which file belongs to which function and whether it can be safely deleted, then thousands or tens of thousands of contents can be discussed.
I disagree with you on this point, because there are as many opinions as there are people. Personally, I created a script a long time ago that does everything I need in the form of install.wim. Nevertheless, the opinions of other users on this subject are very interesting and very important to us. So there's no need for excessive modesty, share your ideas with the audience (if you have any, of course), and we'll choose from them what interests us most, what will make the OS more stable, more transparent, and cleaner of all the unnecessary nastiness that MS embeds in the image. p.s. Why am I telling you all this? It's not the script itself that's important, but the ideas behind it. When we create a script for our own tasks, we literally pick out the commands (codes) that are important and interesting to us from their scripts, bit by bit. That's why I'm saying that constant exchange of information is very important for us.
It's not about the words, but about the fact that we don't yet know an effective solution for removing unnecessary components from the Windows image. Because in fact, these components are not physically deleted, but simply their tables of contents are erased. For example: Edge folders take up 550 MB in the image, we supposedly delete them and they really don't work, but the image itself doesn't shrink by a single gram. This is because the table of contents has been erased, but the “body” itself remains in our image. This was specially done by MS so that there would be the possibility of system recovery. That's why I pay such close attention to the scripts posted by our colleagues. Who knows, maybe someone will suggest something interesting on this subject?
Yes, 24H2_Integrator_10.19 is the latest version as of today. I can't speak for everyone, but it doesn't work for me and a number of other people. Until SunLion releases something new, I recommend using version 24H2_Integrator_10.10.
Hello, have you tried this reconstruction method yourself? I tried it out of curiosity, but somehow nothing worked out for me with the reconstruction of PRO in LTSC. No matter how I twisted this code, but it was PRO so it remained PRO ... I wanted to try to make Windows 11 Build 27898.1000 PRO into Windows 11 Build 27898.1000 IoT LTSC. It has an IoT Enterprise edition, do you happen to know how to reconstruct it into the IoT Enterprise LTSC version? So far, I haven't been able to do it.
1、key 2、Windows\Branding\Basebrd 3、Windows\System32\spp\tokens\skus The main elements of version conversion usually require modifying the registry to correctly display the converted version information.
Delete specific cat files to disable a feature. The image file is removed and installed. update list Spoiler: test \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Chipset-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-Containers-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-Containers-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-VirtualMachines-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-VirtualMachines-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Storage-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Storage-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-AzureVirtualMachine-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-AzureVirtualMachine-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VirtualMachine-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VirtualMachine-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VmDirect-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VmDirect-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-DynamicMemory-VirtualDevice-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Feature-ApplicationGuard-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Feature-Containers-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Feature-VirtualMachinePlatform-Client-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Guest-KernelInt-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Guest-KernelInt-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Guest-KMCL-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Host-Compute-Interop-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Host-Compute-PowerShell-Module-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Host-Compute-PowerShell-Module-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-HvSocket-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Hypervisor-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Hypervisor-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-HypervisorPlatform-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-HypervisorPlatform-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IntegrationComponents-VirtualDevice-Core-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IntegrationComponents-VirtualDevice-Server-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVm-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVm-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVM-SVC-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVM-SVC-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VirtualDevice-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VirtualDevice-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VSP-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VSP-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KMCL-Host-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-LegacyChipset-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-LegacyChipset-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Containers-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Containers-Server-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Containers-Server-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-VirtualDevice-Emulated-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-VirtualDevice-Synthetic-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-VirtualDevice-Synthetic-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package-Wrapper~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Primitive-VirtualMachine-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-RDP4VS-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-RDP4VS-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-QoS-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-FibreChannel-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-FibreChannel-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-IDE-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-IDE-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-PMEM-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-PMEM-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SCSI-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SCSI-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SMB-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SMB-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VSP-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VSP-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-Common-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-PowerShell-Module-HyperV-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-PowerShell-Module-HyperV-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-PowerShell-Module-HyperV-WOW64-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-Client-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-Client-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VID-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Virtio-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-Host-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-Host-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-VirtualDevice-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-VirtualDevice-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VMMS-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmSerial-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmTpm-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmUiDevices-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-DDA-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-DDA-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-FlexIo-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-FlexIo-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-Gpup-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-Gpup-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VSP-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VSP-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Worker-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Worker-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-ClientEdition-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-ClientEdition-WOW64-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Hypervisor-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Hypervisor-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Common-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Common-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Core-Group-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Core-Group-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Online-Services-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Online-Services-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Package-base-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Package-base-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Services-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeCore-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeLegacy-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeNetwork-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeStorage-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-DeviceVirtualization-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-IsolatedVM-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Disabled-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform-Client-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-Drivers-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-Host-Service-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-hvservice.inf-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-IsolatedVm-SVC-Extension-merged-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-IsolatedVm-SVC-Extension-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-WINHV-Package~*.cat \Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-WINHVR-Package~*.cat I will provide some cat files for testing if people are interested.
The downside, as tested, is that you can't update it anymore, so it's up to each individual to make the trade-off.
Oh, I feel like I went a little overboard with removing unnecessary things from the image, but maybe not? Spoiler Code: - - - - - echo. echo =========================================================== echo Remove Capabilities echo =========================================================== for /f %%x in ('findstr /i . Tools\Files\Capabilities.txt 2^>nul') do ( echo %%x "%DISM%" /english /quiet /image:"%~dp0Temp\Mount" /Remove-Capability /CapabilityName:%%x ) echo. echo === Removing components from an image, examples Search and Indexing === echo. move /y "%~dp0Temp\Mount\Windows\system32\SearchIndexer.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\SearchFilterHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\SearchProtocolHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\genpix.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mimefilt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\msscntrs.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mssitlb.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mssph.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mssprxy.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mssvp.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\nlhtml.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\offfilt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\rtffilt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Search.ProtocolHandler.MAPI2.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\SfSEnclave.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\srchadmin.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Windows.UI.Search.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WSAIFabricHost.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\wsepno.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\xmlfilter.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\genpix.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\mimefilt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\msscntrs.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\mssitlb.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\mssph.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\mssprxy.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\mssvp.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\nlhtml.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\offfilt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\rtffilt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\Search.ProtocolHandler.MAPI2.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\SearchFilterHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\SearchIndexer.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\SearchProtocolHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\srchadmin.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\Windows.UI.Search.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\xmlfilter.dll" "%~dp0Temp" echo. echo === Removing Mail Contacts Calendar Sync === echo. move /y "%~dp0Temp\Mount\Windows\system32\accountaccessor.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\AccountsRt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\ActiveSyncCsp.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\ActiveSyncProvider.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\APHostClient.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\APHostRes.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\APHostService.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\DavSyncProvider.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\EASPolicyManagerBrokerHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\EasPolicyManagerBrokerPS.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\InprocLogger.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\internetmail.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\InternetMailCsp.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MCCSEngineShared.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MCCSPal.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\networkhelper.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\SyncController.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\SyncProxy.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\SyncRes.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\syncutil.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\accountaccessor.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\AccountsRt.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\ActiveSyncProvider.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\APHostClient.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\DavSyncProvider.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\MCCSEngineShared.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\networkhelper.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\SyncController.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\SyncProxy.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\SyncRes.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\SysWOW64\syncutil.dll" "%~dp0Temp" echo. echo === Removing Parental Controls === echo. move /y "%~dp0Temp\Mount\Windows\SystemApps\ParentalControls_cw5n1h2txyewy" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\ApproveChildRequest.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\cero.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\cob-au.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\csrr.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\djctq.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\esrb.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\fpb.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\grb.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\oflc-nz.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\pcbp.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\pegi-pt.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\pegi.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\usk.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WEB.rs" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Wpc.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcApi.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\wpcatltoast.png" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcDesktopMonSvc.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcMon.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\wpcmon.png" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcProxyStubs.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcWebFilter.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcRefreshTask.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WpcTok.exe" "%~dp0Temp" echo. echo === Removing Maps === echo. move /y "%~dp0Temp\Mount\Windows\system32\BingMaps.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\BingOnlineServices.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Geocommon.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\JpMapControl.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapConfiguration.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapControlCore.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapControlStringsRes.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapGeocoder.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapRouter.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapsBtSvc.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapsBtSvcProxy.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapsCSP.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MapsStore.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mapstoasttask.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\mapsupdatetask.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Microsoft-Windows-MapControls.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Microsoft-Windows-MosHost.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\moshost.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MosHostClient.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\moshostcore.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\MosStorage.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\NmaDirect.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\ztrace_maps.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\Windows.UI.Xaml.Maps.dll" "%~dp0Temp" echo. echo === Removing Feedback and Telemetry === echo. move /y "%~dp0Temp\Mount\Windows\system32\AggregatorHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CourtesyEngine.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\DbgModel.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\DeviceCensus.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\diagnosticdataquery.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\diagperf.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\diagtrack.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\dmclient.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\DocumentPerformanceEvents.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\dtdump.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\DWWIN.EXE" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\runexehelper.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\usbceip.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\UtcDecoderHost.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\werconcpl.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\wercplsupport.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\werdiagcontroller.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WerEnc.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WerFault.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\WerFaultSecure.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\wermgr.exe" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\werui.dll" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\StringFeedbackEngine.dll" "%~dp0Temp" echo. echo === Removing .cat files === echo. move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Chipset-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-Containers-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-Containers-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-VirtualMachines-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Host-VirtualMachines-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Storage-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-Storage-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-AzureVirtualMachine-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-AzureVirtualMachine-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VirtualMachine-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VirtualMachine-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VmDirect-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Compute-System-VmDirect-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-DynamicMemory-VirtualDevice-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Feature-ApplicationGuard-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Feature-Containers-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Feature-VirtualMachinePlatform-Client-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Guest-KernelInt-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Guest-KernelInt-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Guest-KMCL-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Host-Compute-Interop-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Host-Compute-PowerShell-Module-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Host-Compute-PowerShell-Module-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-HvSocket-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Hypervisor-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Hypervisor-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-HypervisorPlatform-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-HypervisorPlatform-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IntegrationComponents-VirtualDevice-Core-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IntegrationComponents-VirtualDevice-Server-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVm-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVm-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVM-SVC-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-IsolatedVM-SVC-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VirtualDevice-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VirtualDevice-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VSP-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KernelInt-VSP-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-KMCL-Host-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-LegacyChipset-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-LegacyChipset-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Containers-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Containers-Server-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Containers-Server-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-VirtualDevice-Emulated-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-VirtualDevice-Synthetic-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Networking-VirtualDevice-Synthetic-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package-Wrapper~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Primitive-VirtualMachine-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-RDP4VS-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-RDP4VS-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-QoS-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-FibreChannel-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-FibreChannel-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-IDE-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-IDE-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-PMEM-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-PMEM-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SCSI-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SCSI-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SMB-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VirtualDevice-SMB-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VSP-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Storage-VSP-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-Common-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-PowerShell-Module-HyperV-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-PowerShell-Module-HyperV-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-PowerShell-Module-HyperV-WOW64-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-Client-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-Client-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-UX-UI-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VID-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Virtio-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-Host-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-Host-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-VirtualDevice-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmBus-VirtualDevice-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VMMS-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmSerial-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmTpm-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-VmUiDevices-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-DDA-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-DDA-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-FlexIo-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-FlexIo-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-Gpup-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VirtualDevice-Gpup-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VSP-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Vpci-VSP-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Worker-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\HyperV-Worker-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-ClientEdition-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-ClientEdition-WOW64-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Hypervisor-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Hypervisor-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Common-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Common-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Core-Group-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Offline-Core-Group-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Online-Services-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Online-Services-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Package-base-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Package-base-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Hyper-V-Services-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeCore-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeLegacy-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeNetwork-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-ComputeStorage-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-DeviceVirtualization-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-ApiSetSchemaExtension-HyperV-IsolatedVM-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Disabled-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-HypervisorPlatform-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Microsoft-Windows-HyperV-OptionalFeature-VirtualMachinePlatform-Client-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-Drivers-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-Host-Service-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-hvservice.inf-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-IsolatedVm-SVC-Extension-merged-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-IsolatedVm-SVC-Extension-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-WINHV-Package~*.cat" "%~dp0Temp" move /y "%~dp0Temp\Mount\Windows\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\Undocked-Hypervisor-WINHVR-Package~*.cat" "%~dp0Temp" echo. echo === Disable features === echo. dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Windows-Defender-Default-Definitions /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Printing-XPSServices-Features /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SearchEngine-Client-Package /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:TelnetClient /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:TFTP /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:TIFFIFilter /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:HypervisorPlatform /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:VirtualMachinePlatform /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Windows-Identity-Foundation /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Windows-Subsystem-Linux /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-ProjFS /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SimpleTCP /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WorkFolders-Client /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:LegacyComponents /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:DirectPlay /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Printing-Foundation-Features /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Printing-Foundation-LPDPrintService /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Printing-Foundation-LPRPortMonitor /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSRDC-Infrastructure /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:NetFx4-AdvSrvs /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:NetFx4Extended-ASPNET45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WebServerRole /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WebServer /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-CommonHttpFeatures /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HttpErrors /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HttpRedirect /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ApplicationDevelopment /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-Security /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-RequestFiltering /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-NetFxExtensibility /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-NetFxExtensibility45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HealthAndDiagnostics /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HttpLogging /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-LoggingLibraries /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-RequestMonitor /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HttpTracing /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-URLAuthorization /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-IPSecurity /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-Performance /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HttpCompressionDynamic /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WebServerManagementTools /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ManagementScriptingTools /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-IIS6ManagementCompatibility /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-Metabase /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WAS-WindowsActivationService /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WAS-ProcessModel /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WAS-NetFxEnvironment /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WAS-ConfigurationAPI /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HostableWebCore /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-StaticContent /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-DefaultDocument /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-DirectoryBrowsing /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WebDAV /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WebSockets /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ApplicationInit /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ISAPIFilter /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ISAPIExtensions /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ASPNET /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ASPNET45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ASP /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-CGI /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ServerSideIncludes /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-CustomLogging /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-BasicAuthentication /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-HttpCompressionStatic /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ManagementConsole /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ManagementService /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WMICompatibility /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-LegacyScripts /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-FTPServer /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-FTPSvc /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-FTPExtensibility /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-Services45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-HTTP-Activation45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-TCP-Activation45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-Pipe-Activation45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-MSMQ-Activation45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-Container /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-DCOMProxy /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-Server /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-ADIntegration /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-HTTP /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-Multicast /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MSMQ-Triggers /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-HTTP-Activation /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:WCF-NonHTTP-Activation /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-CertProvider /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-WindowsAuthentication /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-DigestAuthentication /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ClientCertificateMappingAuthentication /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-IISCertificateMappingAuthentication /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:IIS-ODBCLogging /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SMB1Protocol /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SMB1Protocol-Client /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SMB1Protocol-Server /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SMB1Protocol-Deprecation /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V-All /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V-Tools-All /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-PowerShell /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V-Hypervisor /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V-Services /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Microsoft-Hyper-V-Management-Clients /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:HostGuardian /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-DeviceLockdown /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-EmbeddedShellLauncher /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-EmbeddedBootExp /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-EmbeddedLogon /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-KeyboardFilter /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Client-UnifiedWriteFilter /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Containers-DisposableClientVM /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Containers-Server-For-Application-Guard /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:HyperV-KernelInt-VirtualDevice /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:HyperV-Guest-KernelInt /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:DataCenterBridging /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:DirectoryServices-ADAM-Client /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:ServicesForNFS-ClientOnly /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:ClientForNFS-Infrastructure /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:NFS-Administration /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Containers /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Containers-HNS /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:Containers-SDN /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:SmbDirect /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MultiPoint-Connector /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MultiPoint-Connector-Services /Remove dism /english /scratchdir:"%~dp0Temp" /image:"%~dp0Temp\Mount" /Disable-Feature /FeatureName:MultiPoint-Tools /Remove echo. echo ============================================================ echo === Remove-Edge === echo ============================================================ if not exist "%~dp0Temp\Edge" mkdir "%~dp0Temp\Edge" >NUL 2>&1 "%DISM11%" /english /scratchdir:"%~dp0Temp\Edge" /image:"%~dp0Temp\Mount" /Remove-Edge - - - - - p.s. In general, some kind of crap, the script writes that all this has been moved and deleted. But in fact, the original size of the install.wim image does not change, whether you ot delete is it all from him or not - I'm tired of it!
I'm still testing. Windows Update isn't working properly yet... I'm trying to figure out what's going on. As soon as I have something, I'll post it here.
Hi SunLion, haven't talked to you for a while, how can I write you a private message? I have some information for you.
Hi, is this information about scripts by any chance? If there is something new, new ideas, could you share them? This is all very interesting ...