Skip to main content

Clear-ChromiumHomepage

Description

Clears enforced homepages in Chromium-based browsers.

Usage

  1. Reads the $Target parameter and prepares a list of registry keys to edit.
  2. Removes specific registry keys that enforce homepage selection, new tab page control, and session restoration.
  3. Validates that the registry keys either did not exist or were successfully removed.
.\\Clear-ChromiumHomepage.ps1 -Target 'Chrome','Edge'

Removes enforced homepages in Chrome and Edge. After running, user configuration of browser homepages will be available.

Parameters

ParameterAliasRequiredDefaultTypeDescription
TargetFalseAllString[]The target type(s) of Chromium-based browser(s) to remove homepage enforcement for.

Output

.\\Set-ChromiumHomepage-log.txt