After a lot of digging I found this command which disables the entry prompt on windows(works also for *nix systems):
--pinentry-mode=loopback
The full command would be:
gpg --pinentry-mode=loopback --passphrase "PASSWORD" -d -o "PATH\TO\OUTPUT" "PATH\TO\FILE.gpg"