fixed winget install
This commit is contained in:
@@ -701,7 +701,7 @@ foreach ($app in $appsToRemove) {
|
||||
$RegistryPaths = "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent"
|
||||
# Create the path if it doesn't exist
|
||||
if (-not (Test-Path $RegistryPaths)) {
|
||||
New-Item -Path $RegistryPaths -Force | Out-Null
|
||||
New-Item -Path $RegistryPaths -Force
|
||||
}
|
||||
# Set the registry value to disable ads
|
||||
Set-ItemProperty -Path $RegistryPaths -Name "DisableConsumerAccountStateContent" -Value 1 -Type DWORD -Force | Out-Null
|
||||
|
||||
Reference in New Issue
Block a user