指定域控制器上的修剪服务在修剪计算机的打印机之前与计算机连接的次数。
修剪服务定期与已发布打印机的计算机连接,以确认这些打印机是否仍在使用中。如果计算机不响应连接消息,则会按指定次数重复此消息。如果计算机仍无法响应,则修剪服务开始修剪(从 Active Directory 删除)计算机发布的打印机对象。
在默认情况下,修剪服务每隔八小时与计算机连接一次,尝试两次后才从 Active Directory 上删除打印机。可以使用此设置更改重试次数。
如果启用此设置,则可以更改重试间隔。
如果未配置或禁用此设置,则使用默认值。
注意: 此设置仅在域控制器上使用。
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 0 |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 1 |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 2 |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 3 |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 4 |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 5 |
Registry Hive | HKEY_LOCAL_MACHINE |
Registry Path | Software\Policies\Microsoft\Windows NT\Printers |
Value Name | PruningRetries |
Value Type | REG_DWORD |
Value | 6 |