I have a requirement where i will store a password in a text file and enable EFS on the file using a domain account A. Now i have a perl script which will read the encryped text file to get the password and set the service account password on remote machines. Issue is that same domain account A is not able to read the file through the script functions but could open directly from the windows explorer.
Is there a way to read the contents of the encrypted text file using the same domain account with which its encrypted? This script is a bit critical for our product release but couldn't find a way to proceed.