[This is preliminary documentation and subject to change]

# 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) or W3SVC (WWW Service).

AllowGuestAccess
Registry Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName\Parameters where ServiceName is MSFTPSVC (FTP Service) or W3SVC (WWW Service)
Data Type: REG_DWORD
Default value: 1 (enabled)
Range: 0 -1
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 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 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 change the value of AllowGuestAccess to 0.

EnableSvcLoc
Registry Path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ServiceName\Parameters where ServiceName is MSFTPSVC (FTP Service) or W3SVC (WWW Service)
Data Type: REG_DWORD
Default value: 1 (enabled)
Range: 0 -1
IIS services register themselves with a service locator so that the service can be discovered by the IIS snap-in. This parameter EnableSvcLocl controls such this registration process. If EnableSvcLoc is set to 0, the service locator will not register the IIS service. If set to 1, it the service locator registers the IIS sIIS ervice for service location.

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
Registry Path: (S see above)
Data Type: REG_STRING
Default value: Not applicable
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 can 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.

(The following words are used by Search; they are not intended to be displayed on the page.) W3SVC

© 1997-2001 Microsoft Corporation. All rights reserved.