Preventing Users from Disabling Session Recording

Session Recording now uses a new background system called service workers instead of the old background page. Service workers help run your web apps even when you're not actively using them. Users can accidentally stop service workers through a Chrome settings page (chrome://serviceworker-internals), which could interrupt session recording.

Browser extensions like Web Password Filler can't prevent users from disabling service workers due to technical limitations. If a user stops the service worker, it will interrupt session recording. However, administrators can prevent users from disabling service workers by implementing a group policy.

Complete these steps to set up policies that prevent users from disabling service workers: 

  1. Download and install Chrome policy templates:

    1. Download the Chrome policy templates from Google Admin Template.

    2. Extract the contents of the zip file.

  2. Load the policy templates.

    1. Open the Group Policy Management Editor if you're managing the policy via a Windows Group Policy.

    2. Right-click on your desired Group Policy Object (GPO) and select Edit.

    3. Navigate to User Configuration or Computer Configuration > Policies > Administrative Templates.

    4. Right-click on Administrative Templates and select Add/Remove Templates.

    5. Add the .admx file for Chrome.

  3. Configure the URLBlocklist policy:

    1. Navigate to User Configuration or Computer Configuration, go to Administrative Templates > GoogleGoogle ChromeURL Blocking.

    2. Double-click Block access to a list of URLs and enable this policy.

    3. Click the Show button to open the list of blocked URLs.

    4. Add chrome://serviceworker-internals/* to the list.

    5. Click OK to apply the changes.

  4. Apply the group policy: 

    1. Close the Group Policy Management Editor.

    2. Update the policy on client machines by running gpupdate /force in the command prompt, or wait for the next automatic policy refresh.