NotBadAndYou,

Here's the command-line equivalent to using Powershell:

REG.EXE ADD HKCU\Software\Policies\Microsoft\office\16.0\common\links /V BrowserChoice /T REG_DWORD /D 0 /F

(Sorry, I meant this to be a reply, but Kbin.social errors out when I try to delete this post, so now there's duplicates.)

nulldata,

There's a GPO to turn it off, but you'll need to download the latest Office GPO package. Here's a PowerShell script if you're running an RMM tool - it'll need to run as user:

Function SetRegistryKey($RegistryPath, $Name, $PropertyType, $Value){
    # Create the key if it does not exist
    If (-NOT (Test-Path $RegistryPath)) {
      New-Item -Path $RegistryPath -Force | Out-Null
    }  
    # Now set the value
    New-ItemProperty -Path $RegistryPath -Name $Name -Value $Value -PropertyType $PropertyType -Force 
}

SetRegistryKey "HKCU:\Software\Policies\Microsoft\office\16.0\common\links" "BrowserChoice" DWORD "0"
NotBadAndYou,

Here's the command-line equivalent:

REG.EXE ADD HKCU\Software\Policies\Microsoft\office\16.0\common\links /V BrowserChoice /T REG_DWORD /D 0 /F

  • All
  • Subscribed
  • Moderated
  • Favorites
  • sysadmin@lemmy.ml
  • tacticalgear
  • DreamBathrooms
  • khanakhh
  • mdbf
  • InstantRegret
  • magazineikmin
  • everett
  • cubers
  • rosin
  • Youngstown
  • slotface
  • ngwrru68w68
  • kavyap
  • thenastyranch
  • JUstTest
  • modclub
  • Durango
  • GTA5RPClips
  • cisconetworking
  • osvaldo12
  • ethstaker
  • Leos
  • tester
  • anitta
  • normalnudes
  • provamag3
  • megavids
  • lostlight
  • All magazines