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


infinity

Active member
VIP
Local time
8:07 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 3600 & No fTPM (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1E & IFX TPM (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC @48FPS (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz & FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB & 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm (07/19)
    Keyboard
    HP Wired Desktop 320K + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    400/40 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge (No FB/Google) & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
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 3600 & No fTPM (07/19)
    Motherboard
    MSI B450 TOMAHAWK 7C02v1E & IFX TPM (07/19)
    Memory
    4x 8GB ADATA XPG GAMMIX D10 DDR4 3200MHz CL16
    Graphics Card(s)
    MSI Radeon RX 580 ARMOR 8G OC @48FPS (08/19)
    Sound Card
    Creative Sound Blaster Z (11/16)
    Monitor(s) Displays
    24" AOC G2460VQ6 (01/19)
    Screen Resolution
    1920×1080@75Hz & FreeSync (DisplayPort)
    Hard Drives
    ADATA XPG GAMMIX S11 Pro SSD 512GB (07/19)
    PSU
    Seasonic M12II-520 80 Plus Bronze (11/16)
    Case
    Lian Li PC-7NB & 3x Noctua NF-S12A FLX@700rpm (11/16)
    Cooling
    CPU Cooler Noctua NH-U12S@700rpm (07/19)
    Keyboard
    HP Wired Desktop 320K + Rabalux 76017 Parker (01/24)
    Mouse
    Logitech M330 Silent Plus (04/23)
    Internet Speed
    400/40 Mbps via RouterOS (05/21) & TCP Optimizer
    Browser
    Edge (No FB/Google) & Brave for YouTube & LibreWolf for FB
    Antivirus
    NoAV & Binisoft WFC & NextDNS
    Other Info
    Headphones: Sennheiser RS170 (09/10)
    Phone: Samsung Galaxy Xcover 7 (02/24)
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