mirror of
https://github.com/admindroid-community/powershell-scripts.git
synced 2025-12-17 16:35:19 +00:00
Prevent bin installation in Chrome browser
Office 365 ProPlus to change Chrome's default search engine to Bing in upcoming update
This commit is contained in:
parent
9ec80fd8ae
commit
b79c90ecc4
14
Prevent Bing Install in Chrome/PreventBingInstall.ps1
Normal file
14
Prevent Bing Install in Chrome/PreventBingInstall.ps1
Normal file
@ -0,0 +1,14 @@
|
||||
$RegistryPath = "HKLM:\SOFTWARE\Policies\Microsoft\Office\16.0\Common\Officeupdate"
|
||||
|
||||
$Name = "preventbinginstall"
|
||||
$value = "00000001"
|
||||
|
||||
if(!(Test-Path $RegistryPath))
|
||||
{
|
||||
Write-Host Office 365 Pro Plus not available -ForegroundColor Yellow
|
||||
}
|
||||
else
|
||||
{
|
||||
New-ItemProperty -Path $registryPath -Name $name -Value $value -PropertyType DWORD -Force | Out-Null
|
||||
Write-Host Successfully added registry key to prevent Bing install in Chrome -ForegroundColor Green
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user