remote-desktop – 如何使用组策略禁用远程打印机

当我配置新的远程桌面连接以连接到服务器时,我经常忘记取消选中本地设备和远程打印机资源的选项.这会在我连接源的服务器的事件日志中创建例外:TerminalServices-Printers用于我用于PDF文档转换的打印机驱动程序.

我很想知道是否可以在客户端远程桌面连接选项或服务器上默认禁用远程打印机,因此不再出现这些异常.

不幸的是,RDP打印机共享默认在远程桌面上打开:

The printer redirection feature is enabled by default in Windows XP Professional when you enable Remote Desktop. To disable it,use Terminal Services Group Policies. Use Remote Desktop Connection to disable printer redirection on an individual computer. On the Local Resources tab,clear the Printers check box.

因此,您必须编辑Terminal Services Group Policy ..但这需要安装组策略管理控制台.显然它是一个add-in for Windows Server 2003,但是Windows Server 2008的默认值为part of the install.

显然,您也可以使用本地组策略编辑器,如下所示:

>单击“开始”,然后单击“运行”.
>在“打开”框中,键入mmc,然后单击“确定”.
>在“文件”菜单上,单击“添加/删除管理单元”.
>单击“添加”.
>在“可用的独立管理单元”下,单击“组策略”,然后单击“添加”.

要编辑的相关部分是documented here.

Computer Configuration\Policies\Administrative Templates\
Windows Components\Terminal Services\
Terminal Server\Printer Redirection

相关文章

Windows2012R2备用域控搭建 前置操作 域控主域控的主dns:自...
主域控角色迁移和夺取(转载) 转载自:http://yupeizhi.blo...
Windows2012R2 NTP时间同步 Windows2012R2里没有了internet时...
Windows注册表操作基础代码 Windows下对注册表进行操作使用的...
黑客常用WinAPI函数整理之前的博客写了很多关于Windows编程的...
一个简单的Windows Socket可复用框架说起网络编程,无非是建...