# Windows 11 Debloat / Privacy Guide | Beginners To Advanced Users ⭐

**URL:** <https://onehack.st/t/windows-11-debloat-privacy-guide-beginners-to-advanced-users/231672>\
**Category:** Give-Away and Freebies\
**Tags:** privacy, freebies, tips-tricks\
**Created:** [January 20, 2023, 2:06pm UTC](https://onehack.st/t/windows-11-debloat-privacy-guide-beginners-to-advanced-users/231672 "2023-01-20T14:06:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aina](https://onehack.st/user_avatar/onehack.st/aina/32/167469_2.png) [@Aina](https://onehack.st/u/Aina)\
**Post date:** [January 20, 2023, 2:06pm UTC](https://onehack.st/t/windows-11-debloat-privacy-guide-beginners-to-advanced-users/231672/1 "2023-01-20T14:06:15Z")

</div>

![image](https://onehack.st/uploads/default/original/3X/c/3/c31181973dbc91564e64f233f0569d6690407908.jpeg)

# Windows 11 Debloat / Privacy Guide

## IMPORTANT

This guide is meant for advanced users who wants to get rid off Windows 11’s bloatware and telemetry, if you have no experience of such thing then you can consider this [guide](https://youtu.be/QBp1d2uhG5M) for ease.

**Note : You’re doing this at your own risk, I am not responsible for any data loss or damage that may occur.**

`Last tested on Windows 11 22000.376`

### Pros

➕ Get rid of bloatware  
➕ Disable most of the telemetry  
➕ Gain performance  
➕ Optimize Windows 11 for gaming as well as productivity  
➕ Strip Windows 11 to barebones (In Advanced removal below)

### Cons

➖ Breaks Sysprep  
➖ Don’t use sfc/scannow command

## Pre-Requisite

• NTFS Access  
• Install\_Wim\_Tweak.exe  
• DISM++ (Optional but recommended)  
• WinAeroTweaker  
• Linux Live or any other OS on duablboot (if you want to strip to barebone)

## Debloating Windows 11 (Just The Bloatwares)

### Before you debloat!

At the end of the setup process, create a local account, don’t use Cortana and turn off everything in the privacy settings.

[![Screenshot (01)](https://user-images.githubusercontent.com/85176292/132122504-1412f80f-2bac-4671-93f0-fa5204082b59.png)](https://user-images.githubusercontent.com/85176292/132122504-1412f80f-2bac-4671-93f0-fa5204082b59.png) [![Screenshot (02)](https://user-images.githubusercontent.com/85176292/132122505-95823c80-06cc-4037-a48a-7e4a2e0a904a.png)](https://user-images.githubusercontent.com/85176292/132122505-95823c80-06cc-4037-a48a-7e4a2e0a904a.png)

**Make sure you are doing this on a temporary user account because you’ll be deleting this later on**  
Copy and paste the “install\_wim\_tweak.exe” to C:\Windows\System32

[![Screenshot (03)](https://user-images.githubusercontent.com/85176292/132123362-f68c5829-c739-4628-94be-7ca2dc27fb54.png)](https://user-images.githubusercontent.com/85176292/132123362-f68c5829-c739-4628-94be-7ca2dc27fb54.png)

Before debloating if you have recently updated your copy of Windows 11 or just fresh installed it, I would recommend you to cleanup the component store with /resetbase command or use DISM++ for ease, it clears the temp files with update leftovers in WinSxS.

[![Screenshot (04)](https://user-images.githubusercontent.com/85176292/132123367-6e2ebe05-9f93-4c18-86cf-ffb1f7cc34ea.png)](https://user-images.githubusercontent.com/85176292/132123367-6e2ebe05-9f93-4c18-86cf-ffb1f7cc34ea.png)

[![Screenshot (05)](https://user-images.githubusercontent.com/85176292/132123387-5c0b6700-0497-4561-a01f-2ba419455c46.png)](https://user-images.githubusercontent.com/85176292/132123387-5c0b6700-0497-4561-a01f-2ba419455c46.png)

**Note : If DISM++ gives error while cleaning up the component store use this command (Command Prompt as Admin Obviously)**

```auto
DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase

```

After the cleanup is done you can start debloating Windows 11.  
You can debloat using my debloat tool and then continue further optimization from [Finalizing](https://github.com/TheWorldOfPC/Windows11-Debloat-Privacy-Guide#finalizing)

[![Screenshot (1160)](https://user-images.githubusercontent.com/85176292/132950096-30fcdaf0-82f5-45bc-97df-7fe3f730e7de.png)](https://user-images.githubusercontent.com/85176292/132950096-30fcdaf0-82f5-45bc-97df-7fe3f730e7de.png)

Or you can start from here

### Alarms and Clock

```auto
Get-AppxPackage -AllUsers *alarms* | Remove-AppxPackage
Get-AppxPackage -AllUsers *people* | Remove-AppxPackage

```

You can ignore any error that pops up.

### Calculator

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *calc* | Remove-AppxPackage

```

Download Classic Calulator from [Here](https://winaero.com/get-calculator-from-windows-8-and-windows-7-in-windows-10/)

### Mail, Calendar, …

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *comm* | Remove-AppxPackage
Get-AppxPackage -AllUsers *mess* | Remove-AppxPackage

```

### Camera

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *camera* | Remove-AppxPackage

```

Ignore any error that pops up

### Connect

In the command prompt, type:

```auto
install_wim_tweak /o /c Microsoft-PPIProjection-Package /r

```

### Contact Support, Get Help

In the command prompt, type:

```auto
install_wim_tweak /o /c Microsoft-Windows-ContactSupport /r

```

### Cortana (UWP App)

In the powershell, type:

```auto
Get-AppxPackage -allusers Microsoft.549981C3F5F10 | Remove-AppxPackage

```

### Music, TV

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *zune* | Remove-AppxPackage
Get-WindowsPackage -Online | Where PackageName -like *MediaPlayer* | Remove-WindowsPackage -Online -NoRestart

```

### Groove Music

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *zune* | Remove-AppxPackage

```

### Microsoft Solitare Collection

In the PowerShell, type:

```auto
Get-AppxPackage *Microsoft.MicrosoftSolitaireCollection* | Remove-AppxPackage

```

### Office

In the PowerShell, type:

```auto
Get-AppxPackage *Microsoft.MicrosoftOfficeHub* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Office.Sway* | Remove-AppxPackage
Get-AppxPackage *Microsoft.Office.Desktop* | Remove-AppxPackage

```

### Get Help

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *GetHelp* | Remove-AppxPackage

```

### Feedback Hub

In the PowerShell, type:

```auto
Get-AppxPackage *Microsoft.WindowsFeedbackHub* | Remove-AppxPackage

```

### Sticky Notes

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *sticky* | Remove-AppxPackage

```

### Maps

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *maps* | Remove-AppxPackage

```

### Removing Services

In Command Prompt, type:

```auto
sc delete MapsBroker
sc delete lfsvc
schtasks /Change /TN "\Microsoft\Windows\Maps\MapsUpdateTask" /disable
schtasks /Change /TN "\Microsoft\Windows\Maps\MapsToastTask" /disable

```

### OneNote

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *onenote* | Remove-AppxPackage

```

### Photos

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *photo* | Remove-AppxPackage

```

Enable Classic Photoviewer using [WinAeroTweaker](https://winaero.com/download-winaero-tweaker/)

### Weather, News, …

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *bing* | Remove-AppxPackage

```

### Sound Recorder

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *soundrec* | Remove-AppxPackage

```

Alternatives [Audacity](http://www.audacityteam.org/)

### Microsoft Quick Assist

In the PowerShell, type:

```auto
Get-WindowsPackage -Online | Where PackageName -like *QuickAssist* | Remove-WindowsPackage -Online -NoRestart

```

### OneDrive

In the Command Promopt, type:

```auto
%SystemRoot%\SysWOW64\OneDriveSetup.exe /uninstall
rd "%UserProfile%\OneDrive" /s /q
rd "%LocalAppData%\Microsoft\OneDrive" /s /q
rd "%ProgramData%\Microsoft OneDrive" /s /q
rd "C:\OneDriveTemp" /s /q
del "%USERPROFILE%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\OneDrive.lnk" /s /f /q

```

### Your Phone

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *phone* | Remove-AppxPackage

```

### Hello Face

In the PowerShell, type:

```auto
Get-WindowsPackage -Online | Where PackageName -like *Hello-Face* | Remove-WindowsPackage -Online -NoRestart

```

In the command prompt, type:

```auto
schtasks /Change /TN "\Microsoft\Windows\HelloFace\FODCleanupTask" /Disable

```

### Microsoft Store

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *store* | Remove-AppxPackage

```

You can ignore any error that pops up.

In Command Prompt, type:

```auto
install_wim_tweak /o /c Microsoft-Windows-ContentDeliveryManager /r
install_wim_tweak /o /c Microsoft-Windows-Store /r

```

### Removing Services (Not Recommended if you are going to use any UWP app)

In Command Prompt, type:

```auto
reg add "HKLM\Software\Policies\Microsoft\WindowsStore" /v RemoveWindowsStore /t REG_DWORD /d 1 /f
reg add "HKLM\Software\Policies\Microsoft\WindowsStore" /v DisableStoreApps /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\PushToInstall" /v DisablePushToInstall /t REG_DWORD /d 1 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" /v SilentInstalledAppsEnabled /t REG_DWORD /d 0 /f
sc delete PushToInstall

```

### Xbox and Game DVR

In the PowerShell, type:

```auto
Get-AppxPackage -AllUsers *xbox* | Remove-AppxPackage

```

### Removing Services (Not Recommended if you are going to use it in future)

In Command Prompt, type:

```auto
sc delete XblAuthManager
sc delete XblGameSave
sc delete XboxNetApiSvc
sc delete XboxGipSvc
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\xbgm" /f
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTask" /disable
schtasks /Change /TN "Microsoft\XblGameSave\XblGameSaveTaskLogon" /disable
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\GameDVR" /v AllowGameDVR /t REG_DWORD /d 0 /f

```

### Microsoft Edge (Chromium)

[![Screenshot (07)](https://user-images.githubusercontent.com/85176292/132125057-ab8b2dbb-bb0a-4dc3-88c2-418f683e5332.png)](https://user-images.githubusercontent.com/85176292/132125057-ab8b2dbb-bb0a-4dc3-88c2-418f683e5332.png)

Now open powershell as Administrator and type:

```auto
cd %PROGRAMFILES(X86)%\Microsoft\Edge\Application\9*\Installer && setup --uninstall --force-uninstall --system-level

```

Microsoft Edge is now uninstalled but you still can see a broken icon on start menu to get rid off it open command prompt and type:

[![Screenshot (08)](https://user-images.githubusercontent.com/85176292/132125728-0bca64ec-243b-4d22-865a-2f17ac82d478.png)](https://user-images.githubusercontent.com/85176292/132125728-0bca64ec-243b-4d22-865a-2f17ac82d478.png)

```auto
install_wim_tweak.exe /o /l
install_wim_tweak.exe /o /c "Microsoft-Windows-Internet-Browser-Package" /r
install_wim_tweak.exe /h /o /l

```

Restart is required after this (you can restart later when you are done debloating everything)

In Powershell, type:

```auto
Get-AppxPackage -AllUsers *GetHelp* | Remove-AppxPackage

```

### Windows Defender (Breaks Windows Updates)

In the command prompt, type:

```auto
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer" /v SmartScreenEnabled /t REG_SZ /d "Off" /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\AppHost" /v "EnableWebContentEvaluation" /t REG_DWORD /d "0" /f
reg add "HKCU\Software\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppContainer\Storage\microsoft.microsoftedge_8wekyb3d8bbwe\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d "0" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender" /v DisableAntiSpyware /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SpyNetReporting /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v SubmitSamplesConsent /t REG_DWORD /d 2 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows Defender\Spynet" /v DontReportInfectionInformation /t REG_DWORD /d 1 /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\Sense" /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontReportInfectionInformation" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MRT" /v "DontOfferThroughWUAU" /t REG_DWORD /d 1 /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Run" /v "SecurityHealth" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\StartupApproved\Run" /v "SecurityHealth" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\SecHealthUI.exe" /v Debugger /t REG_SZ /d "%windir%\System32\taskkill.exe" /f
install_wim_tweak /o /c Windows-Defender /r
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Notifications\Settings\Windows.SystemToast.SecurityAndMaintenance" /v "Enabled" /t REG_DWORD /d 0 /f
reg delete "HKLM\SYSTEM\CurrentControlSet\Services\SecurityHealthService" /f

```

**Restart your PC** after that use NTFS Access and take ownership of C:\Program Files\WindowsApps\ & C:\ProgramData\Microsoft

[![Screenshot (09)](https://user-images.githubusercontent.com/85176292/132126349-d91c4b65-f3c4-412e-a0c9-bba4c039ac30.png)](https://user-images.githubusercontent.com/85176292/132126349-d91c4b65-f3c4-412e-a0c9-bba4c039ac30.png)

In WindowsApps delete the SecHealthUI folder

[![Screenshot (10)](https://user-images.githubusercontent.com/85176292/132126362-c47be7df-d62f-4212-bd07-97714fd47041.png)](https://user-images.githubusercontent.com/85176292/132126362-c47be7df-d62f-4212-bd07-97714fd47041.png)

In ProgramData\Microsoft delete every folder related to Windows Defender

[![Screenshot (11)](https://user-images.githubusercontent.com/85176292/132126653-1cbec29b-4c31-49f0-b596-b230913f4f30.png)](https://user-images.githubusercontent.com/85176292/132126653-1cbec29b-4c31-49f0-b596-b230913f4f30.png)

### Windows Defender (Keeping Windows Updates)

Just take the ownership of C:\Program Files\WindowsApps\ and C:\ProgramData\Microsoft  
Then delete the SecHealthUI folder insider WindowsApps and every folder related to Windows Defender inside ProgramData  
Now disable Windows Defender through WinAeroTweaker

### OPTIMIZING

Now since you have removed all the bloatware let’s just finally delete the leftovers from C:\Program Files\WindowsApps  
Take the ownership as we did above  
Now delete folders according to what apps you removed…

For Ex. I’ve removed everything and kept Store, Xbox, Notepad (UWP) and Windows Terminal

[![Screenshot (12)](https://user-images.githubusercontent.com/85176292/132127306-370369f6-d9f0-4a39-87e4-9b1eaa35eef8.png)](https://user-images.githubusercontent.com/85176292/132127306-370369f6-d9f0-4a39-87e4-9b1eaa35eef8.png)

And here I’ve removed every bloatware

[![Screenshot (13)](https://user-images.githubusercontent.com/85176292/132127308-3c44ff88-4dd9-4595-a1c9-f868c77ff33c.png)](https://user-images.githubusercontent.com/85176292/132127308-3c44ff88-4dd9-4595-a1c9-f868c77ff33c.png)

Now create a new user account or enable Windows Administrator Account, log into it and voila!  
You Have Successfully Debloated Windows 11!

[![Screenshot (14)](https://user-images.githubusercontent.com/85176292/132127314-a39be4cc-f084-4190-81e5-c44306db1edf.png)](https://user-images.githubusercontent.com/85176292/132127314-a39be4cc-f084-4190-81e5-c44306db1edf.png)

Unfortunately there is no way to remove “Get Started App” from the start menu without breaking the new startmenu/taskbar (at least for now) so let’s just pretend it’s not there at all 🙂

## Basic Tweaking

### Removing Options from Settings Apps

Now since you have removed the bloatware it is recommended to remove the options related to them from the settings apps  
Open Regedit and go to `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer`  
Create new string named ‘SettingsPageVisibility’  
now type

```auto
hide:cortana;crossdevice;easeofaccess-speechrecognition;holographic-audio;mobile-devices;privacy-automaticfiledownloads;privacy-feedback;recovery;remotedesktop;speech;sync;sync;easeofaccess-closedcaptioning;easeofaccess-highcontrast;easeofaccess-keyboard;easeofaccess-magnifier;easeofaccess-mouse;easeofaccess-narrator;easeofaccess-otheroptions;privacy-location;backup;findmydevice;quiethours;tabletmode

```

TIP : Add `;windowsdefender` at the end of the string value if you have removed Windows Defender as well (doesn’t matter if u kept updates or not)

### Edit with 3D Paint / 3D Print

It is now possible to remove 3D Paint and 3D Print, but they forgot to remove the option in the context menu when you remove them. To remove it, run this in the command prompt:

```auto
for /f "tokens=1* delims=" %I in (' reg query "HKEY_CLASSES_ROOT\SystemFileAssociations" /s /k /f "3D Edit" ^| find /i "3D Edit" ') do (reg delete "%I" /f )
for /f "tokens=1* delims=" %I in (' reg query "HKEY_CLASSES_ROOT\SystemFileAssociations" /s /k /f "3D Print" ^| find /i "3D Print" ') do (reg delete "%I" /f )

```

### Disabling Cortana

Open our command prompt again and use this command:

```auto
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Search" /v AllowCortana /t REG_DWORD /d 0 /f
reg add "HKLM\SYSTEM\CurrentControlSet\Services\SharedAccess\Parameters\FirewallPolicy\FirewallRules" /v "{2765E0F4-2918-4A46-B9C9-43CDD8FCBA2B}" /t REG_SZ /d "BlockCortana|Action=Block|Active=TRUE|Dir=Out|App=C:\windows\systemapps\microsoft.windows.cortana_cw5n1h2txyewy\searchui.exe|Name=Search and Cortana application|AppPkgId=S-1-15-2-1861897761-1695161497-2927542615-642690995-327840285-2659745135-2630312742|" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v BingSearchEnabled /t REG_DWORD /d 0 /f

```

### Turn off Windows Error reporting

In the command prompt, type:

```auto
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows\Windows Error Reporting" /v Disabled /t REG_DWORD /d 1 /f

```

### Windows Updates (Keeping Store Unaffected)

By doing this you will still be able to use Windows Store (Windows Updates service will run in background) without downloading any update  
Open Regedit and go to `HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer`  
Open the string we created earlier and type `;windowsupdate` at the end

### Disabling Windows Updates (Effects Windows Store)

By doing this you will not be able to use Microsoft Store or any other app which requires Windows Updates to be enabled Open Command Prompt and type:

```auto
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\wuauserv" /v Start /t REG_DWORD /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\UsoSvc" /v Start /t REG_DWORD /d 4 /f
reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DoSvc" /v Start /t REG_DWORD /d 4 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v NoAutoUpdate /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v AUOptions /t REG_DWORD /d 2 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallDay /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU" /v ScheduledInstallTime /t REG_DWORD /d 3 /f

```

### Disable sync

It doesn’t really affect you if you’re not using a Microsoft Account, but it will at least disable the Sync settings from the Settings app. In the command prompt, type:

```auto
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSync /t REG_DWORD /d 2 /f
reg add "HKLM\Software\Policies\Microsoft\Windows\SettingSync" /v DisableSettingSyncUserOverride /t REG_DWORD /d 1 /f

```

### Removing Telemetry and other unnecessary services

In the command prompt type the following commands:

```auto
sc delete DiagTrack
sc delete dmwappushservice
sc delete WerSvc
sc delete OneSyncSvc
sc delete MessagingService
sc delete wercplsupport
sc delete PcaSvc
sc config wlidsvc start=demand
sc delete wisvc
sc delete RetailDemo
sc delete diagsvc
sc delete shpamsvc 
sc delete TermService
sc delete UmRdpService
sc delete SessionEnv
sc delete TroubleshootingSvc
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "wscsvc" ^| find /i "wscsvc"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "OneSyncSvc" ^| find /i "OneSyncSvc"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "MessagingService" ^| find /i "MessagingService"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "PimIndexMaintenanceSvc" ^| find /i "PimIndexMaintenanceSvc"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "UserDataSvc" ^| find /i "UserDataSvc"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "UnistoreSvc" ^| find /i "UnistoreSvc"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "BcastDVRUserService" ^| find /i "BcastDVRUserService"') do (reg delete %I /f)
for /f "tokens=1" %I in ('reg query "HKLM\SYSTEM\CurrentControlSet\Services" /k /f "Sgrmbroker" ^| find /i "Sgrmbroker"') do (reg delete %I /f)
sc delete diagnosticshub.standardcollector.service
reg add "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "NumberOfSIUFInPeriod" /t REG_DWORD /d 0 /f
reg delete "HKEY_CURRENT_USER\SOFTWARE\Microsoft\Siuf\Rules" /v "PeriodInNanoSeconds" /f
reg add "HKLM\SYSTEM\ControlSet001\Control\WMI\AutoLogger\AutoLogger-Diagtrack-Listener" /v Start /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v AITEnable /t REG_DWORD /d 0 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableInventory /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisablePCA /t REG_DWORD /d 1 /f
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\AppCompat" /v DisableUAR /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\MicrosoftEdge\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f
reg add "HKLM\SOFTWARE\Policies\Microsoft\Windows\System" /v "EnableSmartScreen" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Internet Explorer\PhishingFilter" /v "EnabledV9" /t REG_DWORD /d 0 /f
reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoRecentDocsHistory" /t REG_DWORD /d 1 /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\CompatTelRunner.exe" /v Debugger /t REG_SZ /d "%windir%\System32\taskkill.exe" /f
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\DeviceCensus.exe" /v Debugger /t REG_SZ /d "%windir%\System32\taskkill.exe" /f

```

### Scheduled tasks

In command prompt type:

```auto
schtasks /Change /TN "Microsoft\Windows\AppID\SmartScreenSpecific" /disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\AitAgent" /disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\Microsoft Compatibility Appraiser" /disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\ProgramDataUpdater" /disable
schtasks /Change /TN "Microsoft\Windows\Application Experience\StartupAppTask" /disable
schtasks /Change /TN "Microsoft\Windows\Autochk\Proxy" /disable
schtasks /Change /TN "Microsoft\Windows\CloudExperienceHost\CreateObjectTask" /disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\BthSQM" /disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Consolidator" /disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\KernelCeipTask" /disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\Uploader" /disable
schtasks /Change /TN "Microsoft\Windows\Customer Experience Improvement Program\UsbCeip" /disable
schtasks /Change /TN "Microsoft\Windows\DiskDiagnostic\Microsoft-Windows-DiskDiagnosticDataCollector" /disable
schtasks /Change /TN "Microsoft\Windows\DiskFootprint\Diagnostics" /disable
schtasks /Change /TN "Microsoft\Windows\FileHistory\File History (maintenance mode)" /disable
schtasks /Change /TN "Microsoft\Windows\Maintenance\WinSAT" /disable
schtasks /Change /TN "Microsoft\Windows\PI\Sqm-Tasks" /disable
schtasks /Change /TN "Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyMonitor" /disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyRefresh" /disable
schtasks /Change /TN "Microsoft\Windows\Shell\FamilySafetyUpload" /disable
schtasks /Change /TN "Microsoft\Windows\Windows Error Reporting\QueueReporting" /disable
schtasks /Change /TN "Microsoft\Windows\WindowsUpdate\Automatic App Update" /disable
schtasks /Change /TN "Microsoft\Windows\License Manager\TempSignedLicenseExchange" /disable
schtasks /Change /TN "Microsoft\Windows\Clip\License Validation" /disable
schtasks /Change /TN "\Microsoft\Windows\ApplicationData\DsSvcCleanup" /disable
schtasks /Change /TN "\Microsoft\Windows\Power Efficiency Diagnostics\AnalyzeSystem" /disable
schtasks /Change /TN "\Microsoft\Windows\PushToInstall\LoginCheck" /disable
schtasks /Change /TN "\Microsoft\Windows\PushToInstall\Registration" /disable
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyMonitor" /disable
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyMonitorToastTask" /disable
schtasks /Change /TN "\Microsoft\Windows\Shell\FamilySafetyRefreshTask" /disable
schtasks /Change /TN "\Microsoft\Windows\Subscription\EnableLicenseAcquisition" /disable
schtasks /Change /TN "\Microsoft\Windows\Subscription\LicenseAcquisition" /disable
schtasks /Change /TN "\Microsoft\Windows\Diagnosis\RecommendedTroubleshootingScanner" /disable
schtasks /Change /TN "\Microsoft\Windows\Diagnosis\Scheduled" /disable
schtasks /Change /TN "\Microsoft\Windows\NetTrace\GatherNetworkInfo" /disable
del /F /Q "C:\Windows\System32\Tasks\Microsoft\Windows\SettingSync\*" 

```

## Disabling Useless Services and Applying some tweaks

Use the batch script to disable some useless services and the reg file to import some tweaks

## Tweaks by WinAeroTweaker

Simply install WinAeroTweaker and import the preset made by me (.ini file)

[![Screenshot (1672)](https://user-images.githubusercontent.com/85176292/147569287-a7223dc9-3081-4289-b18e-8f71507e8d02.png)](https://user-images.githubusercontent.com/85176292/147569287-a7223dc9-3081-4289-b18e-8f71507e8d02.png)

## (OPTIONAL) Disabling Windows Updates & Store related services

Use the batch script to disable them.

## Stripping Windows 11 to barebone!

**NOTE : The stripping method doesn’t work on 22000.184 and above builds, though the registry one does**

## For Build 22000.184/22454.1000 and above

Open WinAeroTweaker and enable the classic windows 10 start menu  
sign out and sign in again to let the changes take place, and there you have the old Windows 10 start menu, after 22000.132 it’s broken but before this update you can still use it . Now continue from [Making it usable](https://github.com/TheWorldOfPC/Windows11-Debloat-Privacy-Guide#Making-it-usable)

[![Screenshot (1185)](https://user-images.githubusercontent.com/85176292/132989873-06223852-2fd5-41bc-b79d-293338ad7d06.png)](https://user-images.githubusercontent.com/85176292/132989873-06223852-2fd5-41bc-b79d-293338ad7d06.png)

## For Build 22000.176 and older

To remove the new taskbar you need to dualboot to any other OS or use Linux Live (any distro)  
Now use NTFS Access and gain ownership of C:\Windows\SystemApps\

[![Screenshot (1004)](https://user-images.githubusercontent.com/85176292/132132735-421f9e2f-8aab-4570-9ebc-2670e9c2cbfd.png)](https://user-images.githubusercontent.com/85176292/132132735-421f9e2f-8aab-4570-9ebc-2670e9c2cbfd.png)

Now delete the folder named “MicrosoftWindows.Client.CBS\_cw5n1h2txyewy”

[![Screenshot (1005)](https://user-images.githubusercontent.com/85176292/132132744-5e804520-0538-4b23-ae6a-a4686476c013.png)](https://user-images.githubusercontent.com/85176292/132132744-5e804520-0538-4b23-ae6a-a4686476c013.png)

Now just boot back to Windows 11, you’ll notice a broken taskbar  
Press Win Key + R and type “netplwiz” and press enter

[![Screenshot (3)](https://user-images.githubusercontent.com/85176292/132132748-3ddd7117-f1b7-4359-893a-9fae2cd240d0.png)](https://user-images.githubusercontent.com/85176292/132132748-3ddd7117-f1b7-4359-893a-9fae2cd240d0.png)

Now create a new user account, log out of the current one and log into the new one

[![Screenshot (4)](https://user-images.githubusercontent.com/85176292/132132754-c51f2c7d-ca2b-4fad-ba28-24021780570f.png)](https://user-images.githubusercontent.com/85176292/132132754-c51f2c7d-ca2b-4fad-ba28-24021780570f.png)

and there you have the old Windows 10 start menu, after 22000.132 it’s broken but before this update you can still use it

### Making it usable

Well since the Win10 start menu is broken we need an alternative to it like [StartAllBack](https://www.startallback.com/).

[![Screenshot (1)](https://user-images.githubusercontent.com/85176292/147569057-49849363-c0c4-49cc-9646-85dc38dc05e2.png)](https://user-images.githubusercontent.com/85176292/147569057-49849363-c0c4-49cc-9646-85dc38dc05e2.png) [![Screenshot (2)](https://user-images.githubusercontent.com/85176292/147569068-ad579193-8a28-46f5-a539-4b41caf359a6.png)](https://user-images.githubusercontent.com/85176292/147569068-ad579193-8a28-46f5-a539-4b41caf359a6.png)

## And here you have Windows 11 Barebone!

By removing the new start menu and taskbar files we also remove the new explorer UI and context menu, but as I said if you are not a big fan of the new UI it won’t matter.

[![Screenshot (3)](https://user-images.githubusercontent.com/85176292/147568962-77363296-6bb6-4a6b-a0d6-87c604cb9178.jpg)](https://user-images.githubusercontent.com/85176292/147568962-77363296-6bb6-4a6b-a0d6-87c604cb9178.jpg)

## Congratulations! Your copy of Windows is now Debloated & Optimized!

Things will change in the future, and I’ll do what I can to keep this guide updated. As of December 2021, this guide works on Windows 11 22000.376

## Credits

• This guide is based on Adolf Intel’s [Windows 10 Privacy Guide](https://github.com/adolfintel/Windows10-Privacy) with many modifications to make it usable on Windows 11  
• Thanks to PPGSource#3112 from my discord server for stripping Windows 11 to barebones  
• Guide by The World Of PC#8783  
• [Discord Server](https://discord.gg/WtmzZ4EEjt)  
• [Youtube Channel](https://www.youtube.com/channel/UCphlFqj7Xa9INM3DIvtXUhA/)

`Source: GitHub`

# **ENJOY & HAPPY LEARNING!** ❤

Appreciate the share & feedback! don’t be cheap!

![](https://i.ibb.co/rwpPJZy/Leechers.gif)
