Hacker News new | ask | show | jobs
by jlgaddis 2261 days ago
Instead of copying and pasting the registry entry into a text file, merging ("running") it, then deleting the text file, the following (PowerShell) command should do the same thing:

  New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Mozilla\Firefox" -Name DisableDefaultBrowserAgent -PropertyType DWord -Value 1
To disable the scheduled task (if you simply delete it, it might "reappear" after Firefox is updated):

  schtasks.exe /change /disable /tn "\Mozilla\Firefox Default Browser Agent 308046B0AF4A39CB"
Or, you could simply disable the telemetry altogether and tell Mozilla that all this "opt-in by default" telemetry is bullshit.

Note: The above are untested as I don't run Windows (partly because of all the spyware -- excuse me, "telemetry" -- bullshit!).

(Edit: Sorry, changed forward slashes to back slashes.)

1 comments

spyware that firefox seem to emulate quite well given these news.

BTW, your suggestions do not in the firefox I have:

New-ItemProperty : Cannot find path 'HKLM:\SOFTWARE\Policies\Mozilla\Firefox' because it does not exist. At line:1 char:3 + New-ItemProperty -Path "HKLM:/SOFTWARE/Policies/Mozilla/Firefox" -N ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : ObjectNotFound: (HKLM:\SOFTWARE\Policies\Mozilla\Firefox:String) [New-ItemProperty], ItemNotFoundException + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.NewItemPropertyCommand

ERROR: The specified task name "\Mozilla\Firefox Default Browser Agent 308046B0AF4A39CB" does not exist in the system.

Sorry,

  New-Item -Path "HKLM:\SOFTWARE\Policies\Mozilla\Firefox"
might be neccesary first, if Firefox didn't already create it. Or it could be because I originally used forward slashes instead of back slashes (now fixed!).