Article ID: 328360 - Last Review: December 3, 2007 - Revision: 7.7 How to enable and disable ISAPI extensions and CGI applications in IIS 6.0This article was previously published under Q328360 On This PageSUMMARY This step-by-step article describes how to enable and
disable Internet Server Application Programming Interface (ISAPI) extensions
and Common Gateway Interface (CGI) applications in Internet Information
Services (IIS) 6.0. By using the Iisext.vbs command line script, which is located in the Sysvol\System32 (default is Windows\System32) directory, a server administrator can enable and disable files that are specified in the Web Service Extension Restriction List (WebSvcExtRestrictionList). These files can be either ISAPI extensions or CGI applications. Note Before you can enable or disable a Web service extension, you must add it to the Web Service Extension Restriction List. For additional information, click the following article number to view the article in the Microsoft Knowledge Base: 328419
(http://support.microsoft.com/kb/328419/
)
How to add and remove Web service extension files in IIS 6.0
The syntax to enable Web service extension files is
as follows: IisExt /EnFile Drive:\Path\FileName [/s Computer [/u [Domain\]User/p Password]] The syntax to disable Web service extension files is
as follows: IisExt /RmFile Drive:\Path\FileName [/s Computer [/u [Domain\]User [/p Password]]] Enable Web service extension filesThis section describes how to enable Web service extensions. For detailed information about the switches that are used in the examples, see the Parameters section of this article.Enable Web service extension files on a local serverNote For this example, the Web service extension file is Test.exe.To enable Web service extension files on a local server, change to the Sysvol\System32 folder (the default is Windows\System32) at a command prompt, and then type the following: iisext /EnFile c:\Source\Test.exe You receive the following response:
Connecting to server ...Done. Enabling extension file complete. Enable Web service extension files on a remote serverNote For this example, the Web service extension file is Test.dll.To enable Web service extension files on a remote server, change to the Sysvol\System32 folder (the default is Windows\System32) at a command prompt, and then type the following: iisext /EnFile c:\Source\Test.dll /s ComputerName /u Domain\User /p Password You receive the following response:
Connecting to server ...Done. Enabling extension file complete. Disable Web service extension filesThis section describes how to disable Web service extensions. For detailed information about the switches that are used in the examples, see the Parameters section of this article.Disable Web service extension files on a local serverNote For this example, the Web service extension file is Test.exe.To disable Web service extension files on a local server, change to the Sysvol\System32 folder (the default is Windows\System32) at a command prompt, and then type the following: iisext /DisFile c:\Source\Test.exe You receive the following response:
Connecting to server ...Done. Disabling extension file complete. Disable Web service extension files on a remote serverNote For this example, the Web service extension file is Test.dll.To disable Web service extension files on a remote server, change to the Sysvol\System32 folder (the default is Windows\System32) at a command prompt, and then type the following: iisext /DisFile c:\Source\Test.dll /s ComputerName /u Domain\User /p Password You receive the following response:
Connecting to server ...Done. Disabling extension file complete. Parameters
REFERENCES
For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
328505
(http://support.microsoft.com/kb/328505/
)
How to list Web server extensions and extension files in IIS 6.0
APPLIES TO
| Article Translations
|

Back to the top
