I am trying to manage the preferred languages in my Microsoft Edge browser on Windows using PowerShell. Specifically, I want to remove certain languages that appear in the "edge://settings/languages" settings (e.g., Dutch
).
To do this, I need to know which registry keys or paths in HKLM
and/or HKCU
I can target for removal. I plan to use the Remove-Item
cmdlet in PowerShell to delete these registry entries.
For example, the PowerShell command I plan to use is:
Remove-Item -Path <registryPath> -Force -Recurse -Confirm:$false -ErrorAction Stop
Could anyone guide me on the exact registry keys or paths that correspond to the preferred languages settings in Microsoft Edge? Any assistance on how to identify and remove these entries correctly would be greatly appreciated.
P.S. I wonder if this setting is not stored in the registry but maybe in the C:\Users\$Env:UserName\AppData\Local\Microsoft\Edge\User Data\Default\Preferences
JSON file. 🤔
P.S.2. I also posted this question here on Discord and here on Microsoft TechCommunity.