Hi Shalabh,
Hope you're doing well.
We can use the following command to check shadows copies in D drive:
vssadmin list shadows
vssadmin list shadows | Microsoft Learn
Use the following commands to delete shadow copies:
(1) vssadmin delete shadows /all
(2) By using diskshadow:
a. diskshadow
b. delete shadows volume D:
Best Regards,
Ian Xue
If the Answer is helpful, please click "Accept Answer" and upvote it.