Optimizing your drives can help your PC run smoother and boot up faster.
Windows 11 includes Optimize Drives that will automatically retrim a SSD or defrag a HDD as needed.
Optimize Drives runs automatically on a weekly schedule at the time set in automatic maintenance. You can also manually run Optimize Drives on demand as needed.
This tutorial will show you how to optimize and defragment drives in Windows 11.