Thursday, April 24, 2014

Cleanup a D:\ Drive

     Have you ever had the pleasure to clean up a full D:\ drive? If yes, you know this can be a pretty daunting task. If No, just know that you need to be very careful with any data saved on any Volume C:\ through Z:\. Any Volume other than C:\ usually contains data that is irreplaceable weather it has backups saved on it or SQL data that is needed to keep a business running.
   As you can see to the left TreeSizeFree is showing that there are 20.6 GBs of data being stored in a folder called System Volume Information (SVI). By default this folder will be hidden so you must first show all hidden system files with either a CMD prompt or PS prompt this can be done quite easily.
dir D:\ /AH
Get-Childitem -Force
Next type "vssadmin list shadowstorage" to find the loaction and size information of the SVI folder.

vssadmin list shadowstorage
After you know the location of the SVI folder you can change the MaxSize of the System restore files
vssadmin resize shadowstorage /For=D: /On=D: /MaxSize=5GB
From 3% to 12%.