cambiato chiave di registro per disabilitare Lets finish setting up your device

This commit is contained in:
dado
2025-10-18 14:31:06 +02:00
parent 7674c670e8
commit 3ee88aac48

View File

@@ -389,14 +389,14 @@ foreach ($RegistryPath in $RegistryPaths) {
Write-Host -ForegroundColor Yellow ">>> Disable Lets finish setting up your device <<<" Write-Host -ForegroundColor Yellow ">>> Disable Lets finish setting up your device <<<"
$RegistryPaths = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\UserProfileEngagement" $RegistryPaths = "HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
# Check if the path exists # Check if the path exists
if (-not (Test-Path $RegistryPaths)) { if (-not (Test-Path $RegistryPaths)) {
# Create the path if it doesn't exist # Create the path if it doesn't exist
New-Item -Path $RegistryPaths -Force | Out-Null New-Item -Path $RegistryPaths -Force | Out-Null
} }
Set-ItemProperty -Path $RegistryPaths -Name "ScoobeSystemSettingEnabled" -Value 0 -Force | Out-Null Set-ItemProperty -Path $RegistryPaths -Name "SubscribedContent-338389Enabled" -Value 0 -Force | Out-Null
Write-Host "" Write-Host ""