Skip to content

[New Script]: Disable AI Features in Google Chrome #544

Open
@P0W3

Description

@P0W3

Operating system

Windows

Name of the script

Disable AI Features in Google Chrome

Documentation/References

Versions 121 and later of Google Chrome include built-in AI-powered features such as tab organizer, theme creations, and an AI writer. Using AI-powered features in Google Chrome will create statistical data that will be sent to Google. This script will disable the AI-powered features in Google Chrome, which not only increases privacy but also performance.

Documentation: https://www.askvg.com/how-to-enable-disable-all-new-ai-features-in-google-chrome

Code

:: ----------------------------------------------------------
:: -------Disable AI Features in Google Chrome--------
:: ----------------------------------------------------------
echo --- Disable AI Features in Google Chrome
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!TabOrganizerSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'TabOrganizerSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!CreateThemesSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'CreateThemesSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!HelpMeWriteSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'HelpMeWriteSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!DevToolsGenAiSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'DevToolsGenAiSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!HistorySearchSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'HistorySearchSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!TabCompareSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'TabCompareSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!HelpMeReadSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'HelpMeReadSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GenAiDefaultSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GenAiDefaultSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GenAIInlineImageSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GenAIInlineImageSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GenAIPhotoEditingSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GenAIPhotoEditingSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GenAISmartGroupingSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GenAISmartGroupingSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GenAiChromeOsSmartActionsSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GenAiChromeOsSmartActionsSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!AutofillPredictionSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '2'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'AutofillPredictionSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GeminiSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '1'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GeminiSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: Set the registry value: "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome!GenAILocalFoundationalModelSettings"
PowerShell -ExecutionPolicy Unrestricted -Command "$registryPath = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome'; $data = '1'; reg add 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Google\Chrome' /v 'GenAILocalFoundationalModelSettings' /t 'REG_DWORD' /d "^""$data"^"" /f"
:: ----------------------------------------------------------

Revert code

No response

Suggested category

No response

Recommendation level

None

Additional information

I think that the AI from Google can be a massive misstep in terms of privacy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions