Instead of using script you can simple disable using Google Chrome GPO settings as below
- Download “chrome.adml” and “google.adml template from Google for Chrome Browser Google Chrome enterprise bundle.
- GPO \ Computer Configuration\ Administrative Templates\ Google Chrome\ “Use hardware acceleration when available“. Now change the toggle option to Disabled.
Hope this answers your question :)
Thank you.
--
--If the reply is helpful, please Upvote and Accept as answer--