MaxBandwidth

The MaxBandwidth property specifies the maximum network bandwidth used for IIS. You can use this setting to help prevent overloading the network with IIS activity. This is not an inheritable property, but the value set at the machine level is globally available to all server instances. MaxBandWidth can be set individually, so that specific server instances are used instead of the global value, and can exceed the global setting established at the machine level.

When you set the MaxBandwidth property programmatically or directly in the file, the value must represent bytes per second. When you set the MaxBandwidth property in IIS Manager, the value must represent kilobytes per second.

The value must be in the range between 1024 and 4294967295 bytes per second otherwise a warning message will be logged in Event Viewer with the event identifier 1041.

The World Wide Web Publishing Service (WWW service) must be restarted before changes to this property take effect.

The metabase represents unlimited as the DWORD value of 4294967295 (0xFFFFFFFF); however, VBScript represents unlimited in hexadecimal format as &HFFFFFFFF. Previous versions of IIS represented unlimited as -1.

Schema Attributes

Attribute Name

Value

ADSI/WMI Data Type

DWORD

ABO Data Type

DWORD_METADATA

Schema Default

4294967295

Internal Default

4294967295

Upper Bound

Not specified

Lower Bound

Not specified

Internal ID

1000

Friendly ID

MD_MAX_BANDWIDTH

Property Attributes

INHERIT

User Type

IIS_MD_UT_SERVER

Configurable Locations

You can configure this property at the following locations in the IIS metabase.

Metabase Path

IIS Admin Object Type

/LM

IIsComputer

/LM/W3SVC

IIsWebService

/LM/W3SVC/n

IIsWebServer

/LM/NNTPSVC

IIsNntpService

/LM/NNTPSVC/n

IIsNntpServer

/LM/SMTPSVC

IIsSmtpService

/LM/SMTPSVC/n

IIsSmtpServer

Flags

There are no flags for this property.

Requirements

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

See Also