Use type and replace

Checks/Unchecks the corresponding UI option.

Supported on: At least Windows 7
Registry HiveHKEY_CURRENT_USER
Registry Pathsoftware\policies\microsoft\office\15.0\publisher\preferences
Value Nametypereplace
Value TypeREG_SZ
Enabled Value1
Disabled Value0

pub15.admx

Administrative Templates (Computers)

Administrative Templates (Users)