Article ID: 190002 - Last Review: June 23, 2005 - Revision: 3.2

CGI and Perl Applications Do Not Run in a New Console

This article was previously published under Q190002
We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site:
http://www.microsoft.com/technet/security/prodtech/IIS.mspx (http://www.microsoft.com/technet/security/prodtech/IIS.mspx)
Expand all | Collapse all

SYMPTOMS

CGI and Perl applications do not run in a new console.

WORKAROUND

With the Windows Script Host enabled, start the command prompt and go to the following directory:
<%System_Root%>\System32\Inetsrv\Adminsamples

Then, type the following command:
adsutil set w3svc/CreateCGIWithNewConsole "1"

MORE INFORMATION

To run CGI applications in Internet Information Server (IIS) 3.0 and earlier, "CreateProcessWithNewConsole" was added as a REG_DWORD with a value of "1" to the following registry key:
   HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters
				

This method does not work in IIS 4.0.

APPLIES TO
  • Microsoft Internet Information Server 4.0
Keywords: 
kbprb kbfaq kbpending KB190002
 

Article Translations