Skip to main content


How to Encrypt the Admin Password When Used on a Batch Script

In one of my previous blog posts, the EPMAUTOMATE encrypt command was used to encrypt the administrator’s password on a batch script. Here, I describe the process for how to encrypt the password when used on a batch file.

Before continuing, ensure the EPMAUTOMATE has been installed on the computer from which you are running the utility.

1. Click Start, then All Programs, then EPM Automate, and then Launch EPM Automate. The Launch EPM Automate command prompt is displayed.

2. Generate a password encryption file. You use the password encryption file to pass encrypted password to initiate a session.

Oracle - Guide to Oracle Cloud: 5 Steps to Ensure a Successful Move to the Cloud
Guide to Oracle Cloud: 5 Steps to Ensure a Successful Move to the Cloud

Explore key considerations, integrating the cloud with legacy applications and challenges of current cloud implementations.

Get the Guide

Command Line Example:

epmautomate encrypt P@ssword1 myKey C:\mySecuredir\password.epw

  • PASSWORD is the password of the Service Administrator in the service. You cannot use corporate credentials with the EPM Automate Utility.
  • KEY is the private key that is to be used to encrypt the password.
  • PASSWORD_FILE is the name and location of the file that stores the encrypted password. The password file must use the .epw extension.

3. Start a session as a Service Administrator. Use a command line as describe.

epmautomate login serviceAdmin CC:\Oracle\EPM Automate\bin\password.epw

4. Sign out of the Service instance.

Epmautomate logout

EPM Automate Exit Codes

The EPM Automate Utility returns an exit code and message to indicate the status of the operation. Exit codes are grouped under five code numbers; each code may indicate many error conditions. Review the accompanying message to identify the specific condition that caused the error. Additionally, the utility creates a log file (COMMANDNAME_TIMESTAMP.log, for example, uploadfile_16_11_2016_11_27_10.log) for each failed command execution. Log files are created on the computer from which you run the utility.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Eddie Cisneros, Lead Technical Consultant

Technology and business visionary with 15+ year leading the design, development and implementation of Enterprise Performance Management System solutions. Strong record of success in resolving client issues with Hyperion Products proven ability to bring the benefits of IT to solve business issues while delivering application, infrastructure, costs and risks. Provide strategic direction to senior leadership on technology. Led innovation project for infrastructure delivery to improve the delivery Enterprise Performance Management Solution.

More from this Author

Follow Us