Skip to content

antons1/chrome-policy-remover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Chrome Policy Remover

I get a chrome policy that stops me from working efficiently. This fixes it.

The repo consists of two parts:

  • A task definition for Windows 10 that runs a script on every event recorded in the GroupPolicy log, passing the taskID along as a parameter
  • A Powershell script that will remove a registry key on a given path, and output the result to a CSV.

Thus, every time something happens that could potentially re-add the Chrome Group Policy, it will immediately be removed by the script.

How to use

  • Import the task definition (RemoveChromePolicy.xml) in Windows Task Scheduler. (Questions: Do you need to update Author? Do you need to manually select "Run whether user is logged on or not"?)
  • Copy RemoveChromePolicy.ps1 to a folder that is on your path (E.g create c:\bin and add it to your path)

The script will now run every time an event is added to the GroupPolicy log, and output some data to RemovePolicyResult.csv in the same folder that the script is located. This should keep your computer policy free and minty fresh.

Plans

After this has run for a time, I will analyse the log, and change the script to only be run on events that could actually change the policy, not on every GroupPolicy event.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published