Set document behavior if file validation fails: kayıt defteri değeri openinprotectedview ve 1 tane daha (excel\security\filevalidation)KullanıcıHKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation
Bu dilde resmi metin yok (İngilizce özgün metin gösteriliyor)
- İlke Kimliği
- L_SetDocumentBehaviorIfFileValidationFails
- 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 Excel 2016 › Excel Options › Security › Trust Center › Protected View
Kayıt defteri
openinprotectedview
REG_DWORDKullanıcı- Etkin değeri
- Seçenek değerine bağlıdır
- Öğe
- -
| Madde | Saklanan değer |
|---|---|
| Block files | 0 |
| Open in Protected View | 1 |
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\filevalidation] ; Seçenekler (yalnızca birini kullanın) ; Block files "openinprotectedview"=dword:00000000 ; Open in Protected View "openinprotectedview"=dword:00000001
CMD
:: Seçenekler (yalnızca birini kullanın) :: Block files reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "openinprotectedview" /t REG_DWORD /d 0 /f :: Open in Protected View reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "openinprotectedview" /t REG_DWORD /d 1 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # Block files New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'openinprotectedview' -PropertyType DWord -Value 0 -Force | Out-Null # Open in Protected View New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'openinprotectedview' -PropertyType DWord -Value 1 -Force | Out-Null
disableeditfrompv
REG_DWORDKullanıcı- İşaretli
- 0
- İşaretsiz
- 1
- Öğe
- Checked: Allow edit. Unchecked: Do not allow edit.
- Değer türü
- REG_DWORD
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\excel\security\filevalidation] ; Seçenekler (yalnızca birini kullanın) ; İşaretli "disableeditfrompv"=dword:00000000 ; İşaretsiz "disableeditfrompv"=dword:00000001
CMD
:: Seçenekler (yalnızca birini kullanın) :: İşaretli reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "disableeditfrompv" /t REG_DWORD /d 0 /f :: İşaretsiz reg add "HKCU\software\policies\microsoft\office\16.0\excel\security\filevalidation" /v "disableeditfrompv" /t REG_DWORD /d 1 /f
PowerShell
# Ortak: anahtarı oluştur New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Force | Out-Null # Seçenekler (yalnızca birini kullanın) # İşaretli New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'disableeditfrompv' -PropertyType DWord -Value 0 -Force | Out-Null # İşaretsiz New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\excel\security\filevalidation' -Name 'disableeditfrompv' -PropertyType DWord -Value 1 -Force | Out-Null