Hacker News new | ask | show | jobs
by jlgaddis 2341 days ago
FWIW, the (untested) PowerShell equivalent would be:

  New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\office\16.0\common\officeupdate" -Name "preventbinginstall" -PropertyType DWord -Value 1