Defragment all drives

VBScript uses wmi queries to get a list of drives. Filters drives based on drivetype. Uses smartmontool to determine if any fixed drives are SSDs. Performs a defrag analysis on any non-SSDs and builds a batch script for any defrags that are needed. Upon completion the VBScript will trigger the batch script to start any defrags that were queued. Can report using “$degfrag$”, “$degfragOK$”, “$degfragError$”, “$degfragStarted$”. $defragOK$ indicates no defrags were needed.

script-default

Scripts are only available to members. Please sign in or join as a member.

How to Download Scripts

youtube-video-thumbnail

In order to access this script you will need to be logged in with a paid account.

Script Categories
Content Copyright
Virtual Administrator
Script Version
1.0
Script Author
Script OS
RMM Version
6.2+

Search For More Scripts

View More results...

Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
scripts
training
views
patch_updates
monitorsets
reports
marketingmaterials
Filter by Categories
MSP Guides
Webinars