Microsoft KB Archive/826270

= FIX: You cannot suppress the default FTP banner for the FTP service =

Article ID: 826270

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Services 6.0
 * Microsoft Internet Information Services 5.1
 * Microsoft Internet Information Services 5.0

-



SYMPTOMS
When you connect to the File Transfer Protocol (FTP) service that is running on your Microsoft Internet Information Services (IIS) server, the FTP service always responds with the following default FTP banner:

220 Microsoft FTP Service

As an administrator of the FTP server, you may not want the FTP service to respond with the name of the service.



Service pack information
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

260910 How to obtain the latest Windows 2000 service pack

Hotfix information
A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that this article describes. Apply it only to systems that are experiencing this specific problem.

To resolve this problem, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services phone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Prerequisites
Windows 2000 Service Pack 4 (SP4) must be installed on your computer before you install this hotfix.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version        Size     File name 10-Jan-2004 01:18  5.0.2195.6890  248,080  Adsiis.dll 10-Jan-2004 01:18  5.0.2195.6890  118,554  Ftpsvc2.dll 10-Jan-2004 01:18  5.0.2195.6890  122,640  Iischema.dll

Service pack information
To resolve this problem, obtain the latest service pack for Windows XP. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

322389 How to obtain the latest Windows XP service pack

Hotfix information
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
Windows XP SP1 must be installed on your computer before you install this hotfix.

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.   Date         Time   Version        Size     File name 11-Dec-2003 01:50  5.1.2600.1326  251,392  Adsiis.dll 11-Dec-2003 01:50  5.1.2600.1326  117,248  Ftpsvc2.dll 11-Dec-2003 01:50  5.1.2600.1326  130,048  Iischema.dll

Windows Server 2003 (IIS 6.0)
A supported hotfix is now available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next service pack that contains this hotfix.

To resolve this problem, submit a request to Microsoft Online Customer Services to obtain the hotfix. To submit an online request to obtain the hotfix, visit the following Microsoft Web site:

http://go.microsoft.com/?linkid=6294451

Note If additional issues occur or any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. To create a separate service request, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Prerequisites
To use this hotfix on Windows Server 2003, you must modify the Mbschema.xml file:  Stop all IIS services. Create a backup of the following file:

%systemroot%\system32\inetsrv\Mbschema.xml

 Right-click Mbschema.xml, point to Open With, and then click Notepad. Under the IIsConfigObject collection, type the following:



Note This entry must appear as one line in the Mbschema.xml. If the entry does not appear as one line, click Word Wrap on the Format menu to disable Word Wrap. Under the IISFTPService and IISFTPServer collections, type the following:



</li> Click File, click Save, click File, and then click Close.</li> Restart all IIS services. </li></ol>

Restart requirement
You must restart your computer after you apply this hotfix.

Hotfix replacement information
This hotfix does not replace any other hotfixes.

File information
The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel. <pre class="fixed_text">  Date         Time   Version      Size     File name -  01-Aug-2003  10:26  6.0.3790.74  119,808  Ftpsvc2.dll

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft Windows XP Service Pack 2.

<div class="moreinformation_section">

MORE INFORMATION
After you install the hotfix for your version of IIS, you must add a metabase key to enable the functionality. Use the Adsutil.vbs script that is located in the %systemroot%/inetpub/AdminScripts folder to add the metabase key and to disable the default FTP banner. To do this, follow these steps: <ol> At a command prompt, change the location to the %systemroot%/inetpub/AdminScripts folder.</li> At the command prompt, type cscript adsutil.vbs enum msftpsvc, and then press ENTER.</li> At the command prompt, type cscript adsutil set msftpsvc/ /SuppressDefaultFTPBanner 1 (where  is the number of the FTP service where you want to disable the default FTP banner), and then press ENTER.

Note If you have multiple FTP virtual servers, run this command for each virtual FTP server that has a different value for. When you type the command, do not include a space between msftpsvc/ and .</li> At the command prompt, run the following command to restart the IIS service:

iisreset

</li></ol>

After you install the hotfix and add the metabase key, the FTP service responds with the following banner:

220

For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Keywords: kbbug kbfix kbqfe kbwinxpsp2fix kbwinxppresp2fix kbwin2000presp5fix kbwinserv2003presp1fix kbhotfixserver KB826270

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.