Solved

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

Posted on 2014-11-05
5
1,771 Views
Last Modified: 2014-11-28
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.
0
Comment
Question by:sbitsolutionDE
  • 3
  • 2
5 Comments
 
LVL 6

Expert Comment

by:Uptime Legal Systems
ID: 40424382
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
0
 

Author Comment

by:sbitsolutionDE
ID: 40426582
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?
0
 
LVL 6

Expert Comment

by:Uptime Legal Systems
ID: 40435897
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.
0
 

Accepted Solution

by:
sbitsolutionDE earned 0 total points
ID: 40461558
I finally found the file which activates/deactivates the Hardwareacceleration:

"%LOCALAPPDATA%\Google\Chrome\User Data\Local State" << the File is Local State

to deactivate the Hardwareacceleration insert this code:

"hardware_acceleration_mode": {"enabled": false},
0
 

Author Closing Comment

by:sbitsolutionDE
ID: 40470205
The easiest way to solve the problem
0

Featured Post

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
How to create a custom search shortcut to site-search Experts Exchange using Google in the Firefox browser. This eliminates the need to type out site:experts-exchange.com whenever you want to search the site. Launch your Bookmark Menu: Press 'Ctrl +…

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now