how i can close FTP port in windows XP

 i want to prevent  user from use  FTP port in windows XP how i can do that

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This MSKB article outlines how to block applications using Windows XP Firewall and TCP/IP filtering:

Hope this helps.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
This article should also help with filtering TCP/IP ports to block FTP:
nasemabdullaAuthor Commented:
hi  gidds99
can i use mmc to do that and how only for FTP

Introducing the "443 Security Simplified" Podcast

This new podcast puts you inside the minds of leading white-hat hackers and security researchers. Hosts Marc Laliberte and Corey Nachreiner turn complex security concepts into easily understood and actionable insights on the latest cyber security headlines and trends.

Use the 1st link provided and block TCP ports 20 and 21 - these are the ports used for FTP
Jeff BeckhamEngineerCommented:
Are you wanting to block inbound or outbound ftp?

If inbound, the simplest way to block inbound is to remove the FTP service on your computer (if it exists). You'll want to use Windows Firewall to block inbound FTP connections if you for some reason want it running on the computer.

If you're talking about blocking out FTP, you need to perform TCP/IP filtering.  The above link to the site will provide you with the steps to perform the filtering via configuration of the local system policy.  You can also accomplish it via

Control Panel -> Network Connections -> Local Area Connection -> Properties
Scroll to Internet Protocol (TCP/IP), click Properties button -> Advanced button -> Options tab -> Properties button

You can enable port filtering here, but you need to explicitly define all allowed traffic so that the other stuff gets blocked out.  You'll have to do the same thing with the local system policy as outlined above.

Lastly, you could use some 3rd-part firewall software that will prevent certain executables from running or prevent certain types of outbound traffic  Some examples are:
Yes, as anil_u menations above I would also suggest that you follow the process outlined in the 1st link I provided above:
nasemabdullaAuthor Commented:
hi all
thanks for all
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
OS Security

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.