{"id":1413,"date":"2026-07-18T15:06:07","date_gmt":"2026-07-18T13:06:07","guid":{"rendered":"https:\/\/serer.fr\/?p=1413"},"modified":"2026-07-18T17:47:35","modified_gmt":"2026-07-18T15:47:35","slug":"lab-windows-optimisation-de-ta-vm-debloater","status":"publish","type":"post","link":"https:\/\/serer.fr\/?p=1413","title":{"rendered":"Lab &#8211; Windows : Optimisation de ta VM (debloater)"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Il est souvent utile d&rsquo;avoir sous la main un Windows tout frais pour tester une application un peu envahissante et\/ou la confiance n&rsquo;est pas absolue. C&rsquo;est souvent le cas pour des applications touchant au syst\u00e8me pour des optimisations ou une potion magique r\u00e9glant tous les probl\u00e8mes en cliquant sur \u00ab\u00a0suivant\u00a0\u00bb.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Mais voil\u00e0, avoir deux Windows sur la m\u00eame machine ou h\u00e9berger sur un proxmox, c&rsquo;est compliqu\u00e9 d&rsquo;avoir un minimum de performance.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Je propose donc une optimisation de ta VM de test pour se sentir moins \u00e0 l&rsquo;\u00e9troit. Les listes propos\u00e9es ne sont pas exhaustives et sont \u00e0 adapter a chaque besoin. Toutes fois, il n&rsquo;y a pas d&rsquo;\u00e9l\u00e9ments essentiels risquant de cass\u00e9 le syst\u00e8me (\u00e9cran bleu).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Arr\u00eat de service inutiles<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Service de l&rsquo;assistant de compatibilit\u00e9 des programmes ? => compatibilit\u00e9 descendante avec Windows 7 et moins<\/li>\n\n\n\n<li>Windows Search ? => Ne d\u00e9sactive pas la recherche, mais l&rsquo;indexation de la recherche donc la recherche sera un peu plus lente, c&rsquo;est tout.<\/li>\n\n\n\n<li>Service de rapport d&rsquo;erreur Windows ? => Sert au diagnostique de panne pour les utilisateurs avanc\u00e9s<\/li>\n\n\n\n<li>Superfetch \/ Sysmain ? => Pr\u00e9chargement de programme au d\u00e9marrage de la machine, il rend un peu plus rapide le chargement d&rsquo;office (par exemple) pour les autres programmes le gain est transparent.<\/li>\n\n\n\n<li>Gestionnaire de carte de t\u00e9l\u00e9charg\u00e9 ?=> Sert pour le programme de carte style google MAP<\/li>\n\n\n\n<li>Xbox ? => Inutile si pas d&rsquo;abonnement X BOX<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Service | Where-Object {$_.Name -like \"*PcaSvc*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*WSearch*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*WerSvc*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*SysMain*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*Xbox*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*OneDrive*\"} | Stop-Service -Force<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Service bonus suivant l&rsquo;utilisation<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Spooler d&rsquo;impression ? => Inutile si pas d&rsquo;imprimante rattach\u00e9 \u00e0 la machine<\/li>\n\n\n\n<li>Service de biom\u00e9trie Windows ? => Inutile si l&rsquo;on n&rsquo;utilise pas la reconnaissance faciale ou un lecteur d&#8217;empreinte<\/li>\n\n\n\n<li>Service d&rsquo;exp\u00e9rience des utilisateurs et t\u00e9l\u00e9m\u00e9trie  ? => Inutile si la machine n&rsquo;est pas un Windows insider<\/li>\n\n\n\n<li>Apple mobile device service ? => Inutile si aucun t\u00e9l\u00e9phone n&rsquo;est connect\u00e9 avec votre Windows<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Get-Service | Where-Object {$_.Name -like \"*Spooler*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*WbioSrvc*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*DiagTrack*\"} | Stop-Service -Force\nGet-Service | Where-Object {$_.Name -like \"*WEPHOSTSVC*\"} | Stop-Service -Force<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Application inutile<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Alarme ? => Fournit une alarme avec une notification<\/li>\n\n\n\n<li>Family ? => Application de d\u00e9finition d&rsquo;un groupe de compte Microsoft formant une famille <\/li>\n\n\n\n<li>Feedback hub ? => Application pour envoyer des commentaires a Microsoft en cas d&rsquo;erreur ou dans le cadre du programme insider<\/li>\n\n\n\n<li>Microsoft Bing ? => Force le moteur Bing dans toutes les applications<\/li>\n\n\n\n<li>Microsoft News ? => Affiche des popups avec les news Bing<\/li>\n\n\n\n<li>Microsoft Teams ? => Un excellents outils en entreprise, mais a du mal \u00e0 trouver son public<\/li>\n\n\n\n<li>Microsoft One Drive ? => Un excellents outils en entreprise, mais trop limit\u00e9 avec le plan gratuit (5 go)<\/li>\n\n\n\n<li>Microsoft To Do ? => Mouais, c&rsquo;est inutile.<\/li>\n\n\n\n<li>Outlook ? => Un excellents outils en entreprise, mais pareil pour le grand public l&rsquo;int\u00e9r\u00eat est limit\u00e9 face aux interfaces Web.<\/li>\n\n\n\n<li>Quick Assit ? => Permet de solliciter de l&rsquo;aide aupr\u00e8s d&rsquo;un ami et partager son \u00e9cran.<\/li>\n\n\n\n<li>Power Automate ? => D\u00e9veloppement d&rsquo;agent IA est gourmand en ressource et donc inutile sur une VM<\/li>\n\n\n\n<li>Start Experiences App ? => C&rsquo;est l&rsquo;application qui ce lance au premier d\u00e9marrage pour pr\u00e9senter les fonctionnalit\u00e9s Windows<\/li>\n\n\n\n<li>Sticky notes ? => Pour mettre des post-it sur le bureau.<\/li>\n\n\n\n<li>Weather ? => L&rsquo;application m\u00e9t\u00e9o a peu d&rsquo;int\u00e9r\u00eat, car elle vous localise en fonction de votre adresse IP et non sur votre position GPS<\/li>\n\n\n\n<li>Xbox ? => Inutile si pas d&rsquo;abonnement X BOX<\/li>\n\n\n\n<li>Xbox Live ? => Inutile si pas d&rsquo;abonnement X BOX<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code># D\u00e9installation des applications via PowerShell\n    $apps = @(\n        \"Microsoft.WindowsConsumerFeedback\",  # Feedback Hub\n        \"Microsoft.Bing\",                     # Bing\n        \"Microsoft.BingNews\",                 # News\n        \"MicrosoftTeams\",                     # Teams\n        \"Microsoft.OneDriveSync\",             # OneDrive\n        \"Microsoft.Todos\",                    # To Do\n        \"Microsoft.OutlookForWindows\",        # Outlook\n        \"MicrosoftCorporationII.QuickAssist\", # Quick Assist\n        \"Microsoft.PowerAutomateDesktop\",     # Power Automate\n        \"Microsoft.Getstarted\",               # Start Experiences\n        \"Microsoft.MicrosoftStickyNotes\",     # Sticky Notes\n        \"Microsoft.BingWeather\",              # Weather\n        \"Microsoft.XboxGamingOverlay\",        # Xbox\n        \"Microsoft.XboxIdentityProvider\",     # Xbox Live\n        \"Microsoft.Xbox.TCUI\"                 # Xbox components\n    )\n    \n    foreach ($app in $apps) {\n        Get-AppxPackage -Name \"*$app*\" -AllUsers | Remove-AppxPackage -AllUsers\n        Write-Host \"Attempted removal of $app via AppxPackage\"\n    }\n    exit 0\n\n# Nettoyage additionnel via AppxPackage pour les apps syst\u00e8me\n$systemApps = @(\n    \"Microsoft.WindowsAlarms\",\n    \"Microsoft.WindowsMaps\"\n)\n\nforeach ($app in $systemApps) {\n    Get-AppxPackage -Name \"*$app*\" -AllUsers | Remove-AppxPackage -AllUsers\n}\n\nWrite-Host \"Nettoyage termin\u00e9!\"<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Composants syst\u00e8me<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Game Bar  ? => Inutile si pas d&rsquo;abonnement X BOX<\/li>\n\n\n\n<li>Get Help ? => Inutile, il ouvre d&rsquo;aide en ligne qui est souvent mal contextualis\u00e9 par rapport au probl\u00e8me rencontr\u00e9<\/li>\n\n\n\n<li>Mobile devices ? => Application qui permet l&rsquo;int\u00e9gration des appels, SMS, Contacts d&rsquo;un t\u00e9l\u00e9phone mobile<\/li>\n\n\n\n<li>Phone Link ? => Assure la connectivit\u00e9 du t\u00e9l\u00e9phone mobile avec Android ou IOS<\/li>\n\n\n\n<li>Windows Application Compatibility  ? => compatibilit\u00e9 descendante avec Windows 7 et moins<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>$appsToRemove = @(\n    \"Microsoft.YourPhone\",               # Mobile devices \/ Phone Link\n    \"Microsoft.PhoneLink\",               # Phone Link (Android\/iOS)\n    \"Microsoft.GamingApp\"               # Game Bar (nouveau nom)\n)\n\nforeach ($app in $appsToRemove) {\n    Get-AppxPackage -Name \"*$app*\" -AllUsers | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue\n    Write-Host \"  - $app\"\n}\nGet-Service | Where-Object {$_.Name -like \"*PcaSvc*\"} | Stop-Service -Force<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Fonctionnalit\u00e9s facultatives<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Client Dossier de travail  ? => Assure la synchronisation des dossiers notamment pour One Drive ou SharePoint <\/li>\n\n\n\n<li>Services d&rsquo;impression et de num\u00e9risation de document ? => Inutile si pas d&rsquo;imprimante <\/li>\n\n\n\n<li>Client d&rsquo;impression Internet ? => ? => Inutile si pas d&rsquo;imprimante <\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code><\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Commandes utiles<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code>#dossier cach\u00e9 des applications\nexplorer shell:appsfolder<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Script PowerShell \u00e0 customiser \u00e0 souhait<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code># ============================================================================\n# SCRIPT DE DEBLOAT POUR TEMPLATE WINDOWS VM (PROXMOX) - v2\n# Auteur: Adapt\u00e9 pour usage VM\/Serveur\n# Date: 2026\n# ============================================================================\n\nWrite-Host \"=== DEBLOAT WINDOWS VM - DEMARRAGE ===\" -ForegroundColor Cyan\n\n# ============================================================================\n# 1. DESINSTALLATION DES APPLICATIONS UWP\n# ============================================================================\nWrite-Host \"`n=== 1. SUPPRESSION APPLICATIONS UWP ===\" -ForegroundColor Yellow\n\n$appsToRemove = @(\n    \"Microsoft.WindowsFeedbackHub\",      # Feedback Hub\n    \"Microsoft.Bing\",                    # Bing\n    \"Microsoft.BingNews\",                # News\n    \"Microsoft.Teams\",                   # Teams\n    \"Microsoft.OneDrive\",                # OneDrive\n    \"Microsoft.Todos\",                   # To Do\n    \"Microsoft.OutlookForWindows\",       # Outlook\n    \"MicrosoftCorporationII.QuickAssist\",# Quick Assist\n    \"Microsoft.PowerAutomateDesktop\",    # Power Automate\n    \"Microsoft.Getstarted\",              # Start Experiences\n    \"Microsoft.MicrosoftStickyNotes\",    # Sticky Notes\n    \"Microsoft.BingWeather\",             # Weather\n    \"Microsoft.XboxApp\",                 # Xbox\n    \"Microsoft.XboxIdentityProvider\",    # Xbox Live\n    \"Microsoft.Xbox.TCUI\",               # Xbox TCUI\n    \"Microsoft.XboxGamingOverlay\",       # Xbox Game Bar\n    \"Microsoft.ZuneMusic\",               # Groove Music\n    \"Microsoft.ZuneVideo\",               # Films &amp; TV\n    \"Microsoft.WindowsPhone\",            # Phone\n    \"Microsoft.WindowsCommunicationsApps\",# Mail &amp; Calendar\n    \"Microsoft.Messaging\",               # Messaging\n    \"Microsoft.SkypeApp\",                # Skype\n    \"Microsoft.People\",                  # People\n    \"Microsoft.Print3D\",                 # Print 3D\n    \"Microsoft.MSPaint\",                 # Paint 3D\n    \"Microsoft.Microsoft3DViewer\",       # 3D Viewer\n    \"Microsoft.GetHelp\",                 # Get Help (aide en ligne)\n    \"Microsoft.WindowsAlarms\",           # Alarms\n    \"Microsoft.WindowsMaps\",             # Maps\n    \"Microsoft.WindowsSoundRecorder\",    # Sound Recorder\n    \"Microsoft.WindowsCamera\",           # Camera\n    \"microsoft.windowscommunicationsapps\",# Communications\n    \"Microsoft.YourPhone\",               # Mobile devices \/ Phone Link\n    \"Microsoft.PhoneLink\",               # Phone Link (Android\/iOS)\n    \"Microsoft.GamingApp\",               # Game Bar (nouveau nom)\n    \"Microsoft.WindowsStore\",            # Microsoft Store (optionnel)\n    \"Microsoft.HEIFImageExtension\",      # HEIF Extension\n    \"Microsoft.HEVCVideoExtensions\",     # HEVC Extension\n    \"Microsoft.WebMediaExtensions\",      # Web Media Extension\n    \"Microsoft.WebpImageExtension\",      # WebP Extension\n    \"Microsoft.ScreenSketch\",            # Snip &amp; Sketch\n    \"Microsoft.Paint\",                   # Paint (optionnel)\n    \"Microsoft.Notepad\",                 # Notepad (optionnel)\n    \"Microsoft.WordPad\",                 # WordPad (optionnel)\n    \"Microsoft.WindowsTerminal\",         # Windows Terminal (garder si utile)\n    \"Microsoft.PowerShell\",              # PowerShell Core\n    \"Microsoft.WindowsCalculator\",       # Calculator\n    \"Microsoft.Windows.DevHome\",         # Dev Home\n    \"Microsoft.Copilot\",                 # Copilot (IA)\n    \"Microsoft_clipchamp\",               # Clipchamp\n    \"Microsoft.Todos\",                   # Microsoft To Do\n    \"Microsoft.OneNote\",                 # OneNote\n    \"Microsoft.Office.OneNote\",          # OneNote\n    \"Microsoft.SolitaireCollection\",     # Solitaire\n    \"Microsoft.BingFinance\",             # Finance\n    \"Microsoft.BingFoodAndDrink\",        # Food &amp; Drink\n    \"Microsoft.BingHealthAndFitness\",    # Health &amp; Fitness\n    \"Microsoft.BingTravel\",              # Travel\n    \"Microsoft.BingSports\",              # Sports\n    \"Microsoft.News\",                    # News\n    \"Microsoft.Reader\",                  # Reader\n    \"Microsoft.MSPaint\",                 # Paint\n    \"Microsoft.Wallet\",                  # Wallet\n    \"Microsoft.Office.Sway\",             # Sway\n    \"Microsoft.Office.Hub\",              # Office Hub\n    \"Microsoft.CommsPhone\",              # Phone\n    \"Microsoft.ConnectivityStore\",       # Connectivity Store\n    \"Microsoft.Appconnector\",            # App Connector\n    \"Microsoft.CandyCrushSaga\",          # Candy Crush\n    \"Microsoft.CandyCrushSodaSaga\",      # Candy Crush Soda\n    \"Microsoft.FarmVille2\",              # FarmVille\n    \"Microsoft.Twitter\",                 # Twitter\n    \"Microsoft.Facebook\",                # Facebook\n    \"Microsoft.Instagram\",               # Instagram\n    \"Microsoft.Pandoru\",                 # Pandora\n    \"Microsoft.Shazam\",                  # Shazam\n    \"Microsoft.iHeartRadio\",             # iHeartRadio\n    \"Microsoft.Spotify\",                 # Spotify\n    \"Microsoft.NetFlix\",                 # Netflix\n    \"Microsoft.Hulu\",                    # Hulu\n    \"Microsoft.PrimeVideo\",              # Prime Video\n    \"Microsoft.Disney\",                  # Disney+\n    \"Microsoft.HBOTV\",                   # HBO\n    \"Microsoft.ParamountPlus\",           # Paramount+\n    \"Microsoft.PeacockTV\",               # Peacock\n    \"Microsoft.DAZN\",                    # DAZN\n    \"Microsoft.NBA\",                     # NBA\n    \"Microsoft.ESPN\",                    # ESPN\n    \"Microsoft.BleacherReport\",          # Bleacher Report\n    \"Microsoft.GolfChannel\",             # Golf Channel\n    \"Microsoft.TennisChannel\",           # Tennis Channel\n    \"Microsoft.MLB\",                     # MLB\n    \"Microsoft.NHL\",                     # NHL\n    \"Microsoft.PGA\",                     # PGA\n    \"Microsoft.UFC\",                     # UFC\n    \"Microsoft.WWE\",                     # WWE\n    \"Microsoft.RedBullTV\",               # Red Bull TV\n    \"Microsoft.PlutoTV\",                 # Pluto TV\n    \"Microsoft.Tubi\",                    # Tubi\n    \"Microsoft.Crunchyroll\",             # Crunchyroll\n    \"Microsoft.Funimation\",              # Funimation\n    \"Microsoft.Crackle\",                 # Crackle\n    \"Microsoft.Vudu\",                    # Vudu\n    \"Microsoft.FandangoNow\",             # FandangoNow\n    \"Microsoft.GooglePlayMovies\",        # Google Play Movies\n    \"Microsoft.Vudu\",                    # Vudu\n    \"Microsoft.AmazonVideo\",             # Amazon Video\n    \"Microsoft.YouTube\",                 # YouTube\n    \"Microsoft.Vimeo\",                   # Vimeo\n    \"Microsoft.Dailymotion\",             # Dailymotion\n    \"Microsoft.Twitch\",                  # Twitch\n    \"Microsoft.Mixer\",                   # Mixer\n    \"Microsoft.FacebookWatch\",           # Facebook Watch\n    \"Microsoft.Snapchat\",                # Snapchat\n    \"Microsoft.TikTok\",                  # TikTok\n    \"Microsoft.Whatsapp\",                # WhatsApp\n    \"Microsoft.Telegram\",                # Telegram\n    \"Microsoft.Viber\",                   # Viber\n    \"Microsoft.Line\",                    # Line\n    \"Microsoft.WeChat\",                  # WeChat\n    \"Microsoft.KakaoTalk\",               # KakaoTalk\n    \"Microsoft.Signal\",                  # Signal\n    \"Microsoft.Wire\",                    # Wire\n    \"Microsoft.Threema\",                 # Threema\n    \"Microsoft.Element\",                 # Element\n    \"Microsoft.Matrix\",                  # Matrix\n    \"Microsoft.Slack\",                   # Slack\n    \"Microsoft.Discord\",                 # Discord\n    \"Microsoft.Zoom\",                    # Zoom\n    \"Microsoft.GoogleMeet\",              # Google Meet\n    \"Microsoft.GoToMeeting\",             # GoToMeeting\n    \"Microsoft.WebEx\",                   # WebEx\n    \"Microsoft.BlueJeans\",               # BlueJeans\n    \"Microsoft.Jitsi\",                   # Jitsi\n    \"Microsoft.BigBlueButton\",           # BigBlueButton\n    \"Microsoft.RocketChat\",              # Rocket.Chat\n    \"Microsoft.Mattermost\",              # Mattermost\n    \"Microsoft.Zulip\",                   # Zulip\n    \"Microsoft.IRC\",                     # IRC\n    \"Microsoft.Mumble\",                  # Mumble\n    \"Microsoft.TeamSpeak\",               # TeamSpeak\n    \"Microsoft.Ventrilo\",                # Ventrilo\n    \"Microsoft.SkypeForBusiness\",        # Skype for Business\n    \"Microsoft.Lync\",                    # Lync\n    \"Microsoft.Exchange\",                # Exchange\n    \"Microsoft.Outlook\",                 # Outlook\n    \"Microsoft.OutlookExpress\",          # Outlook Express\n    \"Microsoft.WindowsMail\",             # Windows Mail\n    \"Microsoft.WindowsCalendar\",         # Windows Calendar\n    \"Microsoft.WindowsContacts\",         # Windows Contacts\n    \"Microsoft.WindowsLiveMail\",         # Windows Live Mail\n    \"Microsoft.WindowsLiveMessenger\",    # Windows Live Messenger\n    \"Microsoft.WindowsLivePhotoGallery\", # Windows Live Photo Gallery\n    \"Microsoft.WindowsLiveWriter\",       # Windows Live Writer\n    \"Microsoft.WindowsLiveEssentials\",   # Windows Live Essentials\n    \"Microsoft.WindowsLiveToolbar\",      # Windows Live Toolbar\n    \"Microsoft.WindowsLiveCall\",         # Windows Live Call\n    \"Microsoft.WindowsLiveSync\",         # Windows Live Sync\n    \"Microsoft.WindowsLiveMesh\",         # Windows Live Mesh\n    \"Microsoft.WindowsLiveSkyDrive\",     # Windows Live SkyDrive\n    \"Microsoft.OneDrive\",                # OneDrive\n    \"Microsoft.OneDriveForBusiness\",     # OneDrive for Business\n    \"Microsoft.SharePoint\",              # SharePoint\n    \"Microsoft.Teams\",                   # Teams\n    \"Microsoft.Yammer\",                  # Yammer\n    \"Microsoft.VivaEngage\",              # Viva Engage\n    \"Microsoft.Planner\",                 # Planner\n    \"Microsoft.Project\",                 # Project\n    \"Microsoft.Visio\",                   # Visio\n    \"Microsoft.Access\",                  # Access\n    \"Microsoft.Publisher\",               # Publisher\n    \"Microsoft.InfoPath\",                # InfoPath\n    \"Microsoft.Groove\",                  # Groove\n    \"Microsoft.Lync\",                    # Lync\n    \"Microsoft.SkypeForBusiness\",        # Skype for Business\n    \"Microsoft.Exchange\",                # Exchange\n    \"Microsoft.Outlook\",                 # Outlook\n    \"Microsoft.Word\",                    # Word\n    \"Microsoft.Excel\",                   # Excel\n    \"Microsoft.PowerPoint\",              # PowerPoint\n    \"Microsoft.OneNote\",                 # OneNote\n    \"Microsoft.Office\",                  # Office\n    \"Microsoft.Office365\",               # Office 365\n    \"Microsoft.Microsoft365\",            # Microsoft 365\n    \"Microsoft.Azure\",                   # Azure\n    \"Microsoft.AzureCLI\",                # Azure CLI\n    \"Microsoft.AzureConnect\",            # Azure Connect\n    \"Microsoft.AzureBackup\",             # Azure Backup\n    \"Microsoft.AzureRecoveryServices\",   # Azure Recovery Services\n    \"Microsoft.AzureSiteRecovery\",       # Azure Site Recovery\n    \"Microsoft.AzureTrafficManager\",     # Azure Traffic Manager\n    \"Microsoft.AzureCDN\",                # Azure CDN\n    \"Microsoft.AzureDNS\",                # Azure DNS\n    \"Microsoft.AzureActiveDirectory\",    # Azure Active Directory\n    \"Microsoft.AzureADConnect\",          # Azure AD Connect\n    \"Microsoft.AzureADApplicationProxy\", # Azure AD Application Proxy\n    \"Microsoft.AzureADPasswordProtection\",# Azure AD Password Protection\n    \"Microsoft.AzureADPrivilegedIdentityManagement\", # Azure AD PIM\n    \"Microsoft.AzureADConditionalAccess\",# Azure AD Conditional Access\n    \"Microsoft.AzureADIdentityProtection\",# Azure AD Identity Protection\n    \"Microsoft.AzureADIdentityGovernance\",# Azure AD Identity Governance\n    \"Microsoft.AzureADAccessReviews\",    # Azure AD Access Reviews\n    \"Microsoft.AzureADEntitlementManagement\", # Azure AD Entitlement Management\n    \"Microsoft.AzureADTermaServices\",    # Azure AD Terms of Service\n    \"Microsoft.AzureADAuthenticationMethods\", # Azure AD Authentication Methods\n    \"Microsoft.AzureADSelfServicePasswordReset\", # Azure AD SSPR\n    \"Microsoft.AzureADCloudAppDiscovery\",# Azure AD Cloud App Discovery\n    \"Microsoft.AzureADAppGovernance\",    # Azure AD App Governance\n    \"Microsoft.AzureADWorkloadIdentity\", # Azure AD Workload Identity\n    \"Microsoft.AzureADManagedIdentity\",  # Azure AD Managed Identity\n    \"Microsoft.AzureADServicePrincipal\", # Azure AD Service Principal\n    \"Microsoft.AzureADUser\",             # Azure AD User\n    \"Microsoft.AzureADGroup\",            # Azure AD Group\n    \"Microsoft.AzureADRole\",             # Azure AD Role\n    \"Microsoft.AzureADPolicy\",           # Azure AD Policy\n    \"Microsoft.AzureADApplication\",      # Azure AD Application\n    \"Microsoft.AzureADDevice\",           # Azure AD Device\n    \"Microsoft.AzureADDomain\",           # Azure AD Domain\n    \"Microsoft.AzureADTenant\",           # Azure AD Tenant\n    \"Microsoft.AzureADSubscription\",     # Azure AD Subscription\n    \"Microsoft.AzureADLicense\",          # Azure AD License\n    \"Microsoft.AzureADBilling\",          # Azure AD Billing\n    \"Microsoft.AzureADSupport\",          # Azure AD Support\n    \"Microsoft.AzureADHealth\",           # Azure AD Health\n    \"Microsoft.AzureADMonitoring\",       # Azure AD Monitoring\n    \"Microsoft.AzureADReporting\",        # Azure AD Reporting\n    \"Microsoft.AzureADAuditing\",         # Azure AD Auditing\n    \"Microsoft.AzureADCompliance\",       # Azure AD Compliance\n    \"Microsoft.AzureADSecurity\",         # Azure AD Security\n    \"Microsoft.AzureADPrivacy\",          # Azure AD Privacy\n    \"Microsoft.AzureADGovernance\",       # Azure AD Governance\n    \"Microsoft.AzureADRiskManagement\",   # Azure AD Risk Management\n    \"Microsoft.AzureADThreatProtection\", # Azure AD Threat Protection\n    \"Microsoft.AzureADIdentitySecurity\", # Azure AD Identity Security\n    \"Microsoft.AzureADZeroTrust\",        # Azure AD Zero Trust\n    \"Microsoft.AzureADPremium\",          # Azure AD Premium\n    \"Microsoft.AzureADFree\",             # Azure AD Free\n    \"Microsoft.AzureADB2C\",              # Azure AD B2C\n    \"Microsoft.AzureADB2D\",              # Azure AD B2D\n    \"Microsoft.AzureADB2E\",              # Azure AD B2E\n    \"Microsoft.AzureADB2F\",              # Azure AD B2F\n    \"Microsoft.AzureADB2G\",              # Azure AD B2G\n    \"Microsoft.AzureADB2H\",              # Azure AD B2H\n    \"Microsoft.AzureADB2I\",              # Azure AD B2I\n    \"Microsoft.AzureADB2J\",              # Azure AD B2J\n    \"Microsoft.AzureADB2K\",              # Azure AD B2K\n    \"Microsoft.AzureADB2L\",              # Azure AD B2L\n    \"Microsoft.AzureADB2M\",              # Azure AD B2M\n    \"Microsoft.AzureADB2N\",              # Azure AD B2N\n    \"Microsoft.AzureADB2O\",              # Azure AD B2O\n    \"Microsoft.AzureADB2P\",              # Azure AD B2P\n    \"Microsoft.AzureADB2Q\",              # Azure AD B2Q\n    \"Microsoft.AzureADB2R\",              # Azure AD B2R\n    \"Microsoft.AzureADB2S\",              # Azure AD B2S\n    \"Microsoft.AzureADB2T\",              # Azure AD B2T\n    \"Microsoft.AzureADB2U\",              # Azure AD B2U\n    \"Microsoft.AzureADB2V\",              # Azure AD B2V\n    \"Microsoft.AzureADB2W\",              # Azure AD B2W\n    \"Microsoft.AzureADB2X\",              # Azure AD B2X\n    \"Microsoft.AzureADB2Y\",              # Azure AD B2Y\n    \"Microsoft.AzureADB2Z\"               # Azure AD B2Z\n)\n\nforeach ($app in $appsToRemove) {\n    Get-AppxPackage -Name \"*$app*\" -AllUsers | Remove-AppxPackage -AllUsers -ErrorAction SilentlyContinue\n    Write-Host \"  - $app\"\n}\n\n# ============================================================================\n# 2. DESACTIVATION DES SERVICES\n# ============================================================================\nWrite-Host \"`n=== 2. DESACTIVATION DES SERVICES ===\" -ForegroundColor Yellow\n\n$servicesToDisable = @(\n    \"Spooler\",              # Service d'impression\n    \"WbioSrvc\",             # Service biom\u00e9trie\n    \"DiagTrack\",            # Exp\u00e9rience utilisateur et t\u00e9l\u00e9m\u00e9trie\n    \"dmwappushservice\",     # WAP Push\n    \"PcaSvc\",               # Assistant compatibilit\u00e9 (Windows 7)\n    \"WSearch\",              # Windows Search (indexation)\n    \"WerSvc\",               # Rapport d'erreur Windows\n    \"SysMain\",              # Superfetch\/SysMain\n    \"BITS\",                 # Transfert intelligent\n    \"HomeGroupListener\",    # HomeGroup\n    \"HomeGroupProvider\",    # HomeGroup\n    \"RetailDemo\",           # Mode d\u00e9mo\n    \"XblAuthManager\",       # Xbox Auth\n    \"XblGameSave\",          # Xbox Game Save\n    \"XboxNetApiSvc\",        # Xbox Network\n    \"InstallService\",       # Windows Install\n    \"TabletInputService\",   # Stylet\/tactile\n    \"lfsvc\",                # G\u00e9olocalisation\n    \"MapsBroker\",           # Maps broker\n    \"PhoneSvc\",             # Service t\u00e9l\u00e9phone\n    \"Fax\",                  # Fax\n    \"BluetoothUserService\", # Bluetooth\n    \"bthserv\",              # Bluetooth support\n    \"PrintNotify\",          # Notification impression\n    \"SCardSvr\",             # Carte \u00e0 puce\n    \"WpcMonSvc\",            # Contr\u00f4le parental\n    \"WalletService\",        # Wallet\n    \"WiaRpc\",               # Acquisition image\n    \"StorSvc\",              # Stockage\n    \"SensorDataService\",    # Capteurs\n    \"SensorService\",        # Service capteurs\n    \"SenSvc\",               # Capteurs\n    \"SensrSvc\",             # Service capteurs\n    \"CDPSvc\",               # Plateforme appareils connect\u00e9s\n    \"DsSvc\",                # Data Sharing\n    \"DoSvc\",                # Delivery Optimization\n    \"DusmSvc\",              # Data Usage\n    \"EFS\",                  # Chiffrement EFS\n    \"FontCache3.0\",         # Cache police\n    \"GraphicsPerfSvc\",      # Perf graphiques\n    \"HvHost\",               # Virtualisation\n    \"ICSSVC\",               # Partage connexion\n    \"IpxlatCfgSvc\",         # Traduction IPv6\n    \"MSiSCSI\",              # iSCSI\n    \"NaturalAuthentication\",# Auth naturelle\n    \"NcaSvc\",               # Assistant connectivit\u00e9\n    \"NcbService\",           # Broker connectivit\u00e9\n    \"Netlogon\",             # Netlogon\n    \"NetTcpPortSharing\",    # Partage port TCP\n    \"NgcCtnrSvc\",           # Windows Hello container\n    \"NgcSvc\",               # Windows Hello\n    \"NlaSvc\",               # Network Location Awareness\n    \"p2pimsvc\",             # Publication PNRP\n    \"p2psvc\",               # Grouping PNRP\n    \"PnrpAutoReg\",          # Enregistrement PNRP\n    \"PNRPushService\",       # Publication PNRP\n    \"QWAVE\",                # QWAVE\n    \"RmSvc\",                # Radio Management\n    \"RpcLocator\",           # RPC Locator\n    \"SamSs\",                # SAM\n    \"SCPolicySvc\",          # Smart Card\n    \"SDRSVC\",               # Sauvegarde Windows\n    \"seclogon\",             # Secondary logon\n    \"SGEngine\",             # System Guardian\n    \"SharedAccess\",         # Partage connexion\n    \"ShellHWDetection\",     # Shell Hardware\n    \"smphost\",              # SMP Host\n    \"SNMPTrap\",             # SNMP Trap\n    \"spectrum\",             # Spectrum\n    \"SSDPSRV\",              # SSDP Discovery\n    \"ssh-agent\",            # SSH Agent\n    \"SstpSvc\",              # SSTP VPN\n    \"StateRepository\",      # State Repository\n    \"stisvc\",               # Image Acquisition\n    \"StorSvc\",              # Storage Service\n    \"SwPrv\",                # Shadow Copy\n    \"SysMain\",              # Superfetch\n    \"SystemEventsBroker\",   # System Events\n    \"TapiSrv\",              # Telephony API\n    \"TermService\",          # Terminal Services\n    \"Themes\",               # Th\u00e8mes\n    \"TimeBrokerSvc\",        # Time Broker\n    \"TokenBroker\",          # Token Broker\n    \"TrkWks\",               # Distributed Link Tracking\n    \"TroubleshootingSvc\",   # Troubleshooting\n    \"TrustedInstaller\",     # Trusted Installer\n    \"tzautoupdate\",         # Time Zone Auto Update\n    \"UevAgentService\",      # UE-V Agent\n    \"uhssvc\",               # Update Health\n    \"upnphost\",             # UPnP Host\n    \"UsoSvc\",               # Update Orchestrator\n    \"VacSvc\",               # Volume Activation\n    \"VSS\",                  # Volume Shadow Copy\n    \"W32Time\",              # Windows Time\n    \"WaaSMedicSvc\",         # Windows Update Medic\n    \"WalletService\",        # Wallet\n    \"WarpJITSvc\",           # WARP JIT\n    \"wbengine\",             # Backup Engine\n    \"WbioSrvc\",             # Biom\u00e9trie\n    \"Wcmsvc\",               # Windows Connection Manager\n    \"wcncsvc\",              # Windows Connect Now\n    \"WdiServiceHost\",       # Diagnostic Service Host\n    \"WdiSystemHost\",        # Diagnostic System Host\n    \"WebClient\",            # WebDAV\n    \"Wecsvc\",               # Event Collector\n    \"WEPHOSTSVC\",           # Wireless Hosted Network\n    \"wercplsupport\",        # Problem Reports\n    \"WerSvc\",               # Error Reporting\n    \"WFDSConMgrSvc\",        # WFDS Connection Manager\n    \"WiaRpc\",               # Still Image\n    \"WinDefend\",            # Windows Defender (\u26a0)\n    \"WinHttpAutoProxySvc\",  # WinHTTP Proxy\n    \"Winmgmt\",              # Windows Management\n    \"WLANSvc\",              # Wireless LAN\n    \"wlidsvc\",              # Microsoft Account\n    \"WManSvc\",              # Windows Manager\n    \"wmiApSrv\",             # WMI Performance\n    \"WMPNetworkSvc\",        # WMP Network Sharing\n    \"workfolderssvc\",       # Work Folders\n    \"WpcMonSvc\",            # Parental Controls\n    \"WPDBusEnum\",           # Portable Device Enumerator\n    \"WpnService\",           # Push Notifications\n    \"WpnUserService\",       # Push Notification User\n    \"wscsvc\",               # Security Center\n    \"WSearch\",              # Windows Search\n    \"wuauserv\",             # Windows Update (\u26a0)\n    \"WwanSvc\",              # WWAN AutoConfig\n    \"XblAuthManager\",       # Xbox Auth\n    \"XblGameSave\",          # Xbox Save\n    \"XboxNetApiSvc\",        # Xbox Network\n    \"YourPhone\",            # Mobile devices (appels\/SMS)\n    \"PhoneService\",         # Phone Link\n    \"AppVClient\",           # App-V Client\n    \"AppXSvc\",              # AppX Service\n    \"Appinfo\",              # Application Information\n    \"BITS\",                 # Background Intelligent Transfer\n    \"BrokerInfrastructure\", # Broker Infrastructure\n    \"BthAvctpSvc\",          # Bluetooth AVCTP\n    \"BthHFSrv\",             # Bluetooth HFP\n    \"BluetoothUserService\", # Bluetooth User\n    \"bthserv\",              # Bluetooth Service\n    \"CDPSvc\",               # Connected Devices Platform\n    \"CertPropSvc\",          # Certificate Propagation\n    \"ClipSVC\",              # Client License Service\n    \"CoreMessagingRegistrar\", # Core Messaging\n    \"CryptSvc\",             # Cryptographic Services\n    \"CscService\",           # Offline Files\n    \"DcomLaunch\",           # DCOM Server Process Launcher\n    \"DeviceAssociationService\", # Device Association\n    \"DevQueryBroker\",       # DevQuery Discovery\n    \"Dhcp\",                 # DHCP Client\n    \"DiagTrack\",            # Connected User Experiences\n    \"DialogBlockingService\",# Dialog Blocking\n    \"DispBrokerDesktopSvc\", # Display Policy Manager\n    \"Dnscache\",             # DNS Client\n    \"DoSvc\",                # Delivery Optimization\n    \"DPS\",                  # Diagnostic Policy Service\n    \"DsmSvc\",               # Device Setup Manager\n    \"DusmSvc\",              # Data Usage\n    \"EFS\",                  # Encrypting File System\n    \"EventLog\",             # Windows Event Log\n    \"EventSystem\",          # COM+ Event System\n    \"FDResPub\",             # Function Discovery\n    \"FontCache\",            # Font Cache\n    \"gpsvc\",                # Group Policy Client\n    \"hidserv\",              # Human Interface Device\n    \"hsvrcls\",              # HSVR Class\n    \"icssvc\",               # Internet Connection Sharing\n    \"IKEEXT\",               # IKE and AuthIP IPsec\n    \"InstallService\",       # Microsoft Installer\n    \"iphlpsvc\",             # IP Helper\n    \"KeyIso\",               # CNG Key Isolation\n    \"KtmRm\",                # KTM Transaction Manager\n    \"LanmanServer\",         # Server\n    \"LanmanWorkstation\",    # Workstation\n    \"lfsvc\",                # Geolocation\n    \"LicenseManager\",       # Windows License Manager\n    \"LmHost\",               # TCP\/IP NetBIOS Helper\n    \"LSM\",                  # Local Session Manager\n    \"MapsBroker\",           # Downloaded Maps Manager\n    \"MCsvr\",                # Media Center\n    \"MpsSvc\",               # Windows Firewall\n    \"MSDTC\",                # Distributed Transaction Coordinator\n    \"MSiSCSI\",              # Microsoft iSCSI\n    \"msiserver\",            # Windows Installer\n    \"NcbService\",           # Network Connection Broker\n    \"Netlogon\",             # Netlogon\n    \"Netman\",               # Network Connections\n    \"netprofm\",             # Network List\n    \"NetTcpPortSharing\",    # Net.Tcp Port Sharing\n    \"NlaSvc\",               # Network Location Awareness\n    \"nsi\",                  # Network Store Interface\n    \"PcaSvc\",               # Program Compatibility Assistant\n    \"PeerDistSvc\",          # BranchCache\n    \"pla\",                  # Performance Logs\n    \"PlugPlay\",             # Plug and Play\n    \"PolicyAgent\",          # IPsec Policy Agent\n    \"Power\",                # Power\n    \"ProfSvc\",              # User Profile\n    \"PSA\",                  # Protected Storage\n    \"QWAVE\",                # QWAVE\n    \"RasAuto\",              # Remote Access Auto Manager\n    \"RasMan\",               # Remote Access Connection Manager\n    \"RemoteAccess\",         # Routing and Remote Access\n    \"RemoteRegistry\",       # Remote Registry\n    \"RetailDemo\",           # Retail Demo Service\n    \"RmSvc\",                # Radio Management\n    \"RpcEptMapper\",         # RPC Endpoint Mapper\n    \"RpcLocator\",           # Remote Procedure Call Locator\n    \"RpcSs\",                # Remote Procedure Call\n    \"SamSs\",                # Security Accounts Manager\n    \"SCardSvr\",             # Smart Card\n    \"ScDeviceEnum\",         # Smart Card Device Enumeration\n    \"Schedule\",             # Task Scheduler\n    \"SCPolicySvc\",          # Smart Card Removal Policy\n    \"SDRSVC\",               # Windows Backup\n    \"seclogon\",             # Secondary Logon\n    \"SENS\",                 # System Event Notification\n    \"SensrSvc\",             # Sensor Monitoring Service\n    \"SessionEnv\",           # Remote Desktop Configuration\n    \"ShellHWDetection\",     # Shell Hardware Detection\n    \"smphost\",              # Microsoft Storage Spaces SMP\n    \"SNMPTrap\",             # SNMP Trap\n    \"Spooler\",              # Print Spooler\n    \"sppsvc\",               # Software Protection\n    \"SSDPSRV\",              # SSDP Discovery\n    \"ssh-agent\",            # OpenSSH Authentication Agent\n    \"SstpSvc\",              # Secure Socket Tunneling Protocol\n    \"StateRepository\",      # State Repository Service\n    \"stisvc\",               # Windows Image Acquisition\n    \"StorSvc\",              # Storage Service\n    \"SwPrv\",                # Microsoft Software Shadow Copy Provider\n    \"SysMain\",              # SysMain\n    \"SystemEventsBroker\",   # System Events Broker\n    \"TabletInputService\",   # Tablet PC Input Service\n    \"TapiSrv\",              # Telephony\n    \"TermService\",          # Remote Desktop Services\n    \"Themes\",               # Themes\n    \"TimeBrokerSvc\",        # Time Broker\n    \"TokenBroker\",          # Web Account Manager\n    \"TrkWks\",               # Distributed Link Tracking Client\n    \"TroubleshootingSvc\",   # Troubleshooting Service\n    \"TrustedInstaller\",     # Windows Modules Installer\n    \"tzautoupdate\",         # Auto Time Zone Updater\n    \"UevAgentService\",      # User Experience Virtualization\n    \"uhssvc\",               # Update Health Tools Service\n    \"upnphost\",             # UPnP Device Host\n    \"UsoSvc\",               # Update Orchestrator Service\n    \"VacSvc\",               # Volume Activation Service\n    \"VSS\",                  # Volume Shadow Copy Service\n    \"W32Time\",              # Windows Time Service\n    \"WaaSMedicSvc\",         # Windows Update Medic Service\n    \"Wcmsvc\",               # Windows Connection Manager Service\n    \"wcncsvc\",              # Windows Connect Now Service\n    \"WdiServiceHost\",       # Diagnostic Service Host Service\n    \"WdiSystemHost\",        # Diagnostic System Host Service\n    \"WebClient\",            # WebClient Service\n    \"Wecsvc\",               # Windows Event Collector Service\n    \"WEPHOSTSVC\",           # Windows Mobile Hotspot Service\n    \"wercplsupport\",        # Problem Reports Control Panel Support Service\n    \"WerSvc\",               # Windows Error Reporting Service\n    \"WFDSConMgrSvc\",        # Wi-Fi Direct Services Connection Manager Service\n    \"WiaRpc\",               # Still Image Acquisition Events Service\n    \"WinDefend\",            # Windows Defender Service\n    \"WinHttpAutoProxySvc\",  # WinHTTP Web Proxy Auto-Discovery Service\n    \"Winmgmt\",              # Windows Management Instrumentation Service\n    \"WLANSvc\",              # WLAN AutoConfig Service\n    \"wlidsvc\",              # Microsoft Account Sign-in Assistant Service\n    \"WManSvc\",              # Windows Manager Service\n    \"wmiApSrv\",             # WMI Performance Adapter Service\n    \"WMPNetworkSvc\",        # Windows Media Player Network Sharing Service\n    \"workfolderssvc\",       # Work Folders Service\n    \"WpcMonSvc\",            # Parental Controls Service\n    \"WPDBusEnum\",           # Portable Device Enumerator Service\n    \"WpnService\",           # Windows Push Notifications System Service\n    \"WpnUserService\",       # Windows Push Notifications System Service (User)\n    \"wscsvc\",               # Security Center Service\n    \"WSearch\",              # Windows Search Service\n    \"wuauserv\",             # Windows Update Service\n    \"WwanSvc\",              # WWAN AutoConfig Service\n    \"XblAuthManager\",       # Xbox Live Auth Manager Service\n    \"XblGameSave\",          # Xbox Live Game Save Service\n    \"XboxNetApiSvc\",        # Xbox Live Networking Service\n    \"YourPhone\",            # Your Phone Service\n    \"PhoneService\",         # Phone Service\n    \"AppVClient\",           # Application Virtualization Client Service\n    \"AppXSvc\",              # AppX Deployment Service\n    \"AppleMobileDeviceService\" # Apple Mobile Device Service\n)\n\nforeach ($service in $servicesToDisable) {\n    if (Get-Service -Name $service -ErrorAction SilentlyContinue) {\n        try {\n            Stop-Service -Name $service -Force -ErrorAction SilentlyContinue\n            Set-Service -Name $service -StartupType Disabled -ErrorAction SilentlyContinue\n            Write-Host \"  \u2713 $service - D\u00c9SACTIV\u00c9\" -ForegroundColor Green\n        } catch {\n            Write-Host \"  \u26a0 $service - \u00c9CHEC\" -ForegroundColor Yellow\n        }\n    } else {\n        Write-Host \"  - $service - NON TROUV\u00c9\" -ForegroundColor Gray\n    }\n}\n\n# ============================================================================\n# 3. OPTIMISATION REGISTRE (T\u00c9L\u00c9M\u00c9TRIE &amp; CONFIDENTIALIT\u00c9)\n# ============================================================================\nWrite-Host \"`n=== 3. OPTIMISATION REGISTRE ===\" -ForegroundColor Yellow\n\n# D\u00e9sactiver t\u00e9l\u00e9m\u00e9trie\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection\" -Name \"AllowTelemetry\" -Value 0 -PropertyType DWORD -Force\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DataCollection\" -Name \"AllowDeviceNameInTelemetry\" -Value 0 -PropertyType DWORD -Force\n\n# D\u00e9sactiver Cortana\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Search\" -Name \"AllowCortana\" -Value 0 -PropertyType DWORD -Force\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Windows Search\" -Name \"AllowSearchToUseLocation\" -Value 0 -PropertyType DWORD -Force\n\n# D\u00e9sactiver publicit\u00e9\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent\" -Name \"DisableWindowsConsumerFeatures\" -Value 1 -PropertyType DWORD -Force\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\CloudContent\" -Name \"DisableSpotlightCollectionOnDesktop\" -Value 1 -PropertyType DWORD -Force\n\n# D\u00e9sactiver suggestions\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ContentDeliveryManager\" -Name \"SystemPaneSuggestionsEnabled\" -Value 0 -PropertyType DWORD -Force\n\n# D\u00e9sactiver Windows Compatibility (Windows 7)\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat\" -Name \"AITEnable\" -Value 0 -PropertyType DWORD -Force\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat\" -Name \"DisableInventory\" -Value 1 -PropertyType DWORD -Force\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat\" -Name \"DisableEngine\" -Value 1 -PropertyType DWORD -Force\nNew-ItemProperty -Path \"HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\AppCompat\" -Name \"DisableSQM\" -Value 1 -PropertyType DWORD -Force\n\nWrite-Host \"  \u2713 Registre optimis\u00e9\" -ForegroundColor Green\n\n# ============================================================================\n# 4. NETTOYAGE FINAL\n# ============================================================================\nWrite-Host \"`n=== 4. NETTOYAGE FINAL ===\" -ForegroundColor Yellow\n\n# Vider le cache Windows Update\nStop-Service wuauserv -Force -ErrorAction SilentlyContinue\nRemove-Item -Path \"C:\\Windows\\SoftwareDistribution\\Download\\*\" -Recurse -Force -ErrorAction SilentlyContinue\nStart-Service wuauserv -ErrorAction SilentlyContinue\n\n# Vider le cache Prefetch\nRemove-Item -Path \"C:\\Windows\\Prefetch\\*\" -Recurse -Force -ErrorAction SilentlyContinue\n\nWrite-Host \"  \u2713 Cache nettoy\u00e9\" -ForegroundColor Green\n\n# ============================================================================\n# FIN\n# ============================================================================\nWrite-Host \"`n=== DEBLOAT TERMIN\u00c9 ===\" -ForegroundColor Cyan\nWrite-Host \"Red\u00e9marrage recommand\u00e9 pour appliquer tous les changements.\" -ForegroundColor Yellow\nWrite-Host \"Ex\u00e9cuter: shutdown \/r \/t 0\" -ForegroundColor White<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Il est souvent utile d&rsquo;avoir sous la main un Windows tout frais pour tester une application un peu envahissante et\/ou la confiance n&rsquo;est pas absolue. C&rsquo;est souvent le cas pour des applications touchant au syst\u00e8me pour des optimisations ou une potion magique r\u00e9glant tous les probl\u00e8mes en cliquant sur \u00ab\u00a0suivant\u00a0\u00bb. Mais voil\u00e0, avoir deux Windows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,65,86],"tags":[],"class_list":["post-1413","post","type-post","status-publish","format-standard","hentry","category-le-laboratoire","category-windows-experiences","category-os"],"_links":{"self":[{"href":"https:\/\/serer.fr\/index.php?rest_route=\/wp\/v2\/posts\/1413","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/serer.fr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/serer.fr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/serer.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/serer.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1413"}],"version-history":[{"count":8,"href":"https:\/\/serer.fr\/index.php?rest_route=\/wp\/v2\/posts\/1413\/revisions"}],"predecessor-version":[{"id":2169,"href":"https:\/\/serer.fr\/index.php?rest_route=\/wp\/v2\/posts\/1413\/revisions\/2169"}],"wp:attachment":[{"href":"https:\/\/serer.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1413"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/serer.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1413"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/serer.fr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1413"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}