Disable additional security checks on VBA library references that may refer to unsafe locations on the local machine: wartość rejestru disablestrictvbarefssecurityUżytkownikHKCU\software\policies\microsoft\vba\security
Brak oficjalnego tekstu w tym języku (wyświetlono oryginał angielski)
- Identyfikator zasady
- L_DisableStrictVbaRefsSecurityPolicy
- Zakres
- Konfiguracja użytkownika
- Obsługiwane w systemach
- Co najmniej Windows Server 2016, Windows 10
- Źródło
- Microsoft 365 Apps / Office Administrative Templates (wersja 5568.1000)
- Kategoria
- Microsoft Office 2016 › Security Settings
Rejestr
disablestrictvbarefssecurity
REG_DWORDUżytkownikHKCU\software\policies\microsoft\vba\security Bieżący klucz
- Wartość włączona
- 1
- Wartość wyłączona
- 0
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) ; Włączone "disablestrictvbarefssecurity"=dword:00000001 ; Wyłączone "disablestrictvbarefssecurity"=dword:00000000
CMD
:: Opcje (użyj tylko jednej) :: Włączone reg add "HKCU\software\policies\microsoft\vba\security" /v "disablestrictvbarefssecurity" /t REG_DWORD /d 1 /f :: Wyłączone reg add "HKCU\software\policies\microsoft\vba\security" /v "disablestrictvbarefssecurity" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKCU:\software\policies\microsoft\vba\security' -Force | Out-Null # Opcje (użyj tylko jednej) # Włączone New-ItemProperty -Path 'HKCU:\software\policies\microsoft\vba\security' -Name 'disablestrictvbarefssecurity' -PropertyType DWord -Value 1 -Force | Out-Null # Wyłączone New-ItemProperty -Path 'HKCU:\software\policies\microsoft\vba\security' -Name 'disablestrictvbarefssecurity' -PropertyType DWord -Value 0 -Force | Out-Null