diff --git a/Prevent Bing Install in Chrome/PreventBingInstall.ps1 b/Prevent Bing Install in Chrome/PreventBingInstall.ps1 new file mode 100644 index 0000000..6240339 --- /dev/null +++ b/Prevent Bing Install in Chrome/PreventBingInstall.ps1 @@ -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 +}