指向並列印限制 的登錄值 Restricted 等 5 個 (HKLM PointAndPrint)電腦HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint
- 原則 ID
- PointAndPrint_Restrictions_Win7
- 適用範圍
- 電腦設定
- 支援的作業系統
- 至少需要 Windows Vista
- 來源
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (版本 1.0)
- 類別
- 印表機
登錄
Restricted
REG_DWORD電腦- 啟用時的值
- 1
- 停用時的值
- 0
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint] ; 選項 (只使用其中一個) ; 已啟用 "Restricted"=dword:00000001 ; 已停用 "Restricted"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已啟用 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "Restricted" /t REG_DWORD /d 1 /f :: 已停用 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "Restricted" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Force | Out-Null # 選項 (只使用其中一個) # 已啟用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'Restricted' -PropertyType DWord -Value 1 -Force | Out-Null # 已停用 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'Restricted' -PropertyType DWord -Value 0 -Force | Out-Null
TrustedServers
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 使用者只能指向並列印到這些伺服器:
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint] ; 選項 (只使用其中一個) ; 已核取 "TrustedServers"=dword:00000001 ; 未核取 "TrustedServers"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "TrustedServers" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "TrustedServers" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'TrustedServers' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'TrustedServers' -PropertyType DWord -Value 0 -Force | Out-Null
ServerList
REG_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 請輸入完整的伺服器名稱,並用分號分隔
- 值類型
- REG_SZ
- 最大長度
- 8192
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint] ; 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> "ServerList"="<輸入值>"
CMD
:: 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "ServerList" /t REG_SZ /d "<輸入值>" /f
PowerShell
# 值名稱與類型依照 ADMX。請自行填入下方的 <輸入值> New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'ServerList' -PropertyType String -Value '<輸入值>' -Force | Out-Null
InForest
REG_DWORD電腦- 已核取
- 1
- 未核取
- 0
- 元素
- 使用者只能指向並列印所在樹系內的電腦
- 值類型
- REG_DWORD
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint] ; 選項 (只使用其中一個) ; 已核取 "InForest"=dword:00000001 ; 未核取 "InForest"=dword:00000000
CMD
:: 選項 (只使用其中一個) :: 已核取 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "InForest" /t REG_DWORD /d 1 /f :: 未核取 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "InForest" /t REG_DWORD /d 0 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Force | Out-Null # 選項 (只使用其中一個) # 已核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'InForest' -PropertyType DWord -Value 1 -Force | Out-Null # 未核取 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'InForest' -PropertyType DWord -Value 0 -Force | Out-Null
NoWarningNoElevationOnInstall
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 安裝新連線的驅動程式時:
| 項目 | 儲存的值 |
|---|---|
| 顯示警告及提高權限提示 | 0 |
| 不顯示警告或提高權限提示 | 1 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint] ; 選項 (只使用其中一個) ; 顯示警告及提高權限提示 "NoWarningNoElevationOnInstall"=dword:00000000 ; 不顯示警告或提高權限提示 "NoWarningNoElevationOnInstall"=dword:00000001
CMD
:: 選項 (只使用其中一個) :: 顯示警告及提高權限提示 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "NoWarningNoElevationOnInstall" /t REG_DWORD /d 0 /f :: 不顯示警告或提高權限提示 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "NoWarningNoElevationOnInstall" /t REG_DWORD /d 1 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Force | Out-Null # 選項 (只使用其中一個) # 顯示警告及提高權限提示 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'NoWarningNoElevationOnInstall' -PropertyType DWord -Value 0 -Force | Out-Null # 不顯示警告或提高權限提示 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'NoWarningNoElevationOnInstall' -PropertyType DWord -Value 1 -Force | Out-Null
UpdatePromptSettings
REG_DWORD電腦- 啟用時的值
- 取決於選項值
- 元素
- 更新現有連線的驅動程式時:
| 項目 | 儲存的值 |
|---|---|
| 顯示警告及提高權限提示 | 0 |
| 僅顯示警告 | 1 |
| 不顯示警告或提高權限提示 | 2 |
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint] ; 選項 (只使用其中一個) ; 顯示警告及提高權限提示 "UpdatePromptSettings"=dword:00000000 ; 僅顯示警告 "UpdatePromptSettings"=dword:00000001 ; 不顯示警告或提高權限提示 "UpdatePromptSettings"=dword:00000002
CMD
:: 選項 (只使用其中一個) :: 顯示警告及提高權限提示 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "UpdatePromptSettings" /t REG_DWORD /d 0 /f :: 僅顯示警告 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "UpdatePromptSettings" /t REG_DWORD /d 1 /f :: 不顯示警告或提高權限提示 reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint" /v "UpdatePromptSettings" /t REG_DWORD /d 2 /f
PowerShell
# 共通: 建立機碼 New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Force | Out-Null # 選項 (只使用其中一個) # 顯示警告及提高權限提示 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'UpdatePromptSettings' -PropertyType DWord -Value 0 -Force | Out-Null # 僅顯示警告 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'UpdatePromptSettings' -PropertyType DWord -Value 1 -Force | Out-Null # 不顯示警告或提高權限提示 New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers\PointAndPrint' -Name 'UpdatePromptSettings' -PropertyType DWord -Value 2 -Force | Out-Null