Information Technology Reference
In-Depth Information
Solution
Using a Graphical User Interface
1.
Open the Network Connections applet.
2.
Double-click on the Local Area Connection icon.
3.
Click on Internet Protocol (TCP/IP), and select Properties.
4.
Click on Advanced. From the Options tab, select TCP/IP Filtering and select Properties.
5.
To enable TCP/IP filtering, place a check mark next to Enable TCP/IP Filtering (All
Adapters). To disable TCP/IP filtering, clear this check box.
6.
Click OK when you're finished.
Using a Command-Line Interface
To configure this setting via the command line, you first need to create a .reg file containing the
Registry key described in the next section, and then use Regedit to import the file into your
local Registry.
You can use a shell script to automate the process of creating the Registry key as follows:
set TFILE=%TEMP%\HWIDfile.tmp
set ON=00000001
set OFF=00000000
echo Windows Registry Editor Version 5.00 >%TFILE%
echo >> %TFILE%
echo [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Services\Tcpip\Parameters\] >>%TFILE%
echo "EnableSecurityFilters"=dword:%ON% >>%TFILE%
:: regedit /s %TFILE%
del %TFILE% >null
Using the Registry
To enable TCP/IP filtering for all interfaces on a Windows Server 2003 computer, set the
following Registry value:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\]
"EnableSecurityFilters"=dword:1
To disable TCP/IP filters, set the previous DWORD key to 0 . There is no need to reboot after
making either of these changes.
Search WWH ::




Custom Search