Service-Specific Registry Entries

The following parameters are stored in the registry by service, for service-specific behavior, but have the same name for each service.

Registry path:

HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet
 \Services
  \ServiceName
   \Parameters

where ServiceName is

MSFTPSVC (FTP Service)
W3SVC (WWW Service)

AllowGuestAccess
REG_DWORD
Range: 1, 0
Default: 1 (enabled)
This parameter specifies whether Guest logons are allowed for Internet services. When a new user logs on, the server checks to see if the user is logged on as a Windows NT Guest user. For a Guest connection, based on the value of this parameter, the Internet service either rejects or accepts the new connection. Allowing Guest access has been known to cause problems in a poorly managed site. Under the default installation of Windows NT systems, the Guest account is granted permissions for all types of access on the system. Because this default could easily compromise security, you should turn this switch off by changing the value to 0.

 

EnableSvcLoc
REG_DWORD
Range: 1, 0
Default: 1 (enabled)
IIS services register themselves with a service locator so that the service can be discovered by Internet Service Manager. This parameter controls such registration. If set to 0, the service will forgo registration. If set to 1, it registers the service for service location.

 

Registry path:

HKEY_LOCAL_MACHINE\SYSTEM
\CurrentControlSet
 \Services
  \W3SVC
   \ASP
    \Parameters

ProcessorThreadMax
REG_DWORD
Default: 10
This value specifies the maximum number of worker threads to create per processor. Generally it is not advisable to create more than 20 threads per processor. If this value is changed, the Web server must be stopped and restarted for the change to take effect.

 

RequestQueueMax
REG_DWORD
Default: 500
This value specifies the maximum number of .asp file requests to maintain in the request queue available for each thread. A value of 0 means the queue is unlimited in size. If this value is changed, the Web server must be stopped and restarted for the change to take effect.

 

The following registry key, LanguageEngines, is not installed by default. You must create this key in the following location in order to use it.

HKEY_LOCAL_MACHINE\SYSTEM
 \CurrentControlSet
  \Services
   \W3SVC
    \ASP
     \LanguageEngines
      \LanguageName

Value: Write REG_SZ: Response.WriteEquiv |
Value: WriteBlock REG_SZ: Response.WriteBlockEquiv |

LanguageEngines
REG_STRING
Range:String
Default: N/A
This parameter specifies a scripting language that does not support the Object.Method syntax as the Active Server Pages primary scripting language (the language used within the ASP script delimiters <% ... %>). LanguageName is the name of the chosen language, Response.WriteEquiv is the language’s equivalent of Response.Write, and Response.WriteBlockEquiv is the language’s equivalent of Response.WriteBlock. The pipe symbol (|) is an insertion used by ASP to send expressions and HTML blocks that are normally processed with Response.Write and Response.WriteBlock methods. This may be done automatically when installing additional scripting languages. If your scripting language is sensitive to white space or newline characters, you may not be able to use it as the primary scripting language even when this registry value is set. As an alternative, you can manually write HTML blocks to the browser or write that language’s functions within tagged script blocks (<SCRIPT> ... </SCRIPT> ) and call them from any other language.

 


© 1997 by Microsoft Corporation. All rights reserved.