Reintento de eliminación de directorios: valor del Registro PruningRetriesEquipoHKLM\Software\Policies\Microsoft\Windows NT\Printers
- Id. de directiva
- PruningRetries
- Ámbito
- Configuración del equipo
- Compatible con
- Al menos Windows 2000
- Origen
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versión 1.0)
- Categoría
- Impresoras
Registro
PruningRetries
REG_DWORDEquipoHKLM\Software\Policies\Microsoft\Windows NT\Printers Clave actual
- Valor al habilitar
- Depende del valor de la opción
- Elemento
- Reintentos:
| Elemento de lista | Valor almacenado |
|---|---|
| No reintentar | 0 |
| 1 reintento | 1 |
| 2 reintentos | 2 |
| 3 reintentos | 3 |
| 4 reintentos | 4 |
| 5 reintentos | 5 |
| 6 reintentos | 6 |
Aplicar con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers] ; Opciones (usar solo una) ; No reintentar "PruningRetries"=dword:00000000 ; 1 reintento "PruningRetries"=dword:00000001 ; 2 reintentos "PruningRetries"=dword:00000002 ; 3 reintentos "PruningRetries"=dword:00000003 ; 4 reintentos "PruningRetries"=dword:00000004 ; 5 reintentos "PruningRetries"=dword:00000005 ; 6 reintentos "PruningRetries"=dword:00000006
CMD
:: Opciones (usar solo una) :: No reintentar reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 0 /f :: 1 reintento reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 1 /f :: 2 reintentos reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 2 /f :: 3 reintentos reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 3 /f :: 4 reintentos reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 4 /f :: 5 reintentos reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 5 /f :: 6 reintentos reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 6 /f
PowerShell
# Común: crear la clave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null # Opciones (usar solo una) # No reintentar New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 0 -Force | Out-Null # 1 reintento New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 1 -Force | Out-Null # 2 reintentos New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 2 -Force | Out-Null # 3 reintentos New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 3 -Force | Out-Null # 4 reintentos New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 4 -Force | Out-Null # 5 reintentos New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 5 -Force | Out-Null # 6 reintentos New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 6 -Force | Out-Null