Iisext.vbs: IIS Web service extension script
Updated: January 21, 2005
To view the command syntax, click a command:
iisext /enapp
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in the ApplicationDependencies metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
- An application must have at least one preexisting dependency in the ApplicationDependencies metabase property in order to be enabled.
Examples
To enable an application on a local computer
iisext /enapp Payroll
In response, iisext displays the following:
Connecting to server ...Done. Enabling application complete.
To enable an application on a remote computer
iisext /enapp TravelPlans /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays the following:
Connecting to server ...Done. Enabling application complete.
iisext /listapp
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in the ApplicationDependencies metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
- An application must have at least one preexisting dependency in the ApplicationDependencies metabase property in order to be listed.
Examples
To list applications in the ApplicationDependencies property on a local computer
iisext /listapp
In response, iisext displays all of the applications accessible from ApplicationDependencies on the local computer.
Connecting to server ...Done Active Server Pages Internet Data Connector Server Side Includes WebDAV Payroll TravelPlans
To list applications in the ApplicationDependencies property on a remote computer
iisext /listapp /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays all of the applications available on the remote computer.
Connecting to server ...Done Active Server Pages Internet Data Connector Server Side Includes WebDAV Payroll TravelPlans
iisext /adddep, /remdep
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in the ApplicationDependencies metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
- If the application does not exist in the ApplicationDependencies property, iisext will create it.
Examples
To add application dependencies on a local computer
iisext /adddep Payroll timesheet
In response, iisext displays the following:
Connecting to server ...Done. Adding dependency complete.
To remove multiple application dependencies from an application on a remote computer
iisext /rmdep TravelPlans FlightSchedules HotelRooms /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays the following:
Connecting to server ...Done. Removing dependency complete.
iisext /enext, /disext
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to groups of entries that have the same Web service ID in WebSvcExtRestrictionList property of the metabase. The operation sets the Access flag to 1 (Allow) or 0 (Deny) on each of the ISAPIRestrictions or CGIRestrictions properties for that ID.
- A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
- This operation can only be performed on one Web service extension at a time.
Examples
To enable a Web service extension on a local computer
iisext /enext Payroll
In response, iisext displays the following:
Connecting to server ...Done. Enabling extension complete.
To disable a Web service extension on a remote computer
iisext /disext PassengerList /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays the following:
Connecting to server ...Done. Disabling extension complete.
iisext /listext
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in the WebSvcExtRestrictionList metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
Examples
To list Web service extension IDs in the WebSvcExtRestrictionList property on a local computer
iisext /listext
In response, iisext displays all of the Web service extension IDs that are on the local computer.
Connecting to server ...Done SSINC Payroll ASP Inventory ASP.NET WEBDAV HTTPODBC
To list Web service extension IDs in the WebSvcExtRestrictionList property on a remote computer
iisext /listext /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays all of the Web service extension IDs that are on the remote computer.
Connecting to server ...Done Payroll Inventory ASP.NET WEBDAV
iisext /addfile
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in the WebSvcExtRestrictionList metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
- Path\FileName can include special cases such as *.dll to enable/didisablenlisted ISAPI files and *.exe to enable/disable unlisted CGI files.
Examples
To add a Web service extension file as an entry in the WebSvcExtRestrictionList on the local computer
iisext /AddFile c:\Source\Timesheet.exe 0 Payroll 1 Payroll
In response, iisext displays the following.
Connecting to server ...Done. Adding extension file complete.
To add a Web service extension file as an entry in the WebSvcExtRestrictionList on a remote computer
iisext /AddFile c:\Source\Payscale.dll 1 Payroll 0 Payroll /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays the following.
Connecting to server ...Done. Adding extension file complete.
iisext /enfile, /disfile, /rmfile
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in WebSvcExtRestrictionList property of the metabase. The operation sets the Access flag to 1 (Allow) or 0 (Deny) on each of the ISAPIRestrictions or CGIRestrictions properties for that file entry.
- If a \rmfile operation is performed on a file flagged as not deletable, iisext returns an error.
- A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
- This operation can only be performed on one Web service extension file at a time.
Examples
To enable a Web service extension file on a local computer
iisext /enfile c:\Source\Timesheet.exe
In response, iisext displays the following:
Connecting to server ...Done. Enabling extension file complete.
To disable a Web service extension file on a remote computer
iisext /disfile c:\Source\Taxes.dll /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays the following:
Connecting to server ...Done. Disabling extension file complete.
To remove a Web service extension file on a remote computer
iisext /rmfile c:\Source\HourlyRate.dll /s RemoteComputer /u Manager /p Pa$$Werd
In response, iisext displays the following:
Connecting to server ...Done. Removing extension file complete.
iisext /listfile
Syntax
Parameters
Remarks
- To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
- This operation applies to entries in the WebSvcExtRestrictionList metabase property and is used to manage the Web service extensions an application depends upon. A Web service extension is any combination of CGI or ISAPI files that extend IIS functionality.
Examples
To list Web service extension files in the WebSvcExtRestrictionList property on a local computer
iisext /ListFile
In response, iisext displays all of the Web service extension files that are on the local computer.
Connecting to server ...Done E:\Windows\system32\inetsrv\asp.dll E:\Windows\system32\inetsrv\httpodbc.dll E:\Windows\system32\inetsrv\ssinc.dll E:\Windows\system32\inetsrv\httpext.dll E:\Windows\system32\Microsoft.NET\Framework\v1.0.3705 \aspnet_isapi.dll c:\Source\Taxes.dll c:\Source\Accounting.dll c:\Source\Taxes.exe c:\Source\Timesheet.exe c:\Source\Payscale.dll
Remarks
- The /u and /p command-line options are available only when you use /s. You must use /p with /u to provide the user's password.
- Iisext.vbs performs the same operations that are available from IIS Manager. You can use either tool to administer IIS Web sites.
- The computer issuing the command must be running Windows XP or a Windows Server 2003 operating system. The user must be a member of the Administrators group on any computer that the command affects.
- The computer that the command affects must be a server running Windows Server 2003 with Internet Information Services (IIS) 6.0.
Formatting legend
Format | Meaning |
Italic | Information that the user must supply |
Bold | Elements that the user must type exactly as shown |
Ellipsis (...) | Parameter that can be repeated several times in a command line |
Between brackets ([]) | Optional items |
Between braces ({}); choices separated by pipe (|). Example: {even|odd} | Set of choices from which the user must choose only one |
Courier font | Code or program output |