Re:Firefox now tells Mozilla what your default browser is ev...
by jlgaddis on Wednesday April 08, 2020 @11:43PM
(#22819572)
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!).
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.