ITExperience.NET Rotating Header Image

Defragmentation: defragment servers remotely with WMI



xplogoDefragmenting servers can be quite a time-consuming task if you have plenty of servers and plenty of disks. Most system administrators will have scheduled tasks on every server to defragment every month or so. A disadvantage of this way of working is the lack of overview what servers need to be defragmented. Microsoft’s Scriptcenter has a solution for this ‘problem’: Defragment all servers from one location with WMI. When running the script, it gives you return codes so you know the result of each defragmentation.

The WMI script to defragment remote servers, as well as some background information, can be found at Microsofts page Defragmenting Disks the Windows 2003 Way

Leave a Reply

Comments without hyperlinks are immediately visible. However, if you post a comment that includes a hyperlink, your comment requires approval. This can take up to one day.