4.7.8. Named pipes firewall in Windows XP SP2, Windows Server 2003 SP1 and later versions

A named pipes filtering feature was introduced in Windows XP SP2 and Windows Server 2003 SP1.

Named pipes filtering can be dynamically enabled (without requiring a reboot) by adding and setting the following registry value to 1:

Key: HKLM\SYSTEM\CCS\Services\lanmanserver\Parameters\
Value: PipeFirewallActive (REG_DWORD)
Content: 1 to enable named pipe filtering
The list of allowed named pipes can then be dynamically configured (named pipes can be added or removed without requiring a reboot) in the following registry value:
Key: HKLM\SYSTEM\CCS\Services\lanmanserver\Parameters\
Value: AllowedPipes (REG_MULTI_SZ)
Content: list of allowed named pipes 

When PipeFirewallActive is set to 1 and AllowedPipes is empty, accesses to any named pipe is refused, both for unauthenticated and authenticated sessions.