Acesso à rede: pipes nomeados acessíveis anonimamente: valor do Registro NullSessionPipesComputadorHKLM\System\CurrentControlSet\Services\LanManServer\Parameters
- Categoria
- Configurações de segurança › Políticas locais › Opções de segurança
- Escopo
- Configuração do Computador
- Fonte
- Windows 11 (versão 26H2 · 26300.9457)
Registro
NullSessionPipes
REG_MULTI_SZComputador- Valor habilitado
- Depende do valor da opção
- Elemento
- Acesso à rede: pipes nomeados acessíveis anonimamente
- Tipo de valor
- REG_MULTI_SZ
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanManServer\Parameters] ; Dados hex(2) e hex(7) devem ser escritos em hexadecimal (UTF-16LE) "NullSessionPipes"=hex(7):<inserir valor>
CMD
reg add "HKLM\System\CurrentControlSet\Services\LanManServer\Parameters" /v "NullSessionPipes" /t REG_MULTI_SZ /d "<inserir valor>" /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 '<inserir valor>' -Force | Out-Null