Set the minimum operating system for verifying agile VBA signatures: wartość rejestru minsigsupportosUżytkownikHKCU\software\policies\microsoft\vba\security

Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)

Identyfikator zasady
L_MinSigSupportOS
Zakres
Konfiguracja użytkownika
Obsługiwane w systemach
System Windows Server 2008 R2 lub nowszy albo system Windows 7
Źródło
Microsoft 365 Apps / Office Administrative Templates (wersja 5568.1000)
Kategoria
Microsoft Office 2016 › Security Settings › Trust Center

Rejestr

minsigsupportos

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
-
Opcje
PozycjaZapisana wartość
Windows XP0
Windows Vista1
Windows 72
Windows 83
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

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

; Opcje (użyj tylko jednej)
; Windows XP
"minsigsupportos"=dword:00000000
; Windows Vista
"minsigsupportos"=dword:00000001
; Windows 7
"minsigsupportos"=dword:00000002
; Windows 8
"minsigsupportos"=dword:00000003
CMD
:: Opcje (użyj tylko jednej)

:: 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
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\vba\security' -Force | Out-Null

# Opcje (użyj tylko jednej)
# 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