How to turn this into a .reg file so I don't need to look for it manually?


infinity

Well-known member
VIP
Local time
12:15 AM
Posts
110
OS
Win 11
  1. Delete the registry keys:
    • HKEY_CURRENT_USER\Software\Google\Chrome
    • HKEY_CURRENT_USER\Software\Policies\Google\Chrome
    • HKEY_LOCAL_MACHINE\Software\Google\Chrome
    • HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome
    • HKEY_LOCAL_MACHINE\Software\Policies\Google\Update
    • HKEY_LOCAL_MACHINE\Software\WOW6432Node\Google\Enrollment
  2. Delete the value named CloudManagementEnrollmentToken from the registry key:
    • HKEY_LOCAL_MACHINE\Software\WOW6432Node\Google\Update\ClientState\{430FD4D0-B729-4F61-AA34-91526481799D}
  3. Delete the directory where Google Update writes cached cloud policies:
    • %ProgramFiles(x86)%\Google\Policies
 

My Computer My Computer

At a glance

Win 11Ryzen 3600GSkill RipJawz 16Gbx2GTX960
OS
Win 11
Computer type
PC/Desktop
CPU
Ryzen 3600
Motherboard
MSI B450 Tomahawk Max
Memory
GSkill RipJawz 16Gbx2
Graphics Card(s)
GTX960
Screen Resolution
2560x1440
Hard Drives
WD750 SSD 1TB
PSU
650w FSP
Any help will be much appreciated!
 

My Computer My Computer

At a glance

Win 11Ryzen 3600GSkill RipJawz 16Gbx2GTX960
OS
Win 11
Computer type
PC/Desktop
CPU
Ryzen 3600
Motherboard
MSI B450 Tomahawk Max
Memory
GSkill RipJawz 16Gbx2
Graphics Card(s)
GTX960
Screen Resolution
2560x1440
Hard Drives
WD750 SSD 1TB
PSU
650w FSP
You might need to take additional permissions or kill a related process/scheduled task, in case it is opened.
Code:
taskkill /im Chrome.exe /f
taskkill /im GoogleUpdate.exe /f

reg delete "HKCU\Software\Google\Chrome" /f
reg delete "HKCU\Software\Policies\Google\Chrome" /f
reg delete "HKLM\Software\Google\Chrome" /f
reg delete "HKLM\Software\Policies\Google\Chrome" /f
reg delete "HKLM\Software\Policies\Google\Update" /f
reg delete "HKLM\Software\WOW6432Node\Google\Enrollment" /f
reg delete "HKLM\Software\WOW6432Node\Google\Update\ClientState\{430FD4D0-B729-4F61-AA34-91526481799D}" /v "CloudManagementEnrollmentToken" /f

takeown /s %computername% /u %username% /f "%ProgramFiles(x86)%\Google\Policies" /r /d y
icacls "%ProgramFiles(x86)%\Google\Policies" /inheritance:r /grant:r %username%:(OI)(CI)F /t /l /q /c
rd "%ProgramFiles(x86)%\Google\Policies" /s /q
 

My Computer My Computer

At a glance

Home26H2CanAMD Ryzen 5 8600G (07/24)2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200...ASROCK Radeon RX 6600 Challenger D 8G @48FPS ...
OS
Home26H2Can
Computer type
PC/Desktop
CPU
AMD Ryzen 5 8600G (07/24)
Motherboard
ASROCK B650M-HDV/M.2 (07/24) BIOS 4.21 AGESA ComboAM5 1.3.0.1 (04/26)
Memory
2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL36 (07/24)
Graphics Card(s)
ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
Sound Card
Creative Sound BlasterX AE-5 Plus (05/24)
Monitor(s) Displays
24" Philips 24M1N3200ZS/00 (05/24)
Screen Resolution
1920×1080@165Hz via DP1.4
Hard Drives
Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
PSU
Seasonic Core GM 550 Gold (04/24)
Case
Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
Cooling
Noctua NH-U12S with Noctua NF-P12 (04/24)
Keyboard
HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
Mouse
Logitech M330 Silent Plus (01/26)
Internet Speed
500/100 Mbps via RouterOS (05/21) & TCP Optimizer
Browser
Edge, Brave for YouTube, LibreWolf for FB
Antivirus
NextDNS blocking 1/3 Traffic
Other Info
Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)
You might need to take additional permissions or kill a related process/scheduled task, in case it is opened.
Code:
taskkill /im Chrome.exe /f
taskkill /im GoogleUpdate.exe /f

reg delete "HKCU\Software\Google\Chrome" /f
reg delete "HKCU\Software\Policies\Google\Chrome" /f
reg delete "HKLM\Software\Google\Chrome" /f
reg delete "HKLM\Software\Policies\Google\Chrome" /f
reg delete "HKLM\Software\Policies\Google\Update" /f
reg delete "HKLM\Software\WOW6432Node\Google\Enrollment" /f
reg delete "HKLM\Software\WOW6432Node\Google\Update\ClientState\{430FD4D0-B729-4F61-AA34-91526481799D}" /v "CloudManagementEnrollmentToken" /f

takeown /s %computername% /u %username% /f "%ProgramFiles(x86)%\Google\Policies" /r /d y
icacls "%ProgramFiles(x86)%\Google\Policies" /inheritance:r /grant:r %username%:(OI)(CI)F /t /l /q /c
rd "%ProgramFiles(x86)%\Google\Policies" /s /q

this is written as a .bat file rather than .reg right? I'm asking for the latter actually..
 

My Computer My Computer

At a glance

Win 11Ryzen 3600GSkill RipJawz 16Gbx2GTX960
OS
Win 11
Computer type
PC/Desktop
CPU
Ryzen 3600
Motherboard
MSI B450 Tomahawk Max
Memory
GSkill RipJawz 16Gbx2
Graphics Card(s)
GTX960
Screen Resolution
2560x1440
Hard Drives
WD750 SSD 1TB
PSU
650w FSP
Code:
Windows Registry Editor Version 5.00

[-HKCU\Software\Google\Chrome]
[-HKCU\Software\Policies\Google\Chrome]
[-HKLM\Software\Google\Chrome]
[-HKLM\Software\Policies\Google\Chrome]
[-HKLM\Software\Policies\Google\Update]
[-HKLM\Software\WOW6432Node\Google\Enrollment]

[HKLM\Software\WOW6432Node\Google\Update\ClientState\{430FD4D0-B729-4F61-AA34-91526481799D}]
"CloudManagementEnrollmentToken"=-
 

My Computer My Computer

At a glance

Home26H2CanAMD Ryzen 5 8600G (07/24)2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200...ASROCK Radeon RX 6600 Challenger D 8G @48FPS ...
OS
Home26H2Can
Computer type
PC/Desktop
CPU
AMD Ryzen 5 8600G (07/24)
Motherboard
ASROCK B650M-HDV/M.2 (07/24) BIOS 4.21 AGESA ComboAM5 1.3.0.1 (04/26)
Memory
2x32GB Kingston FURY DDR5 5600 MHz CL36 @5200 CL36 (07/24)
Graphics Card(s)
ASROCK Radeon RX 6600 Challenger D 8G @48FPS (08/24)
Sound Card
Creative Sound BlasterX AE-5 Plus (05/24)
Monitor(s) Displays
24" Philips 24M1N3200ZS/00 (05/24)
Screen Resolution
1920×1080@165Hz via DP1.4
Hard Drives
Kingston KC3000 NVMe 2TB (05/24)
ADATA XPG GAMMIX S11 Pro 512GB (07/19)
PSU
Seasonic Core GM 550 Gold (04/24)
Case
Fractal Design Define 7 Mini with 3x Noctua NF-P14s/12@555rpm (04/24)
Cooling
Noctua NH-U12S with Noctua NF-P12 (04/24)
Keyboard
HP Pavilion Wired Keyboard 300 (07/24) + Rabalux 76017 Parker (01/24)
Mouse
Logitech M330 Silent Plus (01/26)
Internet Speed
500/100 Mbps via RouterOS (05/21) & TCP Optimizer
Browser
Edge, Brave for YouTube, LibreWolf for FB
Antivirus
NextDNS blocking 1/3 Traffic
Other Info
Phone: Motorola Moto G86 (02/26)
Backup: Hasleo Backup Suite (PreOS)
Headphones: Sennheiser RS170 (09/10)
Chair: Huzaro Force 4.4 Grey Mesh (05/24)
Notifier: Xiaomi Mi Band 9 Milanese (10/24)
FlexCore USB-C 3.2 Gen 1 (M) to LAN (F) (08/25)
REG file
Code:
Windows Registry Editor Version 5.00

[-HKEY_CURRENT_USER\Software\Google\Chrome]

[-HKEY_CURRENT_USER\Software\Policies\Google\Chrome]

[-HKEY_LOCAL_MACHINE\Software\Google\Chrome]

[-HKEY_LOCAL_MACHINE\Software\Policies\Google\Chrome]

[-HKEY_LOCAL_MACHINE\Software\Policies\Google\Update]

[-HKEY_LOCAL_MACHINE\Software\WOW6432Node\Google\Enrollment]

[HKEY_LOCAL_MACHINE\Software\WOW6432Node\Google\Update\ClientState\{430FD4D0-B729-4F61-AA34-91526481799D}]
"CloudManagementEnrollmentToken"=-

CMD
Batch:
rd "%ProgramFiles(x86)%\Google\Policies" /s /q
Note: deleting a file can't be done on the REG file.

/edit
Too late.
 

My Computers My Computers

  • At a glance

    Windows 11 HomeCore i5-12450HX20GB DDR5-4800iGPU + RTX 3050 Mobile (6GB)
    OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo
    CPU
    Core i5-12450HX
    Memory
    20GB DDR5-4800
    Graphics Card(s)
    iGPU + RTX 3050 Mobile (6GB)
    Sound Card
    Realtek
    Monitor(s) Displays
    the built-in laptop screen, and a generic monitor
    Screen Resolution
    1080p * 2
    Hard Drives
    GIGABYTE NVMe SSD 256GB (GP-GSM2NE3256GNTD)
    Micron NVMe SSD 512GB (MTFDKCD512QFM-1BDIAABLA)
    Browser
    Firefox
    Antivirus
    WD
  • At a glance

    Windows 10 ProCore i3-21004GB DDR3-2133iGPU
    Operating System
    Windows 10 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    Dell
    CPU
    Core i3-2100
    Memory
    4GB DDR3-2133
    Graphics card(s)
    iGPU
    Screen Resolution
    1080p
    Antivirus
    WD
Thank you so much!
 

My Computer My Computer

At a glance

Win 11Ryzen 3600GSkill RipJawz 16Gbx2GTX960
OS
Win 11
Computer type
PC/Desktop
CPU
Ryzen 3600
Motherboard
MSI B450 Tomahawk Max
Memory
GSkill RipJawz 16Gbx2
Graphics Card(s)
GTX960
Screen Resolution
2560x1440
Hard Drives
WD750 SSD 1TB
PSU
650w FSP
Back
Top Bottom