Intervallo di eliminazione directory: valore del Registro di sistema PruningIntervalComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers
- ID criterio
- PruningInterval
- Ambito
- Configurazione computer
- Supportato in
- Almeno Windows 2000
- Origine
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versione 1.0)
- Categoria
- Stampanti
Registro
PruningInterval
REG_DWORDComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers Chiave corrente
- Valore abilitato
- Dipende dal valore dell'opzione
- Elemento
- Intervallo:
| Voce | Valore memorizzato |
|---|---|
| Continuo | 0 |
| 10 minuti | 10 |
| 30 minuti | 30 |
| 1 ora | 60 |
| 4 ore | 240 |
| 8 ore | 480 |
| 12 ore | 720 |
| 1 giorno | 1440 |
| 2 giorni | 2880 |
| 3 giorni | 4320 |
| 4 giorni | 5760 |
| 5 giorni | 7200 |
| 6 giorni | 8640 |
| 1 settimana | 10080 |
| 2 settimane | 20160 |
| 3 settimane | 30240 |
| 4 settimane | 40320 |
| 5 settimane | 50400 |
| 6 settimane | 60480 |
| 7 settimane | 70560 |
| Indefinita | 4294967295 |
Applica con .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers] ; Opzioni (usarne solo una) ; Continuo "PruningInterval"=dword:00000000 ; 10 minuti "PruningInterval"=dword:0000000a ; 30 minuti "PruningInterval"=dword:0000001e ; 1 ora "PruningInterval"=dword:0000003c ; 4 ore "PruningInterval"=dword:000000f0 ; 8 ore "PruningInterval"=dword:000001e0 ; 12 ore "PruningInterval"=dword:000002d0 ; 1 giorno "PruningInterval"=dword:000005a0 ; 2 giorni "PruningInterval"=dword:00000b40 ; 3 giorni "PruningInterval"=dword:000010e0 ; 4 giorni "PruningInterval"=dword:00001680 ; 5 giorni "PruningInterval"=dword:00001c20 ; 6 giorni "PruningInterval"=dword:000021c0 ; 1 settimana "PruningInterval"=dword:00002760 ; 2 settimane "PruningInterval"=dword:00004ec0 ; 3 settimane "PruningInterval"=dword:00007620 ; 4 settimane "PruningInterval"=dword:00009d80 ; 5 settimane "PruningInterval"=dword:0000c4e0 ; 6 settimane "PruningInterval"=dword:0000ec40 ; 7 settimane "PruningInterval"=dword:000113a0 ; Indefinita "PruningInterval"=dword:ffffffff
CMD
:: Opzioni (usarne solo una) :: Continuo reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 0 /f :: 10 minuti reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 10 /f :: 30 minuti reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 30 /f :: 1 ora reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 60 /f :: 4 ore reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 240 /f :: 8 ore reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 480 /f :: 12 ore reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 720 /f :: 1 giorno reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 1440 /f :: 2 giorni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 2880 /f :: 3 giorni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 4320 /f :: 4 giorni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 5760 /f :: 5 giorni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 7200 /f :: 6 giorni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 8640 /f :: 1 settimana reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 10080 /f :: 2 settimane reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 20160 /f :: 3 settimane reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 30240 /f :: 4 settimane reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 40320 /f :: 5 settimane reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 50400 /f :: 6 settimane reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 60480 /f :: 7 settimane reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 70560 /f :: Indefinita reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 4294967295 /f
PowerShell
# Comune: crea la chiave New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null # Opzioni (usarne solo una) # Continuo New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 0 -Force | Out-Null # 10 minuti New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 10 -Force | Out-Null # 30 minuti New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 30 -Force | Out-Null # 1 ora New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 60 -Force | Out-Null # 4 ore New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 240 -Force | Out-Null # 8 ore New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 480 -Force | Out-Null # 12 ore New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 720 -Force | Out-Null # 1 giorno New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 1440 -Force | Out-Null # 2 giorni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 2880 -Force | Out-Null # 3 giorni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 4320 -Force | Out-Null # 4 giorni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 5760 -Force | Out-Null # 5 giorni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 7200 -Force | Out-Null # 6 giorni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 8640 -Force | Out-Null # 1 settimana New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 10080 -Force | Out-Null # 2 settimane New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 20160 -Force | Out-Null # 3 settimane New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 30240 -Force | Out-Null # 4 settimane New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 40320 -Force | Out-Null # 5 settimane New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 50400 -Force | Out-Null # 6 settimane New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 60480 -Force | Out-Null # 7 settimane New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 70560 -Force | Out-Null # Indefinita New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 4294967295 -Force | Out-Null