Verzeichnislöschpriorität: Registrierungswert PruningPriorityComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers

Richtlinien-ID
PruningPriority
Bereich
Computerkonfiguration
Unterstützt unter
Mindestens Windows 2000
Quelle
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (Version 1.0)
Kategorie
Drucker

Registrierung

PruningPriority

REG_DWORDComputer
Wert bei Aktivierung
Hängt vom Wert der Option ab
Element
Prioritätsstufe:
Optionen
EintragGespeicherter Wert
Niedrigste4294967294
Niedriger als normal4294967295
Normal0
Höher als normal1
Höchste2
Mit .reg · CMD · PowerShell anwenden
.reg
Windows Registry Editor Version 5.00

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

; Optionen (nur eine verwenden)
; Niedrigste
"PruningPriority"=dword:fffffffe
; Niedriger als normal
"PruningPriority"=dword:ffffffff
; Normal
"PruningPriority"=dword:00000000
; Höher als normal
"PruningPriority"=dword:00000001
; Höchste
"PruningPriority"=dword:00000002
CMD
:: Optionen (nur eine verwenden)

:: Niedrigste
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningPriority" /t REG_DWORD /d 4294967294 /f
:: Niedriger als normal
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningPriority" /t REG_DWORD /d 4294967295 /f
:: Normal
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningPriority" /t REG_DWORD /d 0 /f
:: Höher als normal
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningPriority" /t REG_DWORD /d 1 /f
:: Höchste
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "PruningPriority" /t REG_DWORD /d 2 /f
PowerShell
# Gemeinsam: Schlüssel erstellen
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null

# Optionen (nur eine verwenden)
# Niedrigste
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningPriority' -PropertyType DWord -Value 4294967294 -Force | Out-Null
# Niedriger als normal
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningPriority' -PropertyType DWord -Value 4294967295 -Force | Out-Null
# Normal
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningPriority' -PropertyType DWord -Value 0 -Force | Out-Null
# Höher als normal
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningPriority' -PropertyType DWord -Value 1 -Force | Out-Null
# Höchste
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'PruningPriority' -PropertyType DWord -Value 2 -Force | Out-Null