Thursday, February 13, 2014

Running DRM Batch file using Control-M Agent and DRM credentials utility

Here is a situation i got myself into and out. I created a batch file to run a simple export. I mapped drm user to windows user using drm credentials utility, this way i dont have to hardcode username and password for batch.

Issue: when the batch wass run manually it works just fine but it fails when it is executed by Control-M agent.
the error indicates batch failed because one of the required parameter username is not supplied.

Fix:
on the box where drm and control-m agent is installed, do the following


  1. Goto Administrative Tools->Services
  2. Select the Control-M/Agent Service
  3. Right Click->Properties
  4. Click Logon Tab
  5. Change the Logon as from "Local System Account" to "This Account"
  6. Enter the DRM windows username and password.
  7. Click Apply
  8. Click OK
  9. Restart the services.


No comments:

Post a Comment