Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to disable Web service extensions using iisext.vbs

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/03 Report--

This article mainly explains "how to use iisext.vbs to disable Web service extension", the content of the article is simple and clear, easy to learn and understand, now please follow the editor's ideas slowly in depth, together to study and learn "how to use iisext.vbs to disable Web service extension" bar!

Apply to: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1

You can use the command line script iisext.vbs (stored in systemroot\ system32) to disable Web service extensions by disabling all files that have a specific Web service extension ID. This command can be executed on a local or remote computer running members of the Windows Server 2003 family with IIS 6. 0.

Iisext.vbs performs the same actions that can be used with the IIS Manager. You can use any of the tools to manage IIS sites.

Important matters

Only members of the Administrators group on the local computer can run scripts and executables. As a security best practice, log on to the computer using an account that is not part of the Administrators group, and then use the runas command to run scripts and executables as an administrator. At the command prompt, type runas / profile / User:MyComputer\ Administrator cmd, open a command window with administrator privileges, and then type cscript.exeScriptName (including the full path to the script and any parameters).

This topic includes the following information:

Syntax: the order in which you must type a command and any parameters and options that follow it.

Parameter: the value assigned to the variable in the command.

Example: sample code and a description of the result.

Grammar

Iisext / DisExt ID [/ s Computer [/ u [Domain\] User [/ p Password]

Parameters.

ID

Necessary. Specifies the ID of the Web service extension to disable.

/ s Computer

Runs the script on the specified remote computer. Type the computer name or IP address without a backslash. By default, the script runs on the local computer.

/ u [Domain\] User

Runs the script with the privileges of the specified user account. The account must be a member of the Administrators group on the remote computer. By default, the script runs with the permissions of the current user on the local computer.

/ p Password

Specifies the password for the user account specified in the / u parameter. If you ignore this parameter, the script prompts you to enter a password and does not display the text you typed.

Example

Example 1:

The following command disables the Web service extension "FlightTimes" on the local computer:

The copy code is as follows:

Iisext / DisExt FlightTimes

In response, iisext displays the following:

Connecting to server... Done.

Disabling extension complete.

Example 2:

The following command disables the Web service extension "PassengerList" on the remote computer:

The copy code is as follows:

Iisext / DisExt PassengerList / s RemoteComputer / u Manager / p Pa$$Werd

In response, iisext displays the following:

Connecting to server... Done.

Disabling extension complete.

Thank you for your reading, the above is the content of "how to use iisext.vbs to disable Web service extension". After the study of this article, I believe you have a deeper understanding of how to use iisext.vbs to disable Web service extension, and the specific usage needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report