No. Just 2 clicks. I hope the links inside the script reamains working. Then you will get the packs renamed for toolkit compatibility with Integrate NETfx48 function.
@MSMG, A doubt: Is it the "I_WindowsDefender" that would be "Windows Defender Dashboard" or the "I_MicrosoftDefender" that should be the "Microsoft Defender Dashboard"? This was confusing for me. Regarding the names "Films and TV" and "Movies and TV": The nomenclature "Movies and TV" appeared after 19041. Currently in 17763 is it also "Movies and TV"? Code: if "%I_ZuneVideo%" equ "+" ( if "%ImageBuild%" equ "17763" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Movies and TV", "%ZuneVideo_Appx%", "%UIXaml24_Appx% %VCLibs14_Appx%", "%ZuneVideo_License%" if "%ImageBuild%" geq "18362" if "%ImageBuild%" leq "18363" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Movies and TV", "%ZuneVideo_Appx%", "%UIXaml27_Appx% %VCLibsUWPDesktop14_Appx% %VCLibs14_Appx%", "%ZuneVideo_License%" if "%ImageBuild%" geq "19041" if "%ImageBuild%" leq "22000" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Films and TV", "%ZuneVideo_Appx%", "%UIXaml28_Appx% %VCLibs14_Appx%", "%ZuneVideo_License%" if "%ImageBuild%" geq "22621" if "%ImageBuild%" leq "22631" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Movies and TV", "%ZuneVideo_Appx%", "%UIXaml28_Appx% %VCLibs14_Appx%", "%ZuneVideo_License%" ) As did you disable the use of "NETNativeFramework21_Appx" and "NETNativeRuntime21_Appx". There is a need to check the IntelThunderboltController. Would it just replace for "NETNativeFramework22_Appx" and "NETNativeRuntime22_Appx"? Code: if "%I_IntelThunderboltController%" equ "+" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Intel Thunderbolt Controller", "%IntelThunderboltController_Appx%", "%NETNativeFramework21_Appx% %NETNativeRuntime21_Appx% %VCLibs14_Appx%", "%IntelThunderboltController_License%" I think it is needed to change the values from: Code: Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" /v "GroupBy" /t REG_SZ /d "System.None" /f >nul 2>&1 Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" /v "PrimaryProperty" /t REG_SZ /d "System.Name" /f >nul 2>&1 Reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" /v "SortByList" /t REG_SZ /d "prop:System.Name" /f >nul 2>&1 to: Code: Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" /v "GroupBy" /t REG_SZ /d "System.Null" /f >nul 2>&1 Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" /v "PrimaryProperty" /t REG_SZ /d "System.ItemNameDisplay" /f >nul 2>&1 Reg add "HKLM\TK_SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\FolderTypes\{885a186e-a440-4ada-812b-db871b942259}\TopViews\{00000000-0000-0000-0000-000000000000}" /v "SortByList" /t REG_SZ /d "prop:System.ItemNameDisplay" /f >nul 2>&1 Observe: HKLM\SOFTWARE to HKLM\TK_SOFTWARE "System.None" to "System.Null" "System.Name" to "System.ItemNameDisplay" Note: in this tweak, even correcting "HKLM\SOFTWARE" to "HKLM\TK_SOFTWARE" and also putting the correct values contained in the MS documentation, according to a user's report, it is not working for build 226xx. I believe there is a need for other tests. I use "SortByList" with value "prop:System.ItemTypeText" When I did the clean installation of my machine, I didn't check if it was working, if it wasn't, I ended up configuring it manually on impulse (I didn't even pay attention).
My dear friend @inTerActionVRI , I will do right now the test for these details and changes that were made yesterday, on my system installed with the iso previously made in TK, as we talked and exchanged this information, it continues to maintain the classification by name and the grouping of files in the downloads folder as expected. I'm creating a new ISO right now to install it in a VM and see if these changes will have an effect on the psta download settings. Once you've finished installing, report back here. PS OffTopic: I mentioned your instructions on Discord and also shared the uupdump-get-fileinfo+packs file there on main...
@MSMG, In I_ZuneMusic code: Code: if "%ImageBuild%" geq "19041" if "%ImageBuild%" leq "22000" ( set PackageName= for /f "tokens=2 delims=: " %%a in ('%DISM% /Image:%InstallMount%\%%i /Get-ProvisionedAppxPackages ^| find /I "PackageName : Microsoft.ZuneMusic"') do (set PackageName=%%a) if "!PackageName!" neq "" %DISM% /Image:"%InstallMount%\%%i" /Remove-ProvisionedAppxPackage /PackageName:!PackageName! >nul call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Media Player", "%ZuneMusic_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml28_Appx% %VCLibs14_Appx%", "%ZuneMusic_License%" ) it can be optimized using your ":RemoveProvisionedAppxPackage" function: Code: if "%ImageBuild%" geq "19041" if "%ImageBuild%" leq "22000" ( call :RemoveProvisionedAppxPackage "%InstallMount%\%%i", "Microsoft.ZuneMusic", "Microsoft.ZuneMusic" call :AddProvisionedAppxPackage "%InstallMount%\%%i", "Windows Media Player", "%ZuneMusic_Appx%", "%NETNativeFramework22_Appx% %NETNativeRuntime22_Appx% %UIXaml28_Appx% %VCLibs14_Appx%", "%ZuneMusic_License%" )
any way in windows 11 22h2 after removing components with the MSMG ToolKit, after installing first update all components that were removed do not return again I would like Windows to stay up to date but the things I removed are not coming back, I don't know if there is a way to update Windows and keep it light
What is the latest build of Windows 11 that can be installed without problems after removing all applications using msmg toolkit 13.6? build 22621.2134 does not install at all (it gives a cyclic error during the installation phase). Has anyone tested others?
any version of 11 22h2 will work Maybe you removed something that is essential for Windows 11 to work
1. Selected the Source Image (build 22621.2134) 2. Integrated NVIDIAControlPanel and RealtekAudioControl via Windows Inbox Apps menu. 3. Removed Windows Components Using Package List. Except: WindowsMediaPlayer WindowsPhotoViewer RemoteDesktopClient RemoteDesktopServer WorkFoldersClient PrintDialog CalculatorApp NotepadApp Paint Spoiler: List EdgeChromium EdgeWebView InternetExplorer FirstLogonAnimation GameExplorer LockScreenBackground ScreenSavers SoundThemes SpeechRecognition Wallpapers WindowsThemes WindowsTIFFIFilter WinSAT OfflineFiles OpenSSH RemoteDifferentialCompression SimpleTCPIPServices TelnetClient TFTPClient WalletService WindowsMail AssignedAccess CEIP FaceRecognition KernelDebugging LocationService PicturePassword PinEnrollment UnifiedTelemetryClient WiFiNetworkManager WindowsErrorReporting WindowsInsiderHub HomeGroup MultiPointConnector OneDrive RemoteAssistance RemoteRegistry AccessibilityTools DeviceLockdown EaseOfAccessCursors EaseOfAccessThemes EasyTransfer FileHistory Magnifier ManualSetup Narrator Notepad OnScreenKeyboard ProjFS SecurityCenter StepsRecorder StorageSpaces SystemRestore WindowsBackup WindowsFirewall WindowsSubsystemForLinux WindowsToGo WindowsUpdate Wordpad AADBrokerPlugin AccountsControl AddSuggestedFoldersToLibraryDialog AppResolverUX AssignedAccessLockApp AsyncTextService BioEnrollment CallingShellApp CapturePicker CBSPreview ContentDeliveryManager ClientCBS CloudExperienceHost CredDialogHost ECApp Edge EdgeDevToolsClient FileExplorer FilePicker LockApp MapControl NarratorQuickStart NcsiUwpApp OOBENetworkCaptivePortal OOBENetworkConnectionFlow ParentalControls PeopleExperienceHost PinningConfirmationDialog QuickAssist RetailDemoContent SearchApp SecureAssessmentBrowser SettingSync ShellExperienceHost SkypeORTC SmartScreen StartMenuExperienceHost UndockedDevKit WebcamExperience WebView2SDK Win32WebViewHost WindowsDefender WindowsMixedReality WindowsReaderPDF WindowsStoreCore XboxCore XboxGameCallableUI XGpuEjectDialog Alarms BingNews BingWeather Camera ClientWebExperience CommunicationsApps Cortana DesktopAppInstaller FeedbackHub GamingApp GetHelp Getstarted HEIFImageExtension Maps NETNativeFramework22 NETNativeRuntime22 OfficeHub People Photos PowerAutomateDesktop ScreenSketch SolitaireCollection SoundRecorder StickyNotes StorePurchaseApp Terminal Todos UIXaml24 VCLibs140 VCLibs140UWPDesktop VP9VideoExtensions WebMediaExtensions WebpImageExtension WindowsStore XboxGameOverlay XboxGamingOverlay XboxIdentityProvider XboxSpeechToTextOverlay XboxTCUI YourPhone ZuneMusic ZuneVideo 4. Customized the Image using [Customize] menu 5. Clean and Apply the Source Image
The new version of MSMG now has an option to remove OOBE, which is essential to set up windows and is meant to be deleted only if you use Unattended setup. You'll need to keep it if you want to install Windows normally.
@dead0. That's what I have been doing with version 13.3. But does this work in Version 13.6, as well?
how to remove WINDOWS SECURITY from windows server 2022? i use PKGLIST, and still cant find what WINDOWS SECURITY name for it.. thanks for advice..
thanks for reply, i already use word SecurityCenter, but tollkit helper says NOT FOUND, if it use word "WindowsDefender", when uninstalling windefender, Windows Security still exist.
Downloaded ISO image build 22621.2134 from UUP dump. Removed Windows components using the package list. except: CBS client CloudExperienceHost ShellExperienceHost StartMenuExperienceHost UndockedDevKit FirstLogonAnimation OOBENetworkCaptivePortal OOBENetworkConnectionFlow Windows Media Player Windows PhotoViewer RemoteDesktopClient WiFiNetworkManager RemoteDesktopServer WorkFoldersClient PrintDialog CalculatorApp NotepadApp Paint I always get an error when installing. I have been suffering for three days - I cannot win. As I understand it, starting with versions 13.4-13.6, it is possible to work correctly only through the Compatibility Menu and Autounattend XML file As before in version 13.3 - it is impossible to quickly remove using the package list, as there will always be errors. p.s. When I do the same with image 22621.1 - Windows installs without errors. BUT after installing I can't find any apps that I haven't uninstalled. For example CalculatorApp, NotepadApp, Paint etc. ver. 13.6 is trolling me
it should still work with 13.6. im currently testing with server 2022 where i run a separate script with dism /disable-feature /remove that is similar to package removal from server 2019 so it also removes files from the winsxs folder without breaking updates current testing dism script below: Spoiler @echo off echo ========================================================================================= echo = USE MSMG TO REMOVE SOME PACKAGES WHILE SCRIPT ON PAUSE!!!!! = echo ========================================================================================= echo+ echo on @cls dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /add-package /packagepath:G:\lang22 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /add-package /packagepath:G:\lang22fod dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /Set-AllIntl:en-GB rem pause timeout /t 5 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-package /packagename:Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.20348.1 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-package /packagename:Microsoft-Windows-Server-LanguagePack-Package~31bf3856ad364e35~amd64~en-US~10.0.20348.1 REM dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /Cleanup-image /AnalyzeComponentStore REM dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /Cleanup-image /StartComponentCleanup timeout /t 5 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCore-Drivers-General-WOW64 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCore-Drivers-General /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Server-Drivers-General /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WAS-WindowsActivationService /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WAS-NetFxEnvironment /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:MSMQ-DCOMProxy /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:MSMQ /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FailoverCluster-AdminPak /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FailoverCluster-PowerShell /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FailoverCluster-AutomationServer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FailoverCluster-CmdInterface /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FailoverCluster-Mgmt /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FailoverCluster-FullServer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:IIS-HostableWebCore /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:IIS-NetFxExtensibility /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:IIS-WebServerRole /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-Services45 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-HTTP-Activation45 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-TCP-Activation45 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-Pipe-Activation45 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-MSMQ-Activation45 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-TCP-PortSharing45 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetFx4Extended-ASPNET45 /remove rem dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-HTTP-Activation /remove rem dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WCF-NonHTTP-Activation /remove rem dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetFx3ServerFeatures /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:KeyDistributionService-PSH-Cmdlets /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameKIClient-PSH-Cmdlets /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:TlsSessionTicketKey-PSH-Cmdlets /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Server-Psh-Cmdlets /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FaxServiceRole /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FaxServiceConfigRole /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NPSManagementTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NPSMMC /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NPAS-Role /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameNS-Server-Tools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameNS-Server-Full-Role /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameHCPServer-Tools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameHCPServer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:VolumeActivation-Full-Role /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RightsManagementServices-AdminTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RightsManagementServicesManagementTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RightsManagementServices-Role /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Windows-Deployment-Services-Admin-Pack /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Windows-Deployment-Services /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:UpdateServices-RSAT /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:UpdateServices-API /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:UpdateServices-UI /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:UpdateServices /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ActiveDirectory-PowerShell /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RSAT-AD-Tools-Feature /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RSAT-ADDS-Tools-Feature /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ADCertificateServicesManagementTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ADCertificateServicesRole /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:CertificateServicesManagementTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:CertificateServices /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:OnlineRevocationServicesManagementTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:AuthManager /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameamgmtTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:IdentityServer-SecurityTokenService /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Windows-Identity-Foundation /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameirectoryServices-ADAM /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServicesForNFS-ServerAndClient /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NFS-Administration /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetworkVirtualization /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RemoteAccessMgmtTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RemoteAccessPowerShell /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RemoteAccess /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RemoteAssistance /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RasServerAdminTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RSAT-RDS-Tools-Feature /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Remote-Desktop-Services /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SessionDirectory /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Licensing-Diagnosis-UI /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Licensing-UI /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Licensing /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:LightweightServer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Windows-Internal-Database /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WINS-Server-Tools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WINSRuntime /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameataCenterBridging-LLDP-Tools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameataCenterBridging /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WebDAV-Redirector /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameeviceHealthAttestationService /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameSC-Service /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenamefsMgmt /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameFSR-Infrastructure-ServerEdition /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameFSN-Server /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:IPAMClientFeature /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:IPAMServerFeature /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:BITS /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameeerDist /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename2P-PnrpOnly /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SMBHashGeneration /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SmbWitness /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SMBBW /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SMB1Protocol /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SmbDirect /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SNMP /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Server-RSAT-SNMP /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:MSRDC-Infrastructure /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:MultipathIo /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WindowsServerBackupSnapin /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WindowsServerBackup /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SimpleTCP /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:TelnetClient /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:TFTP /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:TIFFIFilter /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:BiometricFramework /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:MultiPoint-Connector /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameedup-Core /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Client-ProjFS /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerMigration /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SystemDataArchiver /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:StorageMigrationServiceManagement /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:StorageMigrationService /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:StorageMigrationServiceProxy /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Storage-Replica-AdminPack /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Storage-Replica /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WindowsStorageManagementService /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SystemInsightsManagement /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SystemInsights /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetworkLoadBalancingManagementClient /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetworkLoadBalancingFullServer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Containers /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ShieldedVMToolsAdminPack /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:HardenedFabricEncryptionTask /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FabricShieldedTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SoftwareLoadBalancer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetworkControllerTools /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:NetworkController /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:HostGuardian /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:VmHostAgent /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RSAT-Hyper-V-Tools-Feature /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Hyper-V-Management-Clients /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Hyper-V-Management-PowerShell /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Hyper-V-Offline /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Hyper-V-Online /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Hyper-V /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:iSCSITargetServer-PowerShell /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:iSCSITargetStorageProviders /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:iSCSITargetServer /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenameiskIo-QoS /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SetupAndBootEventCollection /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:QWAVE /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RasCMAK /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SBMgr-UI /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:CCFFilter /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ResumeKeyFilter /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:LegacyComponents /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:OEM-Appliance-OOBE /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Windows-FCI-Client-Package /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:BitLocker-RemoteAdminTool /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Bitlocker-Utilities /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Security-SPP-Vmw /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WorkFolders-Server /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FSRM-Management /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FSRM-Infrastructure-Services /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FSRM-Infrastructure /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FRS-Infrastructure /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:File-Services-Search-Service /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:FileServerVSSAgent /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:CoreFileServer /remove rem dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:File-Services /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Server-Manager-RSAT-File-Services /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:HypervisorPlatform /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:VirtualMachinePlatform /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenamerinting-Server-Role /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenamerinting-Server-Foundation-Features /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenamerinting-XPSServices-Features /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenamerinting-LPRPortMonitor /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurenamerinting-InternetPrinting-Client /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:SearchEngine-Server-Package /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Windows-Defender /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Microsoft-Windows-GroupPolicy-ServerAdminTools-Update /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerManager-Core-RSAT /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:RSAT /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:MicrosoftWindowsPowerShellV2 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:WirelessNetworking /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Server-Core /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCore-WOW64 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Server-Gui-Mgmt_onecore /remove rem dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:Internet-Explorer-Optional-amd64 /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-MinConsoleFonts /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-BitmapFonts /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-TrueType /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-UAPFonts /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /disable-feature /featurename:ServerCoreFonts-NonCritical-Fonts-Support /remove dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /enable-feature /featurename:ServerMediaFoundation dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /enable-feature /featurename:BitLocker /all dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /enable-feature /featurenamerinting-AdminTools-Collection dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /enable-feature /featurename:EnhancedStorage dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /enable-feature /featurename:File-Services dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all timeout /t 5 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:App.StepsRecorder~~~~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Language.Handwriting~~~en-US~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Language.OCR~~~en-US~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Language.Speech~~~en-US~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Language.TextToSpeech~~~en-US~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:MathRecognizer~~~~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Microsoft.Windows.WordPad~~~~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:OpenSSH.Client~~~~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Windows.Client.ShellComponents~~~~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:XPS.Viewer~~~~0.0.1.0 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /remove-capability /capabilityname:Language.Basic~~~en-US~0.0.1.0 timeout /t 5 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /add-package /packagepath:G:\updates22\SSU-20348.1960-x64.cab dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /add-package /packagepath:G:\updates22\windows10.0-kb5012170-x64.msu dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /add-package /packagepath:G:\updates22\Windows10.0-KB5029928-x64-NDP.cab dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /add-package /packagepath:G:\updates22\Windows10.0-KB5030216-x64.cab del /s /q F:\MSMGToolkit\Mount\Install\1\Windows\System32\Recovery\winre.wim timeout /t 5 dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /Cleanup-image /AnalyzeComponentStore dism.exe /image:F:\MSMGToolkit\Mount\Install\1 /Cleanup-image /StartComponentCleanup /ResetBase rem timeout /t 2 pause