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
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:
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:
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:
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:
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.
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:
http://technet2.microsoft.com/windowsserver/en/library/72d69051-4287-4e92-847c-df3ac3eb77e11033.mspx
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
Keywords: kbhowtomaster KB328505