Set default file block behavior: kayıt defteri değeri openinprotectedview (powerpoint\security\fileblock)KullanıcıHKCU\software\policies\microsoft\office\16.0\powerpoint\security\fileblock

Bu dilde resmi metin yok (İngilizce özgün metin gösteriliyor)

İlke Kimliği
L_SetDefaultFileBlockBehavior
Kapsam
Kullanıcı Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2008 R2 veya Windows 7
Kaynak
Microsoft 365 Apps / Office Administrative Templates (sürüm 5568.1000)
Kategori
Microsoft PowerPoint 2016 › PowerPoint Options › Security › Trust Center › File Block Settings

Kayıt defteri

openinprotectedview

REG_DWORDKullanıcı
Etkin değeri
Seçenek değerine bağlıdır
Öğe
-
Seçenekler
MaddeSaklanan değer
Blocked files are not opened0
Blocked files open in Protected View and can not be edited1
Blocked files open in Protected View and can be edited2
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\powerpoint\security\fileblock]

; Seçenekler (yalnızca birini kullanın)
; Blocked files are not opened
"openinprotectedview"=dword:00000000
; Blocked files open in Protected View and can not be edited
"openinprotectedview"=dword:00000001
; Blocked files open in Protected View and can be edited
"openinprotectedview"=dword:00000002
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Blocked files are not opened
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\fileblock" /v "openinprotectedview" /t REG_DWORD /d 0 /f
:: Blocked files open in Protected View and can not be edited
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\fileblock" /v "openinprotectedview" /t REG_DWORD /d 1 /f
:: Blocked files open in Protected View and can be edited
reg add "HKCU\software\policies\microsoft\office\16.0\powerpoint\security\fileblock" /v "openinprotectedview" /t REG_DWORD /d 2 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\fileblock' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Blocked files are not opened
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\fileblock' -Name 'openinprotectedview' -PropertyType DWord -Value 0 -Force | Out-Null
# Blocked files open in Protected View and can not be edited
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\fileblock' -Name 'openinprotectedview' -PropertyType DWord -Value 1 -Force | Out-Null
# Blocked files open in Protected View and can be edited
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\powerpoint\security\fileblock' -Name 'openinprotectedview' -PropertyType DWord -Value 2 -Force | Out-Null