信頼されていないデータベース ファイルを保護ビューで常に開く のレジストリ値 enabledatabasefileprotectedviewユーザーHKCU\software\policies\microsoft\office\16.0\excel\security\protectedview

ポリシー ID
L_EnableDataBaseFileProtectedView
適用対象
ユーザーの構成
サポートされるバージョン
Windows Server 2008 R2、Windows 7 またはそれ以降
出典
Microsoft 365 Apps / Office Administrative Templates (バージョン 5568.1000)
カテゴリ
Microsoft Excel 2016 › Excel のオプション › セキュリティ › セキュリティ センター › 保護ビュー

レジストリ

enabledatabasefileprotectedview

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

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\protectedview]

; 選択項目 (1 つだけ使用)
; 有効
"enabledatabasefileprotectedview"=dword:00000001
; 無効
"enabledatabasefileprotectedview"=dword:00000000
CMD
:: 選択項目 (1 つだけ使用)

:: 有効
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\protectedview" /v "enabledatabasefileprotectedview" /t REG_DWORD /d 1 /f
:: 無効
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\protectedview" /v "enabledatabasefileprotectedview" /t REG_DWORD /d 0 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# 有効
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'enabledatabasefileprotectedview' -PropertyType DWord -Value 1 -Force | Out-Null
# 無効
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\protectedview' -Name 'enabledatabasefileprotectedview' -PropertyType DWord -Value 0 -Force | Out-Null