Cannot start the FTP Publishing Service on Win. 2003

Posted on 2007-10-09
Last Modified: 2013-12-02
Hello guys,

I wanted to set the passive port range on our FTP server and I followed the steps given by Microsoft on this link:

Unfortunately now the FTP Publishing Service doesn't want to start anymore. I did 2 reboot, same thing. When loading Windows it says at least 1 service failed to initialize and in Event Viewer I get:

The FTP Publishing service service terminated with the following error: Error 1114: A dynamic link library(DLL) initialization routine failed

Anyone knows how to fix this? This is rather urgent, our FTP site is now down because of this.

Question by:Vision_Globale
    LVL 37

    Accepted Solution

    did you enter the range as a literal string?  (I.e. with the port range in quotes?)

    what range did you enter?  read it by "adsutil.vbs get /MSFTPSVC/PassivePortRange"

    try entering again.


    Author Comment

    Thanks for the reply
    I typed in exactly: adsutil.vbs set /MSFTPSVC/PassivePortRange "2024-6000"

    Will try to read the output of "adsutil.vbs get /MSFTPSVC/PassivePortRange" and keep you informed

    Author Comment

    OK I removed the line PassivePortRange directly in the metabase.xml file and now I'm able to restart the service. (on the prod server so now our FTPs are back up)

    I tried the same thing on a Test server, freshly installed with W2K3 Web edition, IIS 6.0 and typed again:
    adsutil.vbs set /MSFTPSVC/PassivePortRange "2024-6000"

    The same thing happened... I was not able to restart the FTP Publishing service...
    Typed in : adsutil.vbs get /MSFTPSVC/PassivePortRange and it returned me the following:

    PassivePortRange            STRING: 2024-6000

    Did several tests and my mistake was to use my port range starting at 2024... When I tried 2024-6000, 2050-6000 or 2100-6000 it didn't work. Everything I used after 5500 worked... That's weird, anyway thanks for your reply. This case is closed.
    LVL 37

    Expert Comment


    glad you got that problem sorted.

    perhaps there was some other software already using a port in that range.  looking at the numbers you have shown, VNC comes to mind.

    anyhow, 900 ports is way more than you will ever need even for the busiest ftp server.  generally you can get away with less than 20.


    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Understanding FTPS File transfer is a common requirement in most Enterprises. While there are numerous ways to get a file from Point A to Point B over a network, perhaps the most common method still in use is FTP – File Transfer Protocol. FTP is …
    We recently endured a series of broadcast storms that caused our ISP to shut us down for brief periods of time. After going through a multitude of tests, we determined that the issue was related to Intel NIC drivers on some new HP desktop computers …
    Viewers will learn how to properly install and use Secure Shell (SSH) to work on projects or homework remotely. Download Secure Shell: Follow basic installation instructions: Open Secure Shell and use "Quick Connect" to enter credentials includi…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now