Disable all trusted locations: wartość rejestru alllocationsdisabled (word\security\trusted locations)UżytkownikHKCU\software\policies\microsoft\office\16.0\word\security\trusted locations

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

Identyfikator zasady
L_DisableTrustedLoc
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 Word 2016 › Word Options › Security › Trust Center › Trusted Locations

Rejestr

alllocationsdisabled

REG_DWORDUżytkownik
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\office\16.0\word\security\trusted locations]

; Opcje (użyj tylko jednej)
; Włączone
"alllocationsdisabled"=dword:00000001
; Wyłączone
"alllocationsdisabled"=dword:00000000
CMD
:: Opcje (użyj tylko jednej)

:: Włączone
reg add "HKCU\software\policies\microsoft\office\16.0\word\security\trusted locations" /v "alllocationsdisabled" /t REG_DWORD /d 1 /f
:: Wyłączone
reg add "HKCU\software\policies\microsoft\office\16.0\word\security\trusted locations" /v "alllocationsdisabled" /t REG_DWORD /d 0 /f
PowerShell
# Wspólne: utwórz klucz
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\word\security\trusted locations' -Force | Out-Null

# Opcje (użyj tylko jednej)
# Włączone
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\security\trusted locations' -Name 'alllocationsdisabled' -PropertyType DWord -Value 1 -Force | Out-Null
# Wyłączone
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\word\security\trusted locations' -Name 'alllocationsdisabled' -PropertyType DWord -Value 0 -Force | Out-Null