Win OS – Recycle Bin Pruning Using GetFolderSize

Background

A couple of days ago received an alert about low space on one of our servers.

 

Troubleshooting

Remote desktop and started snooping around.

 

Space Sniffer

Image

SpaceSniffer_20171026_0233PM

 

Explanation

  1. Nice 57 GB in Recycle Bin

 

Windows Explorer

Folder Options

Image

Image – Hide Operating System Files

FolderOptions_20171026_0243PM

 

Image – Hide Operating System Files – Un-hiding

 

FolderOptions_20171026_0244PM

Image – Hide Operating System Files – Unhide

FolderOptions_20171026_0245PM

 

View Hidden System Folders

Reviewed D:\$RECYCLE.BIN through MS Windows Explorer, but sadly stuck at “Access is Denied”.

Explorer_SystemFilesNotHidden_AccessIsDenied_20171026_0248PM

 

Get Folder Size

Initial

Drives

Image

GetFolderSize_Folder_000_20171026_0251PM

Tabulated
Drive Total Free Free% Used Used%
C: 437.63 GB 112.95 GB 26% 324.68 GB 74%
D: 500.00 GB 93.35 GB 19% 406.65 GB 81%

 

Folders

Image

 

Name Size Percent Files Folders
D:\$RECYCLE.BIN 57.357 GB 100% 117,644 11,239
Folder #1 22.570 GB 39.35% 11 2
Folder #2 21.072 GB 36.74% 5 0
Folder #3 12.160 GB 21.20% 113,090 11,194
Folder #4 1.390 GB 2.42% 16 2
Folder #5 164 MB 0.29% 4496 10

 

Folders – Individual

Folders – Individual – 001
Image – Folders & Files – Right Side

Explanation
  1. The two biggest files are SQL Server backup files
    • They are 10 GB each
    • Had them since Feb & March 2015
Image – Folders & Files – Left Side

Image – Folders & Files – Discarding

Explanation
  1. Warning about permanent deletion

 

Folders – Individual – 002
Image – Folders & Files – Right Side

Explanation
  1. The two biggest files are SQL Server data files
    • They are 10 GB each
    • Had them since May & June 2016
Image – Folders & Files – Right Side – Tagged

 

Summary

SpaceSniffer has an easy interface to find biggest files.

And, when they are in the recycle bin, GetFolderSize makes it easy to discard them.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s