eliminato Delivery Optimization
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user