目录修剪重试

指定域控制器上的修剪服务在修剪计算机的打印机之前与计算机连接的次数。

修剪服务定期与已发布打印机的计算机连接,以确认这些打印机是否仍在使用中。如果计算机不响应连接消息,会按指定次数重复此消息。如果计算机仍无法响应,则修剪服务开始修剪(从 Active Directory 删除)计算机发布的打印机对象。

在默认情况下,修剪服务每隔八小时与计算机连接一次,尝试两次后才从 Active Directory 上删除打印机。可以用此设置更改重试次数。

如果启用这个设置,可以更改重试间隔。

如果没有配置或禁用这个设置,则使用默认值。

注意: 这个设置仅在域控制器上使用。

支持的平台: Windows 2000 及以上版本

重试次数:


  1. 不能重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value0
  2. 1 次重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value1
  3. 2 次重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value2
  4. 3 次重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value3
  5. 4 次重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value4
  6. 5 次重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value5
  7. 6 次重试
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows NT\Printers
    Value NamePruningRetries
    Value TypeREG_DWORD
    Value6


printing.admx

管理模板(计算机)

管理模板(用户)