Set the minimum operating system for verifying agile VBA signatures: registry value minsigsupportosUserHKCU\software\policies\microsoft\vba\security
- Policy ID
- L_MinSigSupportOS
- 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 › Security Settings › Trust Center
Registry
minsigsupportos
REG_DWORDUserHKCU\software\policies\microsoft\vba\security Current key
- Enabled value
- Depends on the option value
- Element
- -
| Item | Stored value |
|---|---|
| Windows XP | 0 |
| Windows Vista | 1 |
| Windows 7 | 2 |
| Windows 8 | 3 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\vba\security] ; Options (use only one) ; Windows XP "minsigsupportos"=dword:00000000 ; Windows Vista "minsigsupportos"=dword:00000001 ; Windows 7 "minsigsupportos"=dword:00000002 ; Windows 8 "minsigsupportos"=dword:00000003
CMD
:: Options (use only one) :: 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
# Common: create the key New-Item -Path 'HKCU:\software\policies\microsoft\vba\security' -Force | Out-Null # Options (use only one) # 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