Tweaks complémentaires Optionnel
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 :
$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
$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