@echo off
echo Setting DirectPay security permissions...
icacls "C:\ProgramData\DirectPay" /grant "Authenticated Users":(OI)(CI)M
icacls "C:\ProgramData\DirectPay\DPAYBE.accdb" /grant "Authenticated Users":M
icacls "C:\ProgramData\DirectPay\GnuPG" /grant "Authenticated Users":(OI)(CI)F /T
exit /b 0