Perform file validation on pivot caches: wartość rejestru pivotoptionsUżytkownikHKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation

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

Identyfikator zasady
L_PerformFileValidationOnPivotCaches
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 Excel 2016 › Excel Options › Security

Rejestr

pivotoptions

REG_DWORDUżytkownik
Wartość włączona
Zależy od wartości opcji
Element
-
Opcje
PozycjaZapisana wartość
No file validation0
Web and email sources1
Always perform validation2
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\filevalidation]

; Opcje (użyj tylko jednej)
; No file validation
"pivotoptions"=dword:00000000
; Web and email sources
"pivotoptions"=dword:00000001
; Always perform validation
"pivotoptions"=dword:00000002
CMD
:: Opcje (użyj tylko jednej)

:: No file validation
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "pivotoptions" /t REG_DWORD /d 0 /f
:: Web and email sources
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "pivotoptions" /t REG_DWORD /d 1 /f
:: Always perform validation
reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "pivotoptions" /t REG_DWORD /d 2 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Force | Out-Null

# Opcje (użyj tylko jednej)
# No file validation
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'pivotoptions' -PropertyType DWord -Value 0 -Force | Out-Null
# Web and email sources
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'pivotoptions' -PropertyType DWord -Value 1 -Force | Out-Null
# Always perform validation
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'pivotoptions' -PropertyType DWord -Value 2 -Force | Out-Null