Has anyone attempted to do this?
New-Item -Path registry::HKEY_USERS\$($Item.SID)\Software\Policies\Google\Chrome\ExtensionInstallForcelist -Force Set-ItemProperty -Path registry::HKEY_USERS\$($Item.SID)\Software\Policies\Google\Chrome\ExtensionInstallForcelist -Name "1" -Value "ioalpmibngobedobkmbhgmadaphocjdn;https://clients2.google.com/service/update2/crx" -Type String -Force
I managed to figure it out. Turns out it’s quite simple.
- You need to modify the HKCU registry hive. In the above example, I assume you managed to retrieve the user’s SID. If you are having problems getting this, let me know.
- In the second line, “Value” has a long string of what looks like gibberish. That is the Chrome extension’s ID value (this is Google’s way of uniquely identifying each extension published in their store). In the case above, it is the OneLogin Chrome Extension. To get your Chrome extension ID, look here.
Thanks for coming back and sharing the solution!
You may be better off using Google Chrome Browser Management, but great that it can be done in Automox!