In Control Panel, click Classic View.
Double-click Security Center.
In Windows Security Center, click Windows Firewall.
In the Windows Firewall window, click the Allow a Program through the Firewall.
The User Account Control dialog box appears.
If the User Account Control dialog box requests your permission to continue, click Continue.
If the User Account Control dialog box requests your Administrator password, type your password and click Submit.
Steps 6-9 open the TCP 135 port, which is used by DCOM to communicate with remote computers.
Click the Add Port button
In the Add Port dialog box, do the following:
For Port Number, type 135.
For Description, type a description (such as remote debugging DCOM).
Select TCP.
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Add Port dialog box.
If your domain policy requires network communication to be done through IPSec, do this step. Otherwise, skip it.
Open UDP port 4500 (used for IP security) by repeating the prior step, substituting UDP for the Protocol, and 4500 for the Port Number.
Open UDP port 500 (used for IP security) the same way, substituting UDP for the Protocol, and 500 for the Port Number.
Steps 11-15 open ports necessary for file and print sharing.
In the Programs and Services box, select File and Print Sharing.
Click the Edit button.
In the Edit a Service dialog box, select the following ports: TCP 139, TCP 445, UDP 137, and UDP 138.
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Edit a Service dialog box.
Steps 16-20 add msvsmon to the SP2 Exception list. This enables it to dynamically open ports at run time.
Click the Add a Program button.
In the Add a Program dialog box, click the Browse button.
In the Browse dialog box, navigate to where Msvsmon.exe is located, which will be one of the following directories:
Install path \Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x86
Install path \Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\x64
Install path \Microsoft Visual Studio 8\Common7\IDE\Remote Debugger\ia64
(Optional) Limiting access to computers on your local subnet enhances security. You should do this unless you have to debug outside the local subnet.
Click Change Scope.
In the Change Scope dialog box, select My network (subnet) only.
Click OK.
Click OK to close the Add a program dialog box.
Click OK to close Windows Firewall.
Close the Windows Security Center.