Omleidingsbeveiliging configureren: registerwaarde RedirectionGuardPolicyComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers

Beleids-ID
ConfigureRedirectionGuardPolicy
Bereik
Computerconfiguratie
Ondersteund op
Minimaal Windows Server 2008 R2 of Windows 7
Bron
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (versie 1.0)
Categorie
Printers

Register

RedirectionGuardPolicy

REG_DWORDComputer
Waarde bij ingeschakeld
Afhankelijk van de waarde van de optie
Element
Opties voor Omleidingsbeveiliging
Opties
ItemOpgeslagen waarde
Omleidingsbeveiliging uitgeschakeld0
Omleidingsbeveiliging ingeschakeld1
Alleen audit voor Omleidingsbeveiliging2
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)
; Omleidingsbeveiliging uitgeschakeld
"RedirectionGuardPolicy"=dword:00000000
; Omleidingsbeveiliging ingeschakeld
"RedirectionGuardPolicy"=dword:00000001
; Alleen audit voor Omleidingsbeveiliging
"RedirectionGuardPolicy"=dword:00000002
CMD
:: Opties (gebruik er maar één)

:: Omleidingsbeveiliging uitgeschakeld
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 0 /f
:: Omleidingsbeveiliging ingeschakeld
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 1 /f
:: Alleen audit voor Omleidingsbeveiliging
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Algemeen: sleutel maken
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null

# Opties (gebruik er maar één)
# Omleidingsbeveiliging uitgeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# Omleidingsbeveiliging ingeschakeld
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Alleen audit voor Omleidingsbeveiliging
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 2 -Force | Out-Null