Control Blogging: registry value disableblogUserHKCU\software\policies\microsoft\office\common\blog
- Policy ID
- L_ControlBlogging
- Scope
- User Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Microsoft 365 Apps / Office Administrative Templates (version 5568.1000)
- Category
- Microsoft Office 2016 › Miscellaneous
Registry
disableblog
REG_DWORDUser- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Enabled | 0 |
| Only SharePoint blogs allowed | 1 |
| All blogging disabled | 2 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\common\blog] ; Options (use only one) ; Enabled "disableblog"=dword:00000000 ; Only SharePoint blogs allowed "disableblog"=dword:00000001 ; All blogging disabled "disableblog"=dword:00000002
CMD
:: Options (use only one) :: Enabled reg add "HKCU\software\policies\microsoft\office\common\blog" /v "disableblog" /t REG_DWORD /d 0 /f :: Only SharePoint blogs allowed reg add "HKCU\software\policies\microsoft\office\common\blog" /v "disableblog" /t REG_DWORD /d 1 /f :: All blogging disabled reg add "HKCU\software\policies\microsoft\office\common\blog" /v "disableblog" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\office\common\blog' -Force | Out-Null # Options (use only one) # Enabled New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\blog' -Name 'disableblog' -PropertyType DWord -Value 0 -Force | Out-Null # Only SharePoint blogs allowed New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\blog' -Name 'disableblog' -PropertyType DWord -Value 1 -Force | Out-Null # All blogging disabled New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\common\blog' -Name 'disableblog' -PropertyType DWord -Value 2 -Force | Out-Null