Güvenli olmayan konuk oturum açma işlemlerini denetle: kayıt defteri değeri AuditInsecureGuestLogon (LanmanWorkstation)BilgisayarHKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation

İlke Kimliği
Pol_AuditInsecureGuestLogon
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En az Windows Server 2025, Windows 11
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Ağ › Lanman İş İstasyonu

Kayıt defteri

AuditInsecureGuestLogon

REG_DWORDBilgisayar
Etkin değeri
1
Devre dışı değeri
0
.reg · CMD · PowerShell ile uygula
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\LanmanWorkstation]

; Seçenekler (yalnızca birini kullanın)
; Etkin
"AuditInsecureGuestLogon"=dword:00000001
; Devre Dışı
"AuditInsecureGuestLogon"=dword:00000000
CMD
:: Seçenekler (yalnızca birini kullanın)

:: Etkin
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation" /v "AuditInsecureGuestLogon" /t REG_DWORD /d 1 /f
:: Devre Dışı
reg add "HKLM\Software\Policies\Microsoft\Windows\LanmanWorkstation" /v "AuditInsecureGuestLogon" /t REG_DWORD /d 0 /f
PowerShell
# Ortak: anahtarı oluştur
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Force | Out-Null

# Seçenekler (yalnızca birini kullanın)
# Etkin
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AuditInsecureGuestLogon' -PropertyType DWord -Value 1 -Force | Out-Null
# Devre Dışı
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\LanmanWorkstation' -Name 'AuditInsecureGuestLogon' -PropertyType DWord -Value 0 -Force | Out-Null