Skip to content

Commit

Permalink
Create Unenroll-from-CBCM
Browse files Browse the repository at this point in the history
a simple script to unenroll a browser from CBCM from the endpooint
  • Loading branch information
nsamarakkody authored May 23, 2024
1 parent fb6e579 commit 90e8e49
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ps/src/Unenroll-from-CBCM.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
:: This script will unenroll the Chrome browser from Chrome Browser Cloud Mgmt (CBCM) console by removing the :
:: CloudManagementEnrollmentToken
:: Device token
:: Note: You must delete the enrolled browser from CBCM in the Google Admin Console.
:: Use adminstrator mode when running this script in command prompt.

:: Remove CloudManagementEnrollmentToken
reg delete "HKLM\SOFTWARE\Policies\Google\Chrome" /v "CloudManagementEnrollmentToken" /f

:: Remove Device token
reg delete "HKLM\SOFTWARE\Google\Chrome\Enrollment" /f
reg delete "HKLM\SOFTWARE\WOW6432Node\Google\Enrollment" /f

0 comments on commit 90e8e49

Please sign in to comment.