網路存取: 可以匿名存取的具名管道 的登錄值 NullSessionPipes電腦HKLM\System\CurrentControlSet\Services\LanManServer\Parameters
登錄
NullSessionPipes
REG_MULTI_SZ電腦- 啟用時的值
- 取決於選項值
- 元素
- 網路存取: 可以匿名存取的具名管道
- 值類型
- REG_MULTI_SZ
以 .reg · CMD · PowerShell 套用
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters] ; hex(2) 與 hex(7) 資料必須以十六進位 (UTF-16LE) 撰寫 "NullSessionPipes"=hex(7):<輸入值>
CMD
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "NullSessionPipes" /t REG_MULTI_SZ /d "<輸入值>" /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 '<輸入值>' -Force | Out-Null