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


infinity

Active member
VIP
Local time
3:08 PM
Posts
109
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

System One

  • 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

System One

  • 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

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 8600G (07/24)
    Motherboard
    ASROCK B650M-HDV/M.2 3.09 (07/24)
    Memory
    2x32GB Kingston FURY DDR5 5600 MHz CL36 @4800 CL40 (07/24)
    Graphics Card(s)
    ASROCK Radeon RX 6600 Challenger D 8G @60FPS (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 (04/23)
    Internet Speed
    500/100 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Backup: Hasleo Backup Suite (PreOS)
    Notifier: Xiaomi Mi Band 7 NFC (05/24)
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
    Chair: Huzaro Force 4.4 Grey Mesh (05/24)
    2nd Monitor: AOC G2460VQ6 @75Hz (02/19)
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

System One

  • 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

System One

  • OS
    Windows 11 Home
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 5 8600G (07/24)
    Motherboard
    ASROCK B650M-HDV/M.2 3.09 (07/24)
    Memory
    2x32GB Kingston FURY DDR5 5600 MHz CL36 @4800 CL40 (07/24)
    Graphics Card(s)
    ASROCK Radeon RX 6600 Challenger D 8G @60FPS (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 (04/23)
    Internet Speed
    500/100 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Backup: Hasleo Backup Suite (PreOS)
    Notifier: Xiaomi Mi Band 7 NFC (05/24)
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
    Chair: Huzaro Force 4.4 Grey Mesh (05/24)
    2nd Monitor: AOC G2460VQ6 @75Hz (02/19)
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 Computer

System One

  • OS
    EndeavourOS, Windows 11 Pro
    Computer type
    PC/Desktop
    Manufacturer/Model
    custom PC
    CPU
    Core i5 8400
    Motherboard
    Gigabyte B360M-HD3
    Memory
    8gb DDR4-2400
    Graphics Card(s)
    iGPU
    Sound Card
    Realtek
    Monitor(s) Displays
    some generic 1080p 75hz monitor * 2
    Screen Resolution
    1080p * 2
    Hard Drives
    GIGABYTE NVMe SSD 256GB (GP-GSM2NE3256GNTD)
    Internet Speed
    200MBit/s
    Antivirus
    WD
Thank you so much!
 

My Computer

System One

  • 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