How to cleanup stale devices on your servers …
On one of our servers that is running as a Hyper-V Host and using a non windows backup software to backup the VM’s I see a lot of VSS copies hanging around …. ?
When looking at the HIDDEN devices
I saw a lot of Generic volume Shadow Copies
See here to know why this is occurs
And as well INACTIVE Storage volumes
The know why this is happening see here
Download the DriveCleanup Tool here
You can run this command to run in TEST MODE
drivecleanup -t > dc-output.txt
You can see this detailed output
In my case it suggest these entries to be removed.
I could see a clear relationship between the Event ID 121 Errors and output of the drivecleanup tool
To delete the stale devices and Registry Keys you need to use the Admin Privileges
Make sure you have good backups before removing anything !