cambiato chiave di registro per disabilitare Lets finish setting up your device
This commit is contained in:
@@ -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 ""
|
||||||
|
|||||||
Reference in New Issue
Block a user