NetBIOS veya WINS devre dışı bırakıldığında oturum açma komut dosyalarına izin ver: kayıt defteri değeri Allow-LogonScript-NetbiosDisabledBilgisayarHKLM\Software\Microsoft\Windows\CurrentVersion\Policies\System

İlke Kimliği
Allow_Logon_Script_NetbiosDisabled
Kapsam
Bilgisayar Yapılandırması
Desteklenen işletim sistemleri
En azından Windows Vista
Kaynak
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (sürüm 1.0)
Kategori
Sistem › Komut Dosyaları

Kayıt defteri

Allow-LogonScript-NetbiosDisabled

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\Microsoft\Windows\CurrentVersion\Policies\System]

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

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

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