Restrict programmatic access for creating online presentations in PowerPoint and Word: wartość rejestru disableprogrammaticaccessUżytkownikHKCU\software\policies\microsoft\office\16.0\common\broadcast

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

Identyfikator zasady
L_DisableProgrammaticAccess
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 › Present Online

Rejestr

disableprogrammaticaccess

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\common\broadcast]

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

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

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