Configure Redirection Guard: registry value RedirectionGuardPolicyComputerHKLM\Software\Policies\Microsoft\Windows NT\Printers
- Policy ID
- ConfigureRedirectionGuardPolicy
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2008 R2 or Windows 7
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- Printers
Registry
RedirectionGuardPolicy
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- Redirection Guard Options
| Item | Stored value |
|---|---|
| Redirection Guard Disabled | 0 |
| Redirection Guard Enabled | 1 |
| Redirection Guard Audit Only | 2 |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Printers] ; Options (use only one) ; Redirection Guard Disabled "RedirectionGuardPolicy"=dword:00000000 ; Redirection Guard Enabled "RedirectionGuardPolicy"=dword:00000001 ; Redirection Guard Audit Only "RedirectionGuardPolicy"=dword:00000002
CMD
:: Options (use only one) :: Redirection Guard Disabled reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 0 /f :: Redirection Guard Enabled reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 1 /f :: Redirection Guard Audit Only reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null # Options (use only one) # Redirection Guard Disabled New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 0 -Force | Out-Null # Redirection Guard Enabled New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 1 -Force | Out-Null # Redirection Guard Audit Only New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 2 -Force | Out-Null