Sign In with your
Trend Micro Account
Need Help?
Need More Help?

Create a technical support case if you need further support.

Resolving CGI misbehaved errors in OfficeScan (OSCE) and Worry-Free Business Security (WFBS)

    • Updated:
    • 17 Oct 2016
    • Product/Version:
    • OfficeScan 10.6
    • OfficeScan 11.0
    • OfficeScan XG.All
    • Worry-Free Business Security Standard/Advanced 7.0
    • Platform:
    • Windows 2003 Enterprise Server
    • Windows 2003 Standard Server Edition
Summary

IIS normally uses the Internet Guest Account to service HTTP requests directed towards its port (80 by default). In some cases, web applications need to be executed and the processes generated by these web applications are run in the IIS application pool.

The applications, by default, run under the following privileges in the application pool:

  • IIS 5.x - Local System Account
  • IIS 6.0 - Network Service Account

For both IIS 5.x and 6, the default privileges assigned to web applications running in the application pool would suffice for regular operations of OSCE. However, if the applications are modified to run under the privilege of the bridging account (e.g. Internet Guest Account [IUSR_servername] ), then the OSCE CGI applications might produce an error similar to the following:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Pragma: no-cache

Details
Public

Resolve this issue by doing the following:

 
Before applying the procedures below, make sure that there are no other Web Applications being hosted by the IIS machine that utilizes the credentials of the bridging account to run web apps on the IIS server.
  1. Check the W3SVC/CreateProcessAsUser property of the IIS metabase by running this command:

    C:\> Cscript.exe c:\inetpub\adminscripts\adsutil.vbs GET
    w3svc/createprocessasuser

    • The value of "true" means that the application pool processes is running under the account servicing the web request.
    • The value of "false" means that the application pool processes are using the default privileges (local system or network service accounts).

    The following message appears if the value is not set:

    The parameter createprocessasuser is not set at this node.

    Therefore, implicitly set the value to "false" as indicated by the next instruction.

  2. To change the value "true" back to the default value "false", use this command:

    C:\> Cscript.exe c:\inetpub\adminscripts\adsutil.vbs SET w3svc/createprocessasuser "false"

If the issue still occurs:

  1. Download and run the CDT tool.
  2. Collect the logs and contact Trend Micro Technical Support.
Premium
Internal
Rating:
Category:
Troubleshoot
Solution Id:
0119131
Feedback
Did this article help you?

Thank you for your feedback!

To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.

If you need additional help, you may try to contact the support team. Contact Support


To help us improve the quality of this article, please leave your email here so we can clarify further your feedback, if neccessary:
We will not send you spam or share your email address.

*This form is automated system. General questions, technical, sales, and product-related issues submitted through this form will not be answered.


Need More Help?

Create a technical support case if you need further support.