Yeniden Yönlendirme Korumasını Yapılandır: kayıt defteri değeri RedirectionGuardPolicyBilgisayarHKLM\Software\Policies\Microsoft\Windows NT\Printers

İlke Kimliği
ConfigureRedirectionGuardPolicy
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2008 R2 veya Windows 7
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Yazıcılar

Kayıt defteri

RedirectionGuardPolicy

REG_DWORDBilgisayar
Etkin değeri
Seçenek değerine bağlıdır
Öğe
Yeniden Yönlendirme Koruması Seçenekleri
Seçenekler
MaddeSaklanan değer
Yeniden Yönlendirme Koruması Devre Dışı0
Yeniden Yönlendirme Koruması Etkin1
Yeniden Yönlendirme Koruması Yalnızca Denetim2
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

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

; Seçenekler (yalnızca birini kullanın)
; Yeniden Yönlendirme Koruması Devre Dışı
"RedirectionGuardPolicy"=dword:00000000
; Yeniden Yönlendirme Koruması Etkin
"RedirectionGuardPolicy"=dword:00000001
; Yeniden Yönlendirme Koruması Yalnızca Denetim
"RedirectionGuardPolicy"=dword:00000002
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Yeniden Yönlendirme Koruması Devre Dışı
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 0 /f
:: Yeniden Yönlendirme Koruması Etkin
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 1 /f
:: Yeniden Yönlendirme Koruması Yalnızca Denetim
reg add "HKLM\Software\Policies\Microsoft\Windows NT\Printers" /v "RedirectionGuardPolicy" /t REG_DWORD /d 2 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Yeniden Yönlendirme Koruması Devre Dışı
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 0 -Force | Out-Null
# Yeniden Yönlendirme Koruması Etkin
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 1 -Force | Out-Null
# Yeniden Yönlendirme Koruması Yalnızca Denetim
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows NT\Printers' -Name 'RedirectionGuardPolicy' -PropertyType DWord -Value 2 -Force | Out-Null