ドキュメントの変換を許可しない (Excel、PowerPoint、Word) のレジストリ値 convertdocumentユーザーHKCU\software\policies\microsoft\office\16.0\common\general

ポリシー ID
L_DisalowconvertdocumentPolicy
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Office 2016 › その他

レジストリ

convertdocument

REG_SZユーザー
有効時の値
BlockConvert
無効時の値
AllowConvert
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\general]

; 選択項目 (1 つだけ使用)
; 有効
"convertdocument"="BlockConvert"
; 無効
"convertdocument"="AllowConvert"
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKCU\software\policies\microsoft\office\16.0\common\general" /v "convertdocument" /t REG_SZ /d "BlockConvert" /f
:: 無効
reg add "HKCU\software\policies\microsoft\office\16.0\common\general" /v "convertdocument" /t REG_SZ /d "AllowConvert" /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\general' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\general' -Name 'convertdocument' -PropertyType String -Value 'BlockConvert' -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\general' -Name 'convertdocument' -PropertyType String -Value 'AllowConvert' -Force | Out-Null