Although I have added component removal for the leaked Windows 11, just need to compete the store removal and test it out but the Microsoft official release next week will be completely different. Lets see when it's released will check if it's feasible to add support for Windows 11 since the removal program data is pre-added and not dynamic it will be difficult to support insider builds as there will be totally a new build every week.
Hi MSMG well after some issues finally I'm using the new Windows 11 after make a lot of modifications; well for me until now NO problems
At the Dedup session: "Checking whether the Source OS architecture is not 64-bit" and "Getting Install Image Index Architecture" are with the inverted positions. Code: :: Checking whether the Source OS architecture is not 64-bit if "%ImageArchitecture%" neq "x64" ( echo.This feature is not applicable for 32-bit Source OS... goto :Stop ) :: Getting Install Image Index Architecture for /l %%i in (1, 1, %ImageCount%) do ( if exist "%InstallMount%\%%i" call :GetImageArchitecture "%InstallWim%", %%i >nul ) :: Setting Windows Data Deduplication Pack folder path accroding to selected Source OS set "FSSMRESReg=%Dedup%\fssmres.dll.reg" if "%SelectedSourceOS%"=="w81" set "Dedup=%Dedup%\%SelectedSourceOS%" if "%SelectedSourceOS%"=="w10" set "Dedup=%Dedup%\%SelectedSourceOS%\%PackageVersion%" Should be: Code: :: Getting Install Image Index Architecture if exist "%InstallMount%\!IndexNo!" call :GetImageArchitecture "%InstallWim%", !IndexNo! >nul :: Checking whether the Source OS architecture is not 64-bit if "%ImageArchitecture%" neq "x64" ( echo.This feature is not applicable for 32-bit Source OS... goto :Stop ) :: Setting Windows Data Deduplication Pack folder path accroding to selected Source OS set "FSSMRESReg=%Dedup%\fssmres.dll.reg" if "%SelectedSourceOS%" equ "w81" set "Dedup=%Dedup%\%SelectedSourceOS%" if "%SelectedSourceOS%" equ "w10" set "Dedup=%Dedup%\%SelectedSourceOS%\%PackageVersion%" And, optimized the code to get the :GetImageArchitecture data from the !IndexNo! previously selected. But it will only work if IndexNo is set and not cleared. edit: Duplicate lines: Code: for /f "tokens=5 delims=\" %%a in ('reg query "HKLM\TK_COMPONENTS\DerivedData\Components" ^| findstr "%ImageArchitecture%_!EsuFoundation!"') do (set "EsuFoundation=%%a") for /f "tokens=5 delims=\" %%a in ('reg query "HKLM\TK_COMPONENTS\DerivedData\Components" ^| findstr "%ImageArchitecture%_!EsuFoundation!"') do (set "EsuFoundation=%%a") So, check this out. If it's right, or if it has to be one of the two options below. from: Code: "c^!!EsuFoundation!" to: Code: "c^!!EsuFoundation!!" or "c^!EsuFoundation!" Remember to remove "C_ManualSetup," from the for loop in the session: ::------------------------------------------------------------------------------------------- :: Function to Remove Windows Components ::------------------------------------------------------------------------------------------- :RemoveWindowsComponents Code: for %%i in (C_AdobeFlashForWindows,C_EdgeChromium,C_InternetExplorer,C_FirstLogonAnimation,C_GameExplorer,C_SnippingTool,C_SpeechRecognition,C_WindowsMediaPlayer,C_WindowsPhotoViewer,C_WinSAT,C_AssignedAccess,C_CEIP,C_FaceRecognition,C_KernelDebugging,C_LocationService,C_PicturePassword,C_PinEnrollment,C_UnifiedTelemetryClient,C_WiFiNetworkManager,C_WindowsErrorReporting,C_WindowsInsiderHub,C_HomeGroup,C_MultiPointConnector,C_RemoteAssistance,C_DeviceLockdown,C_EaseOfAccessThemes,C_EasyTransfer,C_FileHistory,C_ManualSetup,C_Paint,C_SecurityCenter,C_StepsRecorder,C_SystemRestore,C_WindowsBackup,C_WindowsFirewall,C_WindowsSubsystemForLinux,C_WindowsToGo,C_Wordpad,C_AADBrokerPlugin,C_AccountsControl,C_AssignedAccessLockApp,C_AsyncTextService,C_BioEnrollment,C_CallingShellApp,C_CapturePicker,C_CBSPreview,C_ContentDeliveryManager,C_Cortana,C_CredDialogHost,C_ECApp,C_EdgeDevToolsClient,C_Edge,C_FileExplorer,C_LockApp,C_MapControl,C_NarratorQuickStart,C_OneDrive,C_OOBENetworkCaptivePortal,C_OOBENetworkConnectionFlow,C_ParentalControls,C_PeopleExperienceHost,C_PPIProjection,C_QuickAssist,C_RetailDemoContent,C_SecureAssessmentBrowser,C_SettingSync,C_SkypeORTC,C_SmartScreen,C_Win32WebViewHost,C_WindowsDefender,C_WindowsMixedReality,C_WindowsReaderPDF,C_WindowsStoreClient,C_XboxClient,C_XboxGameCallableUI,C_XGpuEjectDialog,C_3DViewer,C_AdvertisingXaml,C_Alarms,C_BingWeather,C_Calculator,C_Camera,C_CommunicationsApps,C_DesktopAppInstaller,C_FeedbackHub,C_GetHelp,C_Getstarted,C_HEIFImageExtension,C_Maps,C_Messaging,C_MixedRealityPortal,C_OfficeHub,C_OfficeOneNote,C_OneConnect,C_Paint3D,C_People,C_Photos,C_Print3D,C_ServicesStoreEngagement,C_ScreenSketch,C_SkypeApp,C_SolitaireCollection,C_SoundRecorder,C_StickyNotes,C_StorePurchaseApp,C_VP9VideoExtensions,C_WalletService,C_WebMediaExtensions,C_WebpImageExtension,C_WindowsStoreApp,C_XboxApp,C_XboxIdentityProvider,C_YourPhone,C_ZuneMusic,C_ZuneVideo) do ( if "!%%i!" equ "-" ( for /f "tokens=2 delims=_" %%j in ("%%i") do ( set "Components=!Components!%%j;" ) ) )
Hi @MSMG How can I remove Windows Defender, SmartScreen and SecurityCenter from Windows 11..?? Or how can I remove them using CMD or PowerShell commands with install.wim mounted on MSMG Toolkit..??
hi @MSMG curious, what new components can be found in windows 11 so far? also a thought, new msmg toolkit releaces, could we have a to doo document? listing what items may be added in future? something to lookforward to? Majid
Do you really need a TPM 2.0 module for Windows 11? At Deskmodder I had read that you can also use a reg so that you can bypass the TPM. Can this reg also be integrated into the MSMG Toolkit? This is what the reg looks like that I copied. ------------------------------------------------------------------------- Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\Setup\LabConfig] "BypassTPMCheck"=dword:00000001 "BypassSecureBootCheck"=dword:00000001 -------------------------------------------------------------------------
Awewome Job Tested Working 100%. Thanks a Lot. Yes it can be merged into offline ISO i think we have to just add TK_ before system.
Hello brother this is very simple in any version of Windows only use the group policy is not necessary to remove anything, yet often just disable "things" that you do not like or need
Does anyone know this tool? WhyNotWin11.exe With this tool you can find out whether your PC is compatible with Windows 11 or not How stupid... I tested it anyway
It's not duplicate, it's just used in two different functions Integrate Edge Chromium and Integrate WHD Updates. Don't change this "c^!!EsuFoundation!" it's in correct format, the output will be like "c!xxxxxxxxxxxxxxxxxxxxxxxxx"
You can remove the Windows Defender main package like before either using DISM /Remove-Package or wait till the support is added to the ToolkitHelper Also with Windows 11 the Windows Defender Dash board App (SecHealthUI) is now a store app which can also be removed with DISM /Remove-ProvisionedAppxPackage or wait till the support is added to the ToolkitHelper. For SmartScreen and Security Center you may need to wait until the support is added to the ToolkitHelper.
Actually I'm not in position to add more new components for removal due to time constraints as I'm working on other apps too for which I need to balance the time, that's why I'm only sticking with updating the existing components to support newer builds or OS. In Windows 11 many components have been removed like Adobe Flash for Internet Explorer, Home Group, Setting Sync, 3D Viewer, Mixed Reality Portal, Advertising XAML, OneNote, Paint 3D, Services Store Engagement, Skype and Wallet Service Some new components have been added like Microsoft Edge WebView, Bing News, Gaming App (The new Xbox), Power Automate Desktop, Todos, Windows Terminal, Paint, Notepad. Classic Paint and Notepad have been converted to Store App and the Snipping Tool has been merged with Snip and Sketch App. Also there's one more new App Get Started (Not the old one) which is part of the Windows User Experience Pack system app package which can't been removed as of now.
Code: Removal List Appx Build 21996 Complete Microsoft.549981C3F5F10 Microsoft.BingNews Microsoft.BingWeather Microsoft.DesktopAppInstaller Microsoft.GamingApp Microsoft.GetHelp Microsoft.Getstarted Microsoft.HEIFImageExtension Microsoft.MicrosoftOfficeHub Microsoft.MicrosoftSolitaireCollection Microsoft.MicrosoftStickyNotes Microsoft.Paint Microsoft.People Microsoft.PowerAutomateDesktop Microsoft.ScreenSketch Microsoft.SecHealthUI Microsoft.StorePurchaseApp Microsoft.Todos Microsoft.UI.Xaml.2.4 Microsoft.VCLibs.140.00 Microsoft.VP9VideoExtensions Microsoft.WebMediaExtensions Microsoft.WebpImageExtension Microsoft.Windows.Photos Microsoft.WindowsAlarms Microsoft.WindowsCalculator Microsoft.WindowsCamera microsoft.windowscommunicationsapps Microsoft.WindowsFeedbackHub Microsoft.WindowsMaps Microsoft.WindowsNotepad Microsoft.WindowsSoundRecorder Microsoft.WindowsStore Microsoft.WindowsTerminal Microsoft.Xbox.TCUI Microsoft.XboxGameOverlay Microsoft.XboxGamingOverlay Microsoft.XboxIdentityProvider Microsoft.XboxSpeechToTextOverlay Microsoft.YourPhone Microsoft.ZuneMusic Microsoft.ZuneVideo MicrosoftWindows.Client.WebExperience