Created
April 14, 2015 17:59
-
-
Save philoushka/6c7f4402cc4b50b494e1 to your computer and use it in GitHub Desktop.
Override Chrome settings locked by Group Policy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#disable Chrome's pwd manager | |
$regKey = "HKCU:\SOFTWARE\Policies\Google\Chrome" | |
Set-ItemProperty -Path $regKey -Name PasswordManagerEnabled -Value 0 | |
#set your start URLs | |
$regKey = "HKCU:\SOFTWARE\Policies\Google\Chrome\RestoreOnStartupURLs" | |
$startUrls = | |
"https://tweetdeck.twitter.com", | |
"https://trello.com", | |
"https://github.com" | |
$urlNumber=1 | |
foreach ($url in $startUrls) { | |
Set-ItemProperty -Path $regKey -Name $urlNumber -Value $url | |
$urlNumber++ | |
} | |
# set home button URL | |
$regKey = "HKCU:\SOFTWARE\Policies\Google\Chrome" | |
Set-ItemProperty -Path $regKey -Name HomepageLocation -Value "http://www.example.com" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment