Microsoft KB Archive/328505

From BetaArchive Wiki

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

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

  • Drive:\Path\FileName: This parameter specifies the file name and path of the Web service extension file to be added.
  • /s Computer: 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 Domain\User: 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 Password: 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

REFERENCES

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

328360 HOWTO: Enable and Disable ISAPI Extensions and CGI Applications in IIS 6.0


328419 Add and Remove Web Service Extension Files in IIS 6.0




For more information about IISExt.vbs, visit the following Microsoft Web site:

You can also access this product documentation through the IIS Manager. For additional information about how to access this Help feature, click the following article number to view the article in the Microsoft Knowledge Base:

815127 How To: Access IIS 6.0 Help Documentation


back to the top

Keywords: kbhowtomaster KB328505