Windows and gpg

Recieve encrypted files nightly from customer that are processed daily. Have tried to automate the process and set up scheduled task in Windows. Have used batch file with type PASSSPHRASE|gpg --passphrase-fd 0 --decrypt-files *.pgp

to decrypt. However, if user is not logged on to the system, the files are not decrypted as it prompts for the passphrase for keystore access. How do I work around this?