Nieuwe poging voor weghalen uit Active Directory: registerwaarde PruningRetriesComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers

Beleids-ID
PruningRetries
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows 2000
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Printers

Register

PruningRetries

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Pogingen:
Opties
ItemOpgeslagen waarde
Geen nieuwe poging0
1 nieuwe poging1
2 nieuwe pogingen2
3 nieuwe pogingen3
4 nieuwe pogingen4
5 nieuwe pogingen5
6 nieuwe pogingen6
Toepassen met .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers]

; Opties (gebruik er maar één)
; Geen nieuwe poging
"PruningRetries"=dword:00000000
; 1 nieuwe poging
"PruningRetries"=dword:00000001
; 2 nieuwe pogingen
"PruningRetries"=dword:00000002
; 3 nieuwe pogingen
"PruningRetries"=dword:00000003
; 4 nieuwe pogingen
"PruningRetries"=dword:00000004
; 5 nieuwe pogingen
"PruningRetries"=dword:00000005
; 6 nieuwe pogingen
"PruningRetries"=dword:00000006
CMD
:: Opties (gebruik er maar één)

:: Geen nieuwe poging
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 0 /f
:: 1 nieuwe poging
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 1 /f
:: 2 nieuwe pogingen
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 2 /f
:: 3 nieuwe pogingen
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 3 /f
:: 4 nieuwe pogingen
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 4 /f
:: 5 nieuwe pogingen
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 5 /f
:: 6 nieuwe pogingen
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningRetries" /t REG_DWORD /d 6 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null

# Opties (gebruik er maar één)
# Geen nieuwe poging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 0 -Force | Out-Null
# 1 nieuwe poging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 1 -Force | Out-Null
# 2 nieuwe pogingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 2 -Force | Out-Null
# 3 nieuwe pogingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 3 -Force | Out-Null
# 4 nieuwe pogingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 4 -Force | Out-Null
# 5 nieuwe pogingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 5 -Force | Out-Null
# 6 nieuwe pogingen
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningRetries' -PropertyType DWord -Value 6 -Force | Out-Null