Event ID 16 — IIS FTP Service Configuration

Applies To: Windows Server 2008

The Internet Information Services (IIS) 6.0 FTP service has configurations to set FTP site identification, connection limits, logging, whether to allow anonymous connections, specify the FTP site directory, or specify computers that will be granted access.

Event Details

Product: Internet Information Services
ID: 16
Source: Microsoft-Windows-IIS-FTP
Version: 7.0
Symbolic Name: FTP_PASVPORT_INVALID_VALUE
Message: The FTP Service configuration property PassivePortRange has invalid value: %1.

Resolve

Change the PassivePortRange property

In Passive mode, IIS 6.0 FTP randomly responds in a default port range from 1025 to 5000. To create a smaller range, you can configure a metabase property key named PassivePortRange. When you manually specify a value for PassivePortRange, you must specify a value from 5001 to 65535. The value that you specify may be a range or a single number.

To resolve this issue:

  1. Configure **PassivePortRange **by using an ADSUTIL script.
  2. Restart the FTP Service.

To perform these procedures, you must have membership in Administrators, or you must have been delegated the appropriate authority.

Configure PassivePortRange by using an ADSUTIL script

To configure **PassivePortRange **by using an ADSUTIL script:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.

  2. Type cd %SystemDrive%\Inetpub\AdminScripts and press ENTER.

  3. Type the following from the command prompt (this example uses a port range of 6000-7000):

    adsutil.vbs set /MSFTPSVC/PassivePortRange "6000-7000"

Restart the FTP Service

To restart the FTP Service:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. Type net stop msftpsvc.
  3. Type net start msftpsvc.

Verify

If the FTP service is correctly configured, it should be in a running state. To verify that the FTP service is running, use the following procedure.

To perform this procedure, you must have membership in Administrators, or you must have been delegated the appropriate authority.

To verify that the FTP service is running:

  1. Open an elevated Command Prompt window. Click Start, point to All Programs, click Accessories, right-click Command Prompt, and then click Run as administrator.
  2. Type sc query msftpsvc, and press ENTER. The FTP service is running if the state reported for the service is 4 RUNNING.

IIS FTP Service Configuration

Internet Information Services (IIS) 7.0