From 5462c96a01f630614c5c748a72093210af153841 Mon Sep 17 00:00:00 2001 From: dado Date: Sat, 18 Oct 2025 14:58:36 +0200 Subject: [PATCH] eliminato Delivery Optimization --- configwinpc.ps1 | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/configwinpc.ps1 b/configwinpc.ps1 index 9c8d923..cd85cb3 100644 --- a/configwinpc.ps1 +++ b/configwinpc.ps1 @@ -667,21 +667,6 @@ if (!(Test-Path $WindowsUpdateRegistryPath)) { Set-ItemProperty -Path $WindowsUpdateRegistryPath -Name "NoAutoRebootWithLoggedOnUsers" -Value 1 -Type DWORD | Out-Null -Write-Host "" - -#################################################################################################################################### - -Write-Host -ForegroundColor Yellow ">>> Turn Off Windows Update Delivery Optimization <<<" - -$RegistryPaths = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings" -# Check if the path exists -if (-not (Test-Path $RegistryPaths)) { - # Create the path if it doesn't exist - New-Item -Path $RegistryPaths -Force | Out-Null -} - -Set-ItemProperty -Path $RegistryPaths -Name "DownloadMode" -Value 0 -Force | Out-Null - #################################################################################################################################### # Restart File Explorer to apply the changes