Skip to main content

Chromium Forced Homepage Clear

Summary

This document describes how to clear enforced homepages in Chromium-based browsers. For implementation details, refer to the agnostic content: SWM - Software Configuration - Clear-ChromiumHomepage.

Example Agent Procedure Log

TimeActionResultUser
10:49:53 am 2-Dec-22Chromium Forced Homepage ClearSuccess THENprovaltech.com/dan.hicks
10:49:53 am 2-Dec-22Chromium Forced Homepage Clear-0001Log: 2022-12-02 10:49:49 INIT ----------------------------------------------- 2022-12-02 10:49:49 INIT Clear-ChromiumHomepage 2022-12-02 10:49:49 INIT System: DEV ...provaltech.com/dan.hicks
10:49:52 am 2-Dec-22Chromium Forced Homepage ClearRaw PS1 Data:provaltech.com/dan.hicks
10:49:52 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)Success THENprovaltech.com/dan.hicks
10:49:52 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)-0016Powershell command complete. Results returned to global variable #global:psresult# and saved in Agent's Documents tab of the server.provaltech.com/dan.hicks
10:49:47 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)-0011Executing 64-bit Powershell command as System: \"\" -command \"%ProgramData%/_automation/AgentProcedure/ChromiumHomePageClear/Clear-ChromiumHomepage.ps1 -Target Edge\" >\"c:/provaltech/psoutputtmp.txt\"provaltech.com/dan.hicks
10:49:47 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)-0013Sending output to global variable.provaltech.com/dan.hicks
10:49:47 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)-0008Custom commands detected as %ProgramData%/_automation/AgentProcedure/ChromiumHomePageClear/Clear-ChromiumHomepage.ps1 -Target Edgeprovaltech.com/dan.hicks
10:49:47 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)-0003No Powershell file variable detected.provaltech.com/dan.hicks
10:49:43 am 2-Dec-22Execute Powershell Command (64-bit, Run As System)-0002Powershell is present.provaltech.com/dan.hicks
10:49:40 am 2-Dec-22Execute Powershell CommandSuccess THENprovaltech.com/dan.hicks
10:49:39 am 2-Dec-22Execute Powershell Command-0011Powershell command completed!provaltech.com/dan.hicks
10:49:37 am 2-Dec-22Execute Powershell Command-0011Executing Powershell \"\" -Command \"New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name ChromiumHomePageClear\" \"\"provaltech.com/dan.hicks
10:49:37 am 2-Dec-22Execute Powershell Command-0010Not sending output to variable.provaltech.com/dan.hicks
10:49:37 am 2-Dec-22Execute Powershell Command-0008New command variable is: -Command \"New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name ChromiumHomePageClear\"provaltech.com/dan.hicks
10:49:37 am 2-Dec-22Execute Powershell Command-0008Custom commands detected as New-Item -Type Directory -Path $env:ProgramData/_automation/AgentProcedure -name ChromiumHomePageClearprovaltech.com/dan.hicks
10:49:35 am 2-Dec-22Execute Powershell Command-0002Powershell is present.provaltech.com/dan.hicks
10:49:26 am 2-Dec-22Run Now - Chromium Forced Homepage ClearAdmin provaltech.com/dan.hicks scheduled procedure Run Now - Chromium Forced Homepage Clear to run at Dec 2 2022 10:49 AM

Process

  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.

Output

  • Agnostic content logs
  • Agent Procedure Log