Optionnel : Tweaks complémentaires
Ce second script cible les éléments restants : debloat Edge (25 clés GPO), désactivation du Cloud Sync, télémétrie NVIDIA/Visual Studio, OneDrive, et les paramètres d'input/speech.
Script : tweak_complement.ps1
notepad C:\tweak_complement.ps1
Collez :
tweak_complement.ps1
$mount = "C:\Win11_Custom\mount"
# ============================================================
# RUCHE SOFTWARE - Tweaks complémentaires
# ============================================================
Write-Host "Chargement ruche SOFTWARE..." -ForegroundColor Cyan
reg load "HKLM\OFFLINE_SW" "$mount\Windows\System32\config\SOFTWARE"
# --- DEBLOAT EDGE (GPO, sans le supprimer) ---
Write-Host " Debloat Edge (25 cles GPO)..." -ForegroundColor Yellow
$edge = "HKLM\OFFLINE_SW\Policies\Microsoft\Edge"
reg add $edge /v EdgeEnhanceImagesEnabled /t REG_DWORD /d 0 /f
reg add $edge /v PersonalizationReportingEnabled /t REG_DWORD /d 0 /f
reg add $edge /v ShowRecommendationsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v HideFirstRunExperience /t REG_DWORD /d 1 /f
reg add $edge /v UserFeedbackAllowed /t REG_DWORD /d 0 /f
reg add $edge /v ConfigureDoNotTrack /t REG_DWORD /d 1 /f
reg add $edge /v AlternateErrorPagesEnabled /t REG_DWORD /d 0 /f
reg add $edge /v EdgeCollectionsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v EdgeFollowEnabled /t REG_DWORD /d 0 /f
reg add $edge /v EdgeShoppingAssistantEnabled /t REG_DWORD /d 0 /f
reg add $edge /v MicrosoftEdgeInsiderPromotionEnabled /t REG_DWORD /d 0 /f
reg add $edge /v RelatedMatchesCloudServiceEnabled /t REG_DWORD /d 0 /f
reg add $edge /v ShowMicrosoftRewards /t REG_DWORD /d 0 /f
reg add $edge /v WebWidgetAllowed /t REG_DWORD /d 0 /f
reg add $edge /v MetricsReportingEnabled /t REG_DWORD /d 0 /f
reg add $edge /v StartupBoostEnabled /t REG_DWORD /d 0 /f
reg add $edge /v BingAdsSuppression /t REG_DWORD /d 1 /f
reg add $edge /v PromotionalTabsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v SendSiteInfoToImproveServices /t REG_DWORD /d 0 /f
reg add $edge /v SpotlightExperiencesAndRecommendationsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v DiagnosticData /t REG_DWORD /d 0 /f
reg add $edge /v EdgeAssetDeliveryServiceEnabled /t REG_DWORD /d 0 /f
reg add $edge /v CryptoWalletEnabled /t REG_DWORD /d 0 /f
reg add $edge /v WalletDonationEnabled /t REG_DWORD /d 0 /f
reg add $edge /v HubsSidebarEnabled /t REG_DWORD /d 0 /f
# --- CLOUD SYNC - Désactivation complète ---
Write-Host " Desactivation Cloud Sync (19 cles)..." -ForegroundColor Yellow
$sync = "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\SettingSync"
reg add $sync /v DisableSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableSettingSyncUserOverride /t REG_DWORD /d 1 /f
reg add $sync /v DisableAppSyncSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableApplicationSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableCredentialsSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableDesktopThemeSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisablePersonalizationSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableStartLayoutSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableSyncOnPaidNetwork /t REG_DWORD /d 1 /f
reg add $sync /v DisableWebBrowserSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableWindowsSettingSync /t REG_DWORD /d 2 /f
# --- OneDrive ---
Write-Host " Desactivation OneDrive..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\OneDrive" /v DisableFileSyncNGSC /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\OneDrive" /v DisableMeteredNetworkFileSync /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\OneDrive" /v DisableLibrariesDefaultSaveToOneDrive /t REG_DWORD /d 1 /f
# --- NVIDIA Télémétrie ---
Write-Host " Desactivation telemetrie NVIDIA..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\NvControlPanel2\Client" /v OptInOrOutPreference /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\Global\FTS" /v EnableRID44231 /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\Global\FTS" /v EnableRID64640 /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\Global\FTS" /v EnableRID66610 /t REG_DWORD /d 0 /f
# --- Visual Studio Télémétrie ---
Write-Host " Desactivation telemetrie Visual Studio..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\SQM" /v OptIn /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\Feedback" /v DisableFeedbackDialog /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\Feedback" /v DisableEmailInput /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\Feedback" /v DisableScreenshotCapture /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\IntelliCode" /v DisableRemoteAnalysis /t REG_DWORD /d 1 /f
# --- Delivery Optimization P2P ---
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\DeliveryOptimization" /v DODownloadMode /t REG_DWORD /d 0 /f
# --- Driver auto-search ---
reg add "HKLM\OFFLINE_SW\Microsoft\Windows\CurrentVersion\DriverSearching" /v SearchOrderConfig /t REG_DWORD /d 0 /f
Write-Host "Dechargement ruche SOFTWARE..." -ForegroundColor Cyan
[gc]::Collect(); Start-Sleep 2
reg unload "HKLM\OFFLINE_SW"
# ============================================================
# RUCHE NTUSER.DAT - Tweaks utilisateur complémentaires
# ============================================================
Write-Host "`nChargement profil utilisateur..." -ForegroundColor Cyan
reg load "HKLM\OFFLINE_USER" "$mount\Users\Default\NTUSER.DAT"
# --- Handwriting / Speech / Input ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Input\TIPC" /v Enabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization" /v Value /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Personalization\Settings" /v AcceptedPrivacyPolicy /t REG_DWORD /d 0 /f
# --- Search history ---
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v BingSearchEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v DeviceHistoryEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v HistoryViewEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v CortanaEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings" /v IsMSACloudSearchEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings" /v IsAADCloudSearchEnabled /t REG_DWORD /d 0 /f
# --- Cloud sync user-side ---
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" /v SyncPolicy /t REG_DWORD /d 5 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Credentials" /v Enabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Language" /v Enabled /t REG_DWORD /d 0 /f
# --- VS Code telemetry user-side ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\VisualStudio\Telemetry" /v TurnOffSwitch /t REG_DWORD /d 1 /f
# --- Account notifications ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\SystemSettings\AccountNotifications" /v EnableAccountNotifications /t REG_DWORD /d 0 /f
# --- Copilot runtime ---
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsCopilot" /v AllowCopilotRuntime /t REG_DWORD /d 0 /f
# --- Voice activation ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Speech_OneCore\Settings\VoiceActivation\UserPreferenceForAllApps" /v AgentActivationEnabled /t REG_DWORD /d 0 /f
Write-Host "Dechargement profil utilisateur..." -ForegroundColor Cyan
[gc]::Collect(); Start-Sleep 2
reg unload "HKLM\OFFLINE_USER"
Write-Host "`n=== TWEAKS COMPLEMENTAIRES APPLIQUES ===" -ForegroundColor Green
Exécuter :
C:\tweak_complement.ps1
Ce dernier script gère le CapabilityAccessManager (blocage des accès apps UWP), la recherche avancée, et la pause de Windows Update (20 ans).
Script : tweak.ps1
notepad C:\tweak.ps1
tweak.ps1
$mount = "C:\Win11_Custom\mount"
# ============================================================
# RUCHE SOFTWARE - CapabilityAccessManager + WU Pause
# ============================================================
Write-Host "Chargement ruche SOFTWARE..." -ForegroundColor Cyan
reg load "HKLM\OFFLINE_SW" "$mount\Windows\System32\config\SOFTWARE"
# --- CapabilityAccessManager : bloquer 18 catégories d'accès UWP ---
Write-Host " Blocage CapabilityAccessManager (18 categories)..." -ForegroundColor Yellow
$capabilities = @(
"webcam", "microphone", "location", "contacts", "calendar",
"phoneCall", "email", "userAccountInformation", "chat",
"radios", "bluetoothSync", "appDiagnostics", "documentsLibrary",
"picturesLibrary", "videosLibrary", "broadFileSystemAccess",
"cellularData", "gazeInput"
)
foreach ($cap in $capabilities) {
reg add "HKLM\OFFLINE_SW\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\$cap" /v Value /t REG_SZ /d "Deny" /f | Out-Null
}
# --- Windows Update : pause 20 ans ---
Write-Host " Pause Windows Update 20 ans..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsUpdate" /v SetDisablePauseUXAccess /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsUpdate" /v DeferQualityUpdates /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsUpdate" /v DeferQualityUpdatesPeriodInDays /t REG_DWORD /d 365 /f
# --- Divers ---
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\WMDRM" /v DisableOnline /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\System" /v EnableActivityFeed /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\Maps" /v AutoDownloadAndUpdateMapData /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Camera" /v AllowCamera /t REG_DWORD /d 0 /f
Write-Host "Dechargement ruche SOFTWARE..." -ForegroundColor Cyan
[gc]::Collect(); Start-Sleep 2
reg unload "HKLM\OFFLINE_SW"
Write-Host "`n=== TWEAKS FINAUX APPLIQUES ===" -ForegroundColor Green
Exécuter :
C:\tweak.ps1
tweak_complement.ps1
$mount = "C:\Win11_Custom\mount"
# ============================================================
# tweak_ai_performance.tweak_complement.ps1
# Tweaks supplementairesRegroupe : IAEdge, dansCloud lesSync, OneDrive, NVIDIA, VS, AI apps,
# CapabilityAccessManager, WU, performance, vie privee
# A executer APRES tweak_final.tweak_registry.ps1 sur l'image WIM montee
# ============================================================
# ============================================================
# RUCHE 1 : SOFTWARE
# ============================================================
Write-Host "Chargement ruche SOFTWARE..." -ForegroundColor Cyan
reg load "HKLM\OFFLINE_SW" "$mount\Windows\System32\config\SOFTWARE"
# --- DEBLOAT EDGE (25 cles GPO) ---
Write-Host " Debloat Edge..." -ForegroundColor Yellow
$edge = "HKLM\OFFLINE_SW\Policies\Microsoft\Edge"
reg add $edge /v EdgeEnhanceImagesEnabled /t REG_DWORD /d 0 /f
reg add $edge /v PersonalizationReportingEnabled /t REG_DWORD /d 0 /f
reg add $edge /v ShowRecommendationsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v HideFirstRunExperience /t REG_DWORD /d 1 /f
reg add $edge /v UserFeedbackAllowed /t REG_DWORD /d 0 /f
reg add $edge /v ConfigureDoNotTrack /t REG_DWORD /d 1 /f
reg add $edge /v AlternateErrorPagesEnabled /t REG_DWORD /d 0 /f
reg add $edge /v EdgeCollectionsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v EdgeFollowEnabled /t REG_DWORD /d 0 /f
reg add $edge /v EdgeShoppingAssistantEnabled /t REG_DWORD /d 0 /f
reg add $edge /v MicrosoftEdgeInsiderPromotionEnabled /t REG_DWORD /d 0 /f
reg add $edge /v RelatedMatchesCloudServiceEnabled /t REG_DWORD /d 0 /f
reg add $edge /v ShowMicrosoftRewards /t REG_DWORD /d 0 /f
reg add $edge /v WebWidgetAllowed /t REG_DWORD /d 0 /f
reg add $edge /v MetricsReportingEnabled /t REG_DWORD /d 0 /f
reg add $edge /v StartupBoostEnabled /t REG_DWORD /d 0 /f
reg add $edge /v BingAdsSuppression /t REG_DWORD /d 1 /f
reg add $edge /v PromotionalTabsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v SendSiteInfoToImproveServices /t REG_DWORD /d 0 /f
reg add $edge /v SpotlightExperiencesAndRecommendationsEnabled /t REG_DWORD /d 0 /f
reg add $edge /v DiagnosticData /t REG_DWORD /d 0 /f
reg add $edge /v EdgeAssetDeliveryServiceEnabled /t REG_DWORD /d 0 /f
reg add $edge /v CryptoWalletEnabled /t REG_DWORD /d 0 /f
reg add $edge /v WalletDonationEnabled /t REG_DWORD /d 0 /f
reg add $edge /v HubsSidebarEnabled /t REG_DWORD /d 0 /f
# IA Edge
reg add $edge /v CopilotPageContext /t REG_DWORD /d 0 /f
reg add $edge /v CopilotCDPPageContext /t REG_DWORD /d 0 /f
reg add $edge /v DiscoverPageContextEnabled /t REG_DWORD /d 0 /f
# --- CLOUD SYNC ---
Write-Host " Desactivation Cloud Sync..." -ForegroundColor Yellow
$sync = "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\SettingSync"
reg add $sync /v DisableSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableSettingSyncUserOverride /t REG_DWORD /d 1 /f
reg add $sync /v DisableAppSyncSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableApplicationSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableCredentialsSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableDesktopThemeSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisablePersonalizationSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableStartLayoutSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableSyncOnPaidNetwork /t REG_DWORD /d 1 /f
reg add $sync /v DisableWebBrowserSettingSync /t REG_DWORD /d 2 /f
reg add $sync /v DisableWindowsSettingSync /t REG_DWORD /d 2 /f
# --- OneDrive ---
Write-Host " Desactivation OneDrive..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\OneDrive" /v DisableFileSyncNGSC /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\OneDrive" /v DisableMeteredNetworkFileSync /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\OneDrive" /v DisableLibrariesDefaultSaveToOneDrive /t REG_DWORD /d 1 /f
# --- NVIDIA Telemetrie ---
Write-Host " Desactivation telemetrie NVIDIA..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\NvControlPanel2\Client" /v OptInOrOutPreference /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\Global\FTS" /v EnableRID44231 /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\Global\FTS" /v EnableRID64640 /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\NVIDIA Corporation\Global\FTS" /v EnableRID66610 /t REG_DWORD /d 0 /f
# --- Visual Studio Telemetrie ---
Write-Host " Desactivation telemetrie Visual Studio..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\SQM" /v OptIn /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\Feedback" /v DisableFeedbackDialog /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\Feedback" /v DisableEmailInput /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\Feedback" /v DisableScreenshotCapture /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\VisualStudio\IntelliCode" /v DisableRemoteAnalysis /t REG_DWORD /d 1 /f
# --- IA dans Paint (Cocreator, Image Creator, Generative Fill) ---
Write-Host " Desactivation IA dans Paint..." -ForegroundColor Yellow
$paint = "HKLM\OFFLINE_SW\Microsoft\Windows\CurrentVersion\Policies\Paint"
reg add $paint /v DisableImageCreator /t REG_DWORD /d 1 /f
reg add $paint /v DisableGenerativeFill /t REG_DWORD /d 1 /f
reg add $paint /v DisableCocreator /t REG_DWORD /d 1 /f
# --- IA dans Notepad (Rewrite) ---
Write-Host " Desactivation IA dans Notepad..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Notepad" /v DisableAI /t REG_DWORD /d 1 /f
# --- Click to Do (analyse+ contextuelle IA)Recall ---
Write-Host " Desactivation Click to Do.Do + Recall..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsAI" /v DisableClickToDo /t REG_DWORD /d 1 /f
# --- Recall snapshots (ceinture + bretelles, deja desactive via DISM) ---
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsAI" /v DisableAIDataAnalysis /t REG_DWORD /d 1 /f
# --- IAActivity dans Edge (Copilot page context, Discover)History ---
Write-Host " Desactivation IA dans Edge..." -ForegroundColor Yellow
$edge = "HKLM\OFFLINE_SW\Policies\Microsoft\Edge"
reg add $edge /v CopilotPageContext /t REG_DWORD /d 0 /f
reg add $edge /v CopilotCDPPageContext /t REG_DWORD /d 0 /f
reg add $edge /v DiscoverPageContextEnabled /t REG_DWORD /d 0 /f
# --- Activity History (timeline) ---
Write-Host " Desactivation Activity History..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\System" /v PublishUserActivities /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\System" /v UploadUserActivities /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\System" /v EnableActivityFeed /t REG_DWORD /d 0 /f
# --- CapabilityAccessManager : bloquer 18 categories UWP ---
Write-Host " Blocage CapabilityAccessManager (18 categories)..." -ForegroundColor Yellow
$capabilities = @(
"webcam", "microphone", "location", "contacts", "calendar",
"phoneCall", "email", "userAccountInformation", "chat",
"radios", "bluetoothSync", "appDiagnostics", "documentsLibrary",
"picturesLibrary", "videosLibrary", "broadFileSystemAccess",
"cellularData", "gazeInput"
)
foreach ($cap in $capabilities) {
reg add "HKLM\OFFLINE_SW\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\$cap" /v Value /t REG_SZ /d "Deny" /f | Out-Null
}
# --- Windows Update : pause 20 ans (mises a jour manuelles toujours possibles) ---
Write-Host " Pause Windows Update 20 ans..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsUpdate" /v DeferQualityUpdates /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\WindowsUpdate" /v DeferQualityUpdatesPeriodInDays /t REG_DWORD /d 7300 /f
# --- Divers ---
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\DeliveryOptimization" /v DODownloadMode /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Microsoft\Windows\CurrentVersion\DriverSearching" /v SearchOrderConfig /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\WMDRM" /v DisableOnline /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Windows\Maps" /v AutoDownloadAndUpdateMapData /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_SW\Policies\Microsoft\Camera" /v AllowCamera /t REG_DWORD /d 0 /f
Write-Host "Dechargement ruche SOFTWARE..." -ForegroundColor Cyan
[gc]::Collect(); Start-Sleep 2
reg unload "HKLM\OFFLINE_SW"
# ============================================================
# RUCHE 2 : SYSTEM - Performance
# ============================================================
Write-Host "`nChargement ruche SYSTEM..." -ForegroundColor Cyan
reg load "HKLM\OFFLINE_SYS" "$mount\Windows\System32\config\SYSTEM"
# --- Desactiver Fast Startup off (garantit un vrai shutdown) ---
Write-Host " Desactivation Fast Startup (Hiberboot).Startup..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SYS\ControlSet001\Control\Session Manager\Power" /v HiberbootEnabled /t REG_DWORD /d 0 /f
# --- DesactiverHibernation Hibernationoff ---
Write-Host " Desactivation Hibernation..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_SYS\ControlSet001\Control\Power" /v HibernateEnabled /t REG_DWORD /d 0 /f
Write-Host "Dechargement ruche SYSTEM..." -ForegroundColor Cyan
[gc]::Collect(); Start-Sleep 2
reg unload "HKLM\OFFLINE_SYS"
# ============================================================
# RUCHE 3 : NTUSER.DAT - Profil utilisateur par defaut
# ============================================================
Write-Host "`nChargement profil utilisateur..." -ForegroundColor Cyan
reg load "HKLM\OFFLINE_USER" "$mount\Users\Default\NTUSER.DAT"
# --- Handwriting / Speech / Input ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Input\TIPC" /v Enabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\CPSS\Store\InkingAndTypingPersonalization" /v Value /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Personalization\Settings" /v AcceptedPrivacyPolicy /t REG_DWORD /d 0 /f
# --- Search ---
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v BingSearchEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v DeviceHistoryEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v HistoryViewEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Search" /v CortanaEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings" /v IsMSACloudSearchEnabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SearchSettings" /v IsAADCloudSearchEnabled /t REG_DWORD /d 0 /f
# --- Cloud sync user-side ---
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync" /v SyncPolicy /t REG_DWORD /d 5 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Credentials" /v Enabled /t REG_DWORD /d 0 /f
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\SettingSync\Groups\Language" /v Enabled /t REG_DWORD /d 0 /f
# --- VS Code telemetry ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\VisualStudio\Telemetry" /v TurnOffSwitch /t REG_DWORD /d 1 /f
# --- Copilot runtime ---
reg add "HKLM\OFFLINE_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsCopilot" /v AllowCopilotRuntime /t REG_DWORD /d 0 /f
# --- Voice activation ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Speech_OneCore\Settings\VoiceActivation\UserPreferenceForAllApps" /v AgentActivationEnabled /t REG_DWORD /d 0 /f
# --- Windows Spotlight (pubs sur le lockscreen) ---
Write-Host " Desactivation Windows Spotlight..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_USER\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightFeatures /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_USER\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightOnActionCenter /t REG_DWORD /d 1 /f
reg add "HKLM\OFFLINE_USER\Software\Policies\Microsoft\Windows\CloudContent" /v DisableWindowsSpotlightWindowsWelcomeExperience /t REG_DWORD /d 1 /f
# --- App Launch Tracking ---
Write-Hostreg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" Desactivation/v AppStart_TrackProgs Launch/t Tracking..."REG_DWORD /d 0 /f
# -ForegroundColor-- YellowMenu Demarrer recommandations ---
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_TrackProgsStart_IrisRecommendations /t REG_DWORD /d 0 /f
# --- Mouse Acceleration off ---
Write-Host " Desactivation Mouse Acceleration..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_USER\Control Panel\Mouse" /v MouseSpeed /t REG_SZ /d "0" /f
reg add "HKLM\OFFLINE_USER\Control Panel\Mouse" /v MouseThreshold1 /t REG_SZ /d "0" /f
reg add "HKLM\OFFLINE_USER\Control Panel\Mouse" /v MouseThreshold2 /t REG_SZ /d "0" /f
# --- DesactiverAccount les suggestions dans le menu Demarrernotifications ---
Write-Host " Desactivation recommandations menu Demarrer..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v Start_IrisRecommendations /t REG_DWORD /d 0 /f
# --- Desactiver les notifications compte Microsoft ---
Write-Host " Desactivation notifications compte MS..." -ForegroundColor Yellow
reg add "HKLM\OFFLINE_USER\Software\Microsoft\Windows\CurrentVersion\SystemSettings\AccountNotifications" /v EnableAccountNotifications /t REG_DWORD /d 0 /f
# --- HTTP language opt-out ---
reg add "HKLM\OFFLINE_USER\Control Panel\International\User Profile" /v HttpAcceptLanguageOptOut /t REG_DWORD /d 1 /f
Write-Host "Dechargement profil utilisateur..." -ForegroundColor Cyan
[gc]::Collect(); Start-Sleep 2
reg unload "HKLM\OFFLINE_USER"
Write-Host "`n=== TOUS LES TWEAKS IA / PERFORMANCECOMPLEMENTAIRES APPLIQUES ===" -ForegroundColor Green
Write-Host " - IA Paint : Image Creator, Generative Fill, Cocreator desactives" -ForegroundColor Gray
Write-Host " - IA Notepad : Rewrite desactive" -ForegroundColor Gray
Write-Host " - Click to Do : desactive" -ForegroundColor Gray
Write-Host " - Recall : snapshots bloquesEdge (28 GPO), Cloud Sync (11), OneDrive (3)" -ForegroundColor Gray
Write-Host " -NVIDIA (4), Visual Studio (5), IA Paint/Notepad/Edge : Copilot page context, Discover desactives" -ForegroundColor Gray
Write-Host " - Fast Startup: desactive (vrai shutdown)7)" -ForegroundColor Gray
Write-Host " -Click Hibernationto :Do, desactivee"Recall, Activity History" -ForegroundColor Gray
Write-Host " -CapabilityAccessManager Spotlight(18 : pubs lockscreen desactivees"categories)" -ForegroundColor Gray
Write-Host " -Fast MouseStartup Acceloff, :Hibernation desactivee"off" -ForegroundColor Gray
Write-Host " -Spotlight Demarreroff, :Mouse recommandationsAccel desactivees"off, Recommandations off" -ForegroundColor Gray