Schedule a defrag on Windows quickly


If you want your system to automatically defrag your computer on a scheduled basis i have a quick little tip to achieve this.
- Click start
- Run
- Enter the following code and hit enter.
schtasks /create /TN defrag /RU "NT AUTHORITY\SYSTEM" /SCÂ monthly /TR "defrag %systemdrive%"
- weekly is when you want the script to run e.g monthly/weekly etc
- NT Authority\system is the “system user”Â
- and systemdrive% is the local drive Windows is running on.
You can then config the scheduled task that has been created through the scheduled task manager.
Posted in Uncategorized, Windows Server System, Windows Vista, Windows XP | Comments Off on Schedule a defrag on Windows quickly