Microsoft KB Archive/328505

= HOW TO: List Web Server Extensions and Extension Files in IIS 6.0 =

Article ID: 328505

Article Last Modified on 12/3/2007

-

APPLIES TO


 * Microsoft Internet Information Services 6.0

-



This article was previously published under Q328505



IN THIS TASK
SUMMARY List Extensions
 * List Extensions on a Local Server
 * List Extensions on a Remote Server

List Extension Files
 * List Extension Files on a Local Server
 * List Extension Files on a Remote Server

Parameters REFERENCES



SUMMARY
This step-by-step article describes how to list which extensions and extension files exist on an Internet Information Services (IIS) 6.0 server.

The command-line script, Iisext.vbs, which resides in the Sysvol\System32 (Default Windows\System32) directory, can be used by an administrator to list Web service extension IDs for all defined Web service extensions on an IIS 6.0 server.

back to the top

List Extensions
Syntax:

cscript IisExt.vbs /ListExt [/s Computer [/u [Domain\]User [/p Password]]]

To acquire a list of extensions that reside in the Web Service Extension Restriction List (WebSvcExtRestrictionList), follow these steps:

NOTE: For detailed information about the switches that are used in the examples, see the Parameters section of this article.

back to the top

List Extensions on a Local Server
At a command prompt, change to the Sysvol\System32 folder (the default is Windows\System32), and then type the following:

cscript IisExt.vbs /ListExt

You receive the following response:

Connecting to server ...Done

SSINC

Payroll

ASP

Inventory

ASP.NET

WEBDAV

HTTPODBC

back to the top

List Extensions on a Remote Server
At a command prompt, change to the Sysvol\System32 folder (the default is Windows\System32), and then type the following:

cscript IisExt.vbs /ListExt /s ComputerName /u Domain\User /p Password

You will receive a response similar to the following:

Connecting to server ...Done

SSINC

Payroll

ASP

Inventory

ASP.NET

WEBDAV

HTTPODBC

back to the top

List Extension Files
Syntax:

cscript IisExt.vbs /ListFile [/s Computer [/u [Domain\]User [/p Password]]]

To acquire a list of extension files that reside in the Web Service Extension Restriction List (WebSvcExtRestrictionList), follow these steps:

NOTE: For detailed information about the switches that are used in the examples, see the Parameters section of this article.

back to the top

List Extension Files on a Local Server
At a command prompt, change to the Sysvol\System32 folder (the default is Windows\System32), and then type the following:

cscript IisExt.vbs /ListFile

You will receive a response similar to the following:

Connecting to server ...Done

Status / Extension Path

0 *.exe

0 *.dll

1 E:\Windows\system32\inetsrv\asp.dll

0 E:\Windows\system32\inetsrv\httpodbc.dll

0 E:\Windows\system32\inetsrv\ssinc.dll

0 E:\Windows\system32\inetsrv\httpext.dll

1 E:\Windows\system32\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll

1 c:\Source\Taxes.dll

1 c:\Source\Accounting.dll

1 c:\Source\Taxes.exe

1 c:\Source\Timesheet.exe

1 c:\Source\Payscale.dll

back to the top

List Extension Files on a Remote Server
At a command prompt, change to the Sysvol\System32 folder (the default is Windows\System32), and then type the following:

cscript IisExt.vbs /ListFile /s ComputerName /u Domain\User /p Password

You will receive a response similar to the following:

Connecting to server ...Done

Status / Extension Path

0 *.exe

0 *.dll

1 E:\Windows\system32\inetsrv\asp.dll

0 E:\Windows\system32\inetsrv\httpodbc.dll

0 E:\Windows\system32\inetsrv\ssinc.dll

0 E:\Windows\system32\inetsrv\httpext.dll

1 E:\Windows\system32\Microsoft.NET\Framework\v1.0.3705\aspnet_isapi.dll

1 c:\Source\Taxes.dll

1 c:\Source\Accounting.dll

1 c:\Source\Taxes.exe

1 c:\Source\Timesheet.exe

1 c:\Source\Payscale.dll

back to the top

Parameters

 *  : : This parameter specifies the file name and path of the Web service extension file to be added.
 * /s : This parameter specifies the network name or IP address of the remote computer. By default, if this parameter is not used, the script runs on the local computer.
 * /u : This parameter specifies the user account that has administrative privileges on the remote computer and that will run the script. The script uses the locally logged on credentials if this option is not specified.
 * /p : This parameter specifies the password for the account that is used with the /u parameter. If the /s parameter is not used and a password is required, the user is prompted for the password, and the password is obscured.
 * /?: This parameter displays help at the command prompt.

back to the top

