|
GTUTO https://www.gtuto.com/windows-11-enleve-inutiles/ Export date: Sun May 17 0:07:32 2026 / +0000 GMT |
Windows 11 enlève inutilespowershell adm # ============================================================
# Windows 11 Debloat Script
# Version SAFE commentée
#
# Supprime / désactive :
# - Copilot
# - OneDrive
# - télémétrie
# - Recall
# - publicité Microsoft
# - services inutiles
# - bloatwares
#
# Sections volontairement RETIRÉES :
# - suppression complète de Windows Defender
# (trop risqué / instable sur Windows 11 moderne)
#
# Exécuter EN ADMINISTRATEUR
# ============================================================
Write-Host ""
Write-Host "========================================="
Write-Host " Windows 11 Debloat Script"
Write-Host "========================================="
Write-Host ""
# ------------------------------------------------------------
# Vérification administrateur
# ------------------------------------------------------------
If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole(
[Security.Principal.WindowsBuiltInRole] "Administrator"))
{
Write-Host "Veuillez lancer PowerShell en administrateur."
Pause
Exit
}
# ============================================================
# SECTION : DESACTIVATION COPILOT
# ============================================================
Write-Host ""
Write-Host "Désactivation Copilot..."
New-Item `
-Path "HKCU:SoftwarePoliciesMicrosoftWindows" `
-Name "WindowsCopilot" `
-Force | Out-Null
Set-ItemProperty `
-Path "HKCU:SoftwarePoliciesMicrosoftWindowsWindowsCopilot" `
-Name "TurnOffWindowsCopilot" `
-Type DWord `
-Value 1
# ============================================================
# SECTION : SUPPRESSION ONEDRIVE
# ============================================================
Write-Host ""
Write-Host "Suppression OneDrive..."
taskkill /f /im OneDrive.exe 2>$null
Start-Process `
"$env:SystemRootSysWOW64OneDriveSetup.exe" `
"/uninstall" `
-NoNewWindow `
-Wait
Remove-Item `
"$env:USERPROFILEOneDrive" `
-Recurse `
-Force `
-ErrorAction SilentlyContinue
Remove-Item `
"C:OneDriveTemp" `
-Recurse `
-Force `
-ErrorAction SilentlyContinue
# ============================================================
# SECTION : DESACTIVATION TELEMETRIE
# ============================================================
Write-Host ""
Write-Host "Désactivation télémétrie..."
New-Item `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsDataCollection" `
-Force | Out-Null
Set-ItemProperty `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsDataCollection" `
-Name "AllowTelemetry" `
-Type DWord `
-Value 0
$telemetryServices = @(
"DiagTrack",
"dmwappushservice"
)
foreach ($service in $telemetryServices)
{
Stop-Service $service `
-Force `
-ErrorAction SilentlyContinue
Set-Service `
$service `
-StartupType Disabled `
-ErrorAction SilentlyContinue
}
# ============================================================
# SECTION : DESACTIVATION PUBLICITES MICROSOFT
# ============================================================
Write-Host ""
Write-Host "Suppression publicité Microsoft..."
Set-ItemProperty `
-Path "HKCU:SoftwareMicrosoftWindowsCurrentVersionContentDeliveryManager" `
-Name "SubscribedContent-338388Enabled" `
-Type DWord `
-Value 0
Set-ItemProperty `
-Path "HKCU:SoftwareMicrosoftWindowsCurrentVersionContentDeliveryManager" `
-Name "SubscribedContent-353694Enabled" `
-Type DWord `
-Value 0
Set-ItemProperty `
-Path "HKCU:SoftwareMicrosoftWindowsCurrentVersionContentDeliveryManager" `
-Name "SubscribedContent-353696Enabled" `
-Type DWord `
-Value 0
Set-ItemProperty `
-Path "HKCU:SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" `
-Name "ShowSyncProviderNotifications" `
-Type DWord `
-Value 0
# ============================================================
# SECTION : DESACTIVATION WINDOWS RECALL
# ============================================================
Write-Host ""
Write-Host "Désactivation Recall..."
New-Item `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsAI" `
-Force | Out-Null
Set-ItemProperty `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsWindowsAI" `
-Name "DisableAIDataAnalysis" `
-Type DWord `
-Value 1
# ============================================================
# SECTION : DESACTIVATION SERVICES INUTILES
# ============================================================
Write-Host ""
Write-Host "Désactivation services inutiles..."
$services = @(
"MapsBroker",
"Fax",
"XblAuthManager",
"XblGameSave",
"XboxNetApiSvc",
"WSearch",
"RemoteRegistry",
"WerSvc",
"DiagTrack"
)
foreach ($service in $services)
{
Stop-Service `
$service `
-Force `
-ErrorAction SilentlyContinue
Set-Service `
$service `
-StartupType Disabled `
-ErrorAction SilentlyContinue
}
# ============================================================
# SECTION : SUPPRESSION BLOATWARES WINDOWS
# ============================================================
Write-Host ""
Write-Host "Suppression applications préinstallées..."
$bloat = @(
"*Xbox*",
"*ZuneMusic*",
"*ZuneVideo*",
"*BingNews*",
"*GetHelp*",
"*MicrosoftSolitaireCollection*",
"*MicrosoftTeams*",
"*SkypeApp*",
"*Clipchamp*"
)
foreach ($app in $bloat)
{
Get-AppxPackage $app |
Remove-AppxPackage `
-ErrorAction SilentlyContinue
}
# ============================================================
# SECTION : NETTOYAGE MENU DEMARRER
# ============================================================
Write-Host ""
Write-Host "Nettoyage menu démarrer..."
Set-ItemProperty `
-Path "HKCU:SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced" `
-Name "Start_IrisRecommendations" `
-Type DWord `
-Value 0
# ============================================================
# SECTION : DESACTIVATION TRACKING ACTIVITES
# ============================================================
Write-Host ""
Write-Host "Désactivation tracking activité..."
New-Item `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsSystem" `
-Force | Out-Null
Set-ItemProperty `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsSystem" `
-Name "PublishUserActivities" `
-Type DWord `
-Value 0
Set-ItemProperty `
-Path "HKLM:SOFTWAREPoliciesMicrosoftWindowsSystem" `
-Name "UploadUserActivities" `
-Type DWord `
-Value 0
# ============================================================
# SECTION : NETTOYAGE TEMPORAIRES
# ============================================================
Write-Host ""
Write-Host "Nettoyage fichiers temporaires..."
Remove-Item `
"$env:TEMP*" `
-Recurse `
-Force `
-ErrorAction SilentlyContinue
# ============================================================
# SECTION RETIREE : SUPPRESSION DEFENDER
# ============================================================
# ------------------------------------------------------------
# Cette section a été volontairement retirée.
#
# Raisons :
# - Windows 11 réinstalle souvent Defender automatiquement
# - suppression complète peut casser Windows Update
# - peut provoquer instabilités système
# - certaines versions nécessitent TrustedInstaller
# - Microsoft protège fortement Defender désormais
#
# Alternative recommandée :
#
# Désactivation partielle :
#
# Set-MpPreference -DisableRealtimeMonitoring $true
#
# ou utilisation d'un outil externe :
# - Defender Control
# - O&O ShutUp10++
# - Sophia Script
#
# ------------------------------------------------------------
# ============================================================
# FIN
# ============================================================
Write-Host ""
Write-Host "========================================="
Write-Host " Optimisation terminée."
Write-Host " Redémarrez votre PC."
Write-Host "========================================="
Write-Host ""
Pause
|
Links:
|
|
Post date: 2026-05-16 07:04:10 Post date GMT: 2026-05-16 07:04:10 Post modified date: 2026-05-16 08:10:08 Post modified date GMT: 2026-05-16 08:10:08 |
|
Export date: Sun May 17 0:07:32 2026 / +0000 GMT This page was exported from GTUTO [ https://www.gtuto.com ] Export of Post and Page has been powered by [ Universal Post Manager ] plugin from www.ProfProjects.com |