Interwał oczyszczania katalogów: wartość rejestru PruningIntervalKomputerHKLM\Software\Policies\Microsoft\Windows NT\Printers
- Identyfikator zasady
- PruningInterval
- Zakres
- Konfiguracja komputera
- Obsługiwane w systemach
- System Windows 2000 lub nowszy
- Źródło
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (wersja 1.0)
- Kategoria
- Drukarki
Rejestr
PruningInterval
REG_DWORDKomputerHKLM\Software\Policies\Microsoft\Windows NT\Printers Bieżący klucz
- Wartość włączona
- Zależy od wartości opcji
- Element
- Interwał:
| Pozycja | Zapisana wartość |
|---|---|
| Ciągle | 0 |
| 10 minut | 10 |
| 30 minut | 30 |
| 1 godzina | 60 |
| 4 godziny | 240 |
| 8 godzin | 480 |
| 12 godzin | 720 |
| 1 dzień | 1440 |
| 2 dni | 2880 |
| 3 dni | 4320 |
| 4 dni | 5760 |
| 5 dni | 7200 |
| 6 dni | 8640 |
| 1 tydzień | 10080 |
| 2 tygodnie | 20160 |
| 3 tygodnie | 30240 |
| 4 tygodnie | 40320 |
| 5 tygodni | 50400 |
| 6 tygodni | 60480 |
| 7 tygodni | 70560 |
| Nieskończony | 4294967295 |
Zastosuj przez .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers] ; Opcje (użyj tylko jednej) ; Ciągle "PruningInterval"=dword:00000000 ; 10 minut "PruningInterval"=dword:0000000a ; 30 minut "PruningInterval"=dword:0000001e ; 1 godzina "PruningInterval"=dword:0000003c ; 4 godziny "PruningInterval"=dword:000000f0 ; 8 godzin "PruningInterval"=dword:000001e0 ; 12 godzin "PruningInterval"=dword:000002d0 ; 1 dzień "PruningInterval"=dword:000005a0 ; 2 dni "PruningInterval"=dword:00000b40 ; 3 dni "PruningInterval"=dword:000010e0 ; 4 dni "PruningInterval"=dword:00001680 ; 5 dni "PruningInterval"=dword:00001c20 ; 6 dni "PruningInterval"=dword:000021c0 ; 1 tydzień "PruningInterval"=dword:00002760 ; 2 tygodnie "PruningInterval"=dword:00004ec0 ; 3 tygodnie "PruningInterval"=dword:00007620 ; 4 tygodnie "PruningInterval"=dword:00009d80 ; 5 tygodni "PruningInterval"=dword:0000c4e0 ; 6 tygodni "PruningInterval"=dword:0000ec40 ; 7 tygodni "PruningInterval"=dword:000113a0 ; Nieskończony "PruningInterval"=dword:ffffffff
CMD
:: Opcje (użyj tylko jednej) :: Ciągle reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 0 /f :: 10 minut reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 10 /f :: 30 minut reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 30 /f :: 1 godzina reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 60 /f :: 4 godziny reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 240 /f :: 8 godzin reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 480 /f :: 12 godzin reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 720 /f :: 1 dzień reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 1440 /f :: 2 dni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 2880 /f :: 3 dni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 4320 /f :: 4 dni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 5760 /f :: 5 dni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 7200 /f :: 6 dni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 8640 /f :: 1 tydzień reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 10080 /f :: 2 tygodnie reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 20160 /f :: 3 tygodnie reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 30240 /f :: 4 tygodnie reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 40320 /f :: 5 tygodni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 50400 /f :: 6 tygodni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 60480 /f :: 7 tygodni reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 70560 /f :: Nieskończony reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningInterval" /t REG_DWORD /d 4294967295 /f
PowerShell
# Wspólne: utwórz klucz New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null # Opcje (użyj tylko jednej) # Ciągle New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 0 -Force | Out-Null # 10 minut New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 10 -Force | Out-Null # 30 minut New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 30 -Force | Out-Null # 1 godzina New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 60 -Force | Out-Null # 4 godziny New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 240 -Force | Out-Null # 8 godzin New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 480 -Force | Out-Null # 12 godzin New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 720 -Force | Out-Null # 1 dzień New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 1440 -Force | Out-Null # 2 dni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 2880 -Force | Out-Null # 3 dni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 4320 -Force | Out-Null # 4 dni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 5760 -Force | Out-Null # 5 dni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 7200 -Force | Out-Null # 6 dni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 8640 -Force | Out-Null # 1 tydzień New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 10080 -Force | Out-Null # 2 tygodnie New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 20160 -Force | Out-Null # 3 tygodnie New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 30240 -Force | Out-Null # 4 tygodnie New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 40320 -Force | Out-Null # 5 tygodni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 50400 -Force | Out-Null # 6 tygodni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 60480 -Force | Out-Null # 7 tygodni New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 70560 -Force | Out-Null # Nieskończony New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningInterval' -PropertyType DWord -Value 4294967295 -Force | Out-Null