Network access: Named Pipes that can be accessed anonymously: registry value NullSessionPipesComputerHKLM\System\CurrentControlSet\Services\LanManServer\Parameters
- Category
- Security Settings › Local Policies › Security Options
- Scope
- Computer Configuration
- Source
- Windows 11 (version 26H2 · 26300.9457)
Registry
NullSessionPipes
REG_MULTI_SZComputer- Enabled value
- Depends on the option value
- Element
- Network access: Named Pipes that can be accessed anonymously
- Value type
- REG_MULTI_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters] ; hex(2) and hex(7) data must be written as hexadecimal (UTF-16LE) "NullSessionPipes"=hex(7):<enter value>
CMD
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "NullSessionPipes" /t REG_MULTI_SZ /d "<enter value>" /f
PowerShell
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LanManServer\Parameters' -Name 'NullSessionPipes' -PropertyType MultiString -Value '<enter value>' -Force | Out-Null