SSIEnableCmdDirective Is Set to FALSE by Default (233969)



The information in this article applies to:

  • Microsoft Internet Information Services 5.0

This article was previously published under Q233969
IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry

SUMMARY

In IIS 4.0, the SSIEnableCmdDirective registry property is set to TRUE by default. However, in IIS version 5.0, the default value of the SSIEnableCmdDirective registry property is set to FALSE. This value is set to FALSE to prevent running unauthorized server-side executables.

MORE INFORMATION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

To set the value to TRUE or enable the SSI CMD directive, follow these steps:
  1. Start the Registry Editor (Regedit.exe).
  2. Locate the following key in the registry:

    HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\W3SVC\Parameters

    NOTE: The above registry key is one path; it has been wrapped for readability.

  3. On the Edit menu, click New, and then DWORD Value.
  4. Specify SSIEnableCmdDirective for the name.
  5. Specify 1 for the value.
  6. Close the Registry Editor.
  7. Restart IIS.

Modification Type:MajorLast Reviewed:6/28/2004
Keywords:kbinfo KB233969