I get that too, so I have to use a tool such as PSexec to run it as the computer system account.
Pruneshadowcopies.ps1 failing with an access denied error on DPM server 2019
Chris Masters
0
Reputation points
Shadow copies in DPM 2019 are not pruning. When running the pruneshadowcopies.ps1 script fails with access denied to the DPM storage drive.
Server 2019
MS DPM 2019
Both the application and server are fully patched.