Remove chrome popups
###
$registryPath = "HKCU:\Software\Policies\Google\Chrome\PopupsAllowedForUrls"
# Check if the registry path exists, if it does, delete all its entries
if (Test-Path $registryPath) {
$existingUrls = Get-ItemProperty -Path $registryPath -ErrorAction SilentlyContinue
foreach ($property in $existingUrls.PSObject.Properties) {
if ($property.Name -match '^\d+$') {
Remove-ItemProperty -Path $registryPath -Name $property.Name -Force | Out-Null
"הכתובת $($property.Value) הוסרה מהגדרות החלונות הקופצים של כרום."
}
}
# After removing all properties, delete the entire registry key
Remove-Item -Path $registryPath -Force | Out-Null
Write-Host "המפתח '$registryPath' נמחק בהצלחה."
} else {
Write-Host "המפתח '$registryPath' לא נמצא."
}
###
Once download complete, import it throw the import option in the Custom command section.
For any additional information, please contact support@eprocsolutions.com