使用域策略发布打印机

在域中通过策略发布打印机可以有很多中方法,但是Windwows 7客户端需要更改安全设定:Point and Print Restriction! 在Win XP/Win 2003以前的PC客户端用户安装打印机驱动是不需要本地管理员的权限的,但是Win7的客户端必须管理员权限才能安装打印机的驱动。


1.更改 Point and Print Restriction,使Window7用户没有管理员权限也可以安装打印机驱动。

  1. 打开 GPMC,

  2. Computer Configuration, Policies, Administrative Templates, Control Panel, and then Printers.

  3. (用户策略中也有这个选项,但是Win7,Win2008中这条用户策略不生效)。

  4. 选择 Point and Print Restrictions 属性,

  5. Enabled.

  6. 清除下面选项:

  7. Users can only point and print to these servers

  8. Users can only point and print to machines in their forest

  9. When installing drivers for a new connection => Do not show warning or elevation prompt.

  10. When updating drivers for an existing connection => Show warning only.


2. 通过策略加载打印机的几种方法:

其实很简单的,这里仅仅提供范例以供参考!

2.1 加载 用户/计算机脚本

On Error Resume Next
Set WshNetwork = WScript.CreateObject("WScript.Network")
WshNetwork.AddwindowsPrinterConnection "\\hostname1\Share_Printer1"
WshNetwork.AddwindowsPrinterConnection "\\hostname1\Share_Printer2"
WshNetwork.SetDefaultPrinter "\\hostname1\Share_Printer1"


2.2.(仅适用Win7以上)

User Configuration (Enabled)
Preferences
Control Panel Settings
Printer
Shared Printer (Name: \\hostname1\Share_Printer1)
MCSMCI_Printer (Order: 1)
General
Properties
Share Path \\hostname1\Share_Printer1
Set this printer as default printer False
Local Port
Common
Options
Stop processing items on this extension if an error occurs on this item No
Run in logged-on user's security context (user policy option) No
Remove this item when it is no longer applied No
Apply once and do not reapply No


3.

Computer Configuration (Enabled)
Policies
Windows Settings
Printer Connections
Path
\\mciappsrv1\MCSMCI_Printer



你可能感兴趣的:(win7,domain,for,by,Printer,policy,Delpoy)