Default format for 'Publish': kayıt defteri değeri publishformatKullanıcıHKCU\software\policies\microsoft\office\16.0\common\internet

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

İlke Kimliği
L_DefaultformatforPublish
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 Office 2016 › Web Archives

Kayıt defteri

publishformat

REG_DWORDKullanıcı
Etkin değeri
Seçenek değerine bağlıdır
Öğe
Default format for 'Publish'
Seçenekler
MaddeSaklanan değer
Web Archive (*.mht)2
Web Page (*.htm)1
Default0
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\internet]

; Seçenekler (yalnızca birini kullanın)
; Web Archive (*.mht)
"publishformat"=dword:00000002
; Web Page (*.htm)
"publishformat"=dword:00000001
; Default
"publishformat"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Web Archive (*.mht)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "publishformat" /t REG_DWORD /d 2 /f
:: Web Page (*.htm)
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "publishformat" /t REG_DWORD /d 1 /f
:: Default
reg add "HKCU\software\policies\microsoft\office\16.0\common\internet" /v "publishformat" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Web Archive (*.mht)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'publishformat' -PropertyType DWord -Value 2 -Force | Out-Null
# Web Page (*.htm)
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'publishformat' -PropertyType DWord -Value 1 -Force | Out-Null
# Default
New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\internet' -Name 'publishformat' -PropertyType DWord -Value 0 -Force | Out-Null