Windows: Problems with FTP and Windows Firewall

If you have trouble opening FTP in Windows Firewall, try running the following commands in the command prompt:

[command]sc qsidtype ftpsvc[/command]
[command]sc sidtype ftpsvc unrestricted[/command]
[command]net stop ftpsvc
net start ftpsvc[/command]

More information about the problem can be found on Microsoft Connect: <a href="http://connect.microsoft.com/WindowsServerFeedback/feedback/details/524831/default-ftp-firewall-port-21-rule-is-broken-in-windows-2008-r2" target="_blank">Default FTP firewall (Port 21) rule is broken in Windows 2008 R2</a>.

Article from the support category: VPS