Minimumversie van het besturingssysteem instellen voor het verifiëren van flexibele VBA-handtekeningen: registerwaarde minsigsupportosGebruikerHKCU\software\policies\microsoft\vba\security

Beleids-ID
L_MinSigSupportOS
Bereik
Gebruikersconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Microsoft 365 Apps / Office Administrative Templates (versie 5568.1000)
Categorie
Microsoft Office 2016 › Beveiligingsinstellingen › Vertrouwenscentrum

Register

minsigsupportos

REG_DWORDGebruiker
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
-
Opties
ItemOpgeslagen waarde
Windows XP0
Windows Vista1
Windows 72
Windows 83
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opties (gebruik er maar één)
; Windows XP
"minsigsupportos"=dword:00000000
; Windows Vista
"minsigsupportos"=dword:00000001
; Windows 7
"minsigsupportos"=dword:00000002
; Windows 8
"minsigsupportos"=dword:00000003
CMD
:: Opties (gebruik er maar één)

:: 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
# Algemeen: sleutel maken
New-Item -Path 'HKCU:\software\policies\microsoft\vba\security' -Force | Out-Null

# Opties (gebruik er maar één)
# 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