限制從應用程式防護中開啟的 Office 的檔案進行列印 的登錄值 disablexpsprintsettings 等 3 個使用者HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard
- 原則 ID
- L_TurnOffPrintSettingsInApplicationGuard
- 適用範圍
- 使用者設定
- 支援的作業系統
- 至少需要 Windows Server 2016、Windows 10
- 來源
- Microsoft 365 Apps / Office Administrative Templates (版本 5568.1000)
- 類別
- Microsoft Office 2016 › 安全性設定 › 信任中心 › 應用程式防護
登錄
disablexpsprintsettings
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- 停用 XPS 列印
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard] ; 選項 (只使用其中一個) ; 已核取 "disablexpsprintsettings"=dword:00000001 ; 未核取 "disablexpsprintsettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablexpsprintsettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablexpsprintsettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablexpsprintsettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablexpsprintsettings' -PropertyType DWord -Value 0 -Force | Out-Null
disablepdfprintsettings
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- 停用 PDF 列印
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard] ; 選項 (只使用其中一個) ; 已核取 "disablepdfprintsettings"=dword:00000001 ; 未核取 "disablepdfprintsettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablepdfprintsettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablepdfprintsettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablepdfprintsettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablepdfprintsettings' -PropertyType DWord -Value 0 -Force | Out-Null
disablelocalprintsettings
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- 停用本機列印
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard] ; 選項 (只使用其中一個) ; 已核取 "disablelocalprintsettings"=dword:00000001 ; 未核取 "disablelocalprintsettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablelocalprintsettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablelocalprintsettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablelocalprintsettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablelocalprintsettings' -PropertyType DWord -Value 0 -Force | Out-Null
disablenetworkprintsettings
REG_DWORD使用者- 已核取
- 1
- 未核取
- 0
- 元素
- 停用網路列印
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\security\applicationguard] ; 選項 (只使用其中一個) ; 已核取 "disablenetworkprintsettings"=dword:00000001 ; 未核取 "disablenetworkprintsettings"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablenetworkprintsettings" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKCU\software\policies\microsoft\office\16.0\common\security\applicationguard" /v "disablenetworkprintsettings" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablenetworkprintsettings' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKCU:\software\policies\microsoft\office\16.0\common\security\applicationguard' -Name 'disablenetworkprintsettings' -PropertyType DWord -Value 0 -Force | Out-Null