Compare commits

...

2 Commits

Author SHA1 Message Date
dado
5462c96a01 eliminato Delivery Optimization 2025-10-18 14:58:36 +02:00
dado
293c025e62 minor changes 2025-10-18 14:51:09 +02:00

View File

@@ -385,6 +385,8 @@ foreach ($RegistryPath in $RegistryPaths) {
}
}
Write-Host ""
####################################################################################################################################
Write-Host -ForegroundColor Yellow ">>> Disable Lets finish setting up your device <<<"
@@ -667,19 +669,6 @@ Set-ItemProperty -Path $WindowsUpdateRegistryPath -Name "NoAutoRebootWithLoggedO
####################################################################################################################################
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
taskkill /f /im explorer.exe | Out-Null