Link to home
Start Free TrialLog in
Avatar of sbitsolutionDE
sbitsolutionDEFlag for Germany

asked on

How to deactivate Hardware-Acceleration for Chrome with Powershell-Script

I want to deactivate the Hardware-Acceleration for Google Chrome with a Powershell-Script. There may be a Registry-Key or a config for this, but I don´t know where.
Avatar of Uptime Legal Systems
Uptime Legal Systems
Flag of United States of America image

Is this for Chrome across a domain?  I typically will deploy chrome changes via Group Policy in the registry section.

You can modify the value (Default) in HKLM\Software\Classes\ChromeHTML\shell\open\command and change the %1 with any of the Chrome switches you want to use.  i.e.

Change the value from "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" -- "%1" to "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --disable-gpu
Avatar of sbitsolutionDE

ASKER

Thanks for the fast answer, but the new Problem is, if Chrome is your default browser the "--disable-gpu" will not work because this option is saved in HKCU\Software\Classes\http\shell\open\command. For example if you click on a link in outlook. Is there no config-file where the option to deactivate the hardware-acceleration is saved?
As far as I'm aware there isn't another way to automatically disable it-- but the default browser would use the following keys:
HKEY_CLASSES_ROOT\.htm
HKEY_CLASSES_ROOT\.html
HKEY_CLASSES_ROOT\http\shell\open\command
HKEY_CLASSES_ROOT\http\shell\open\ddeexec\Application
HKEY_CLASSES_ROOT\ftp\shell\open\command
HKEY_CLASSES_ROOT\ftp\shell\open\ddeexec\Application

In your policy you can define the --disable-gpu for these as well; specifically the key in bold above.
ASKER CERTIFIED SOLUTION
Avatar of sbitsolutionDE
sbitsolutionDE
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
The easiest way to solve the problem