Pruneshadowcopies.ps1 failing with an access denied error on DPM server 2019

Chris Masters 0 Reputation points
2024-06-14T17:09:13.9966667+00:00

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.

Microsoft System Center
Microsoft System Center
A suite of Microsoft systems management products that offer solutions for managing datacenter resources, private clouds, and client devices.
1,017 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Robert Lawton 0 Reputation points
    2024-06-17T14:35:01.11+00:00

    I get that too, so I have to use a tool such as PSexec to run it as the computer system account.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.