アジャイル VBA 署名を検証するための最小限のオペレーティング システムを設定します のレジストリ値 minsigsupportosユーザーHKCU\software\policies\microsoft\vba\security

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

レジストリ

minsigsupportos

REG_DWORDユーザー
有効時の値
オプションの値に依存
要素
-
オプション
項目保存される値
Windows XP0
Windows Vista1
Windows 72
Windows 83
.reg · CMD · PowerShell で適用する
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\vba\security]

; 選択項目 (1 つだけ使用)
; Windows XP
"minsigsupportos"=dword:00000000
; Windows Vista
"minsigsupportos"=dword:00000001
; Windows 7
"minsigsupportos"=dword:00000002
; Windows 8
"minsigsupportos"=dword:00000003
CMD
:: 選択項目 (1 つだけ使用)

:: Windows XP
reg add "HKCU\software\policies\microsoft\vba\security" /v "minsigsupportos" /t REG_DWORD /d 0 /f
:: Windows Vista
reg add "HKCU\software\policies\microsoft\vba\security" /v "minsigsupportos" /t REG_DWORD /d 1 /f
:: Windows 7
reg add "HKCU\software\policies\microsoft\vba\security" /v "minsigsupportos" /t REG_DWORD /d 2 /f
:: Windows 8
reg add "HKCU\software\policies\microsoft\vba\security" /v "minsigsupportos" /t REG_DWORD /d 3 /f
PowerShell
# 共通: キーを作成
New-Item -Path 'HKCU:\software\policies\microsoft\vba\security' -Force | Out-Null

# 選択項目 (1 つだけ使用)
# Windows XP
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\vba\security' -Name 'minsigsupportos' -PropertyType DWord -Value 0 -Force | Out-Null
# Windows Vista
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\vba\security' -Name 'minsigsupportos' -PropertyType DWord -Value 1 -Force | Out-Null
# Windows 7
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\vba\security' -Name 'minsigsupportos' -PropertyType DWord -Value 2 -Force | Out-Null
# Windows 8
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\vba\security' -Name 'minsigsupportos' -PropertyType DWord -Value 3 -Force | Out-Null