Skip to content

A Powershell disk cleanup utility for Windows PC's

Notifications You must be signed in to change notification settings

OldChris/DiskCleanup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

DiskCleanup

What is DiskCleanup?

A Powershell script to clean up your Windows C: drive. It adds some extra cleanup options compared to Windows Disk Cleanup tool.

How does it work?

DiskCleanup runs a series of standard Windows utilities and removes files from temp folders. Here is a summary of it actions:

  • runs the Windows Disk Cleanup utility,
  • cleans eventlogs,
  • remove memory dumps,
  • cleans windows/temp folder,
  • cleans windows/minidump folder,
  • cleans windows/prefetch folder,
  • cleans Windows Software Distribution folder using the dism utility,
  • removes old files in user's temporary folders,
  • shows all temporary files older then given number of days, and and option to delete these files,
  • shows large files (> 1 gigabyte).

DiskCleanup will restart in Administrator mode if not running as Administrator.

Who will use it?

Anybody who owns a Windows 10 PC, if you are not sure ask a friend to assist you.

Goals, next steps

Improve code and add functionality, any suggestions are welcome.

About

A Powershell disk cleanup utility for Windows PC's

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published