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

Create a technical support case if you need further support.

Configuring User Scripts to start Windows services that access an encrypted drive in SecureCloud

    • Updated:
    • 19 Mar 2015
    • Product/Version:
    • SecureCloud as a Service 3.7
    • SecureCloud On-Premise 3.7
    • Platform:
    • Windows 2003 Datacenter
    • Windows 2003 Datacenter 64-bit
    • Windows 2003 Enterprise
    • Windows 2003 Enterprise 64-bit
    • Windows 2003 Server R2
    • Windows 2003 Standard
    • Windows 2003 Standard 64-bit
    • Windows 2008 Datacenter
    • Windows 2008 Datacenter 64-bit
    • Windows 2008 Enterprise
    • Windows 2008 Enterprise 64-bit
    • Windows 2008 Server R2
    • Windows 2008 Standard
    • Windows 2008 Standard 64-bit
    • Windows 2012 Enterprise
    • Windows 7 32-bit
    • Windows 7 64-bit
    • Windows 7 Ultimate 32-bit
    • Windows 7 Ultimate 64-bit
Summary

This article discusses how to start Windows services that access an encrypted device using User Scripts.

Follow this procedure if you encounter any of the following scenarios:

  • Start an application or service that needs to access an encrypted device and mounted by SecureCloud.
  • There is an issue with the service that needs to access the drive however it is not yet mounted by SecureCloud.
Details
Public

To manually start a service using User Scripts:

  1. To disable the startup of a service, go to the Services console (Ex: Windows Folder Share which uses the service "Sever").
    1. Click Start,and then type "services.msc" on the Search field. Press ENTER.

      The Services console opens.

    2. Right-click on the service/s you want to disable, and then click Properties.
    3. Set the startup type to Manual.
  2. Create two .BAT files, one to start the service and one to stop the service:

    Example: For the service named Server

    • start_service.bat (The start_service.bat contains the commands to start the service.)

      Ex: net start Server

    • stop_service.bat (The stop_service.bat contains the commands to start the service.)

      Ex: net stop Server

  3. Go to the SecureCloud Agent folder:
    • For 32-bit Windows: C:\Program Files\Trend Micro\SecureCloud\Agent\
    • For 64-bit Windows: C:\Program Files(x86)\Trend Micro\SecureCloud\Agent\
  4. Create a scripts folder in the Agent folder and place the batch files in the scripts folder.
  5. In the Agent folder, open the config.xml file.
  6. Using a text editor, edit the config.xml file with a userScripts element specifying the batch files. Add the following:
    • mountComplete - Start batch file
    • teardown - Stop batch file

    Below is an example of a config.xml file using batch files named as above:

    <agent version="3.7">
    ...
    <userScripts mountComplete="C:\Program Files (x86)\Trend Micro\SecureCloud\Agent\scripts\start_service.bat"
    teardown="C:\Program Files (x86)\Trend Micro\SecureCloud\Agent\scripts\stop_service.bat"/> ...
    <agent>

    The services should now run properly.

Premium
Internal
Rating:
Category:
Configure
Solution Id:
1107773
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.