Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
Windows 11 drive optimization is scheduled weekly by default. To change it, open Defragment and Optimize Drives, select Change settings under Scheduled optimization, keep Run on a schedule (recommended) selected, choose Daily, Weekly, or Monthly, and select OK. Clear that checkbox if you deliberately want to turn automatic optimization off. You need an administrator account, but changing the setting does not require a restart or extra software.
The same Windows 11 tool handles both hard disk drives (HDDs) and solid-state drives (SSDs): it defragments files on an HDD and normally sends retrim (TRIM/Unmap) hints on an SSD. Microsoft documents the process for Windows 11 and Windows 10 in its Defragment / optimize your data drives guide.
As an Amazon Associate I earn from qualifying purchases.
Quick wins for a faster PC:
Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →How do I change how often Windows 11 optimizes my drives?
Use the built-in Optimize Drives window. The available schedule choices are Daily, Weekly (the default), Monthly, or no schedule at all.
- Open Start, type Defragment and Optimize Drives or defrag, and press Enter. The window title is Optimize Drives. Its executable is
dfrgui.exe. - At the bottom, find Scheduled optimization. It shows whether scheduling is On or Off and displays the current plan, such as Runs on: Weekly.
- Select Change settings. If scheduling is currently off, the button may say Turn on. Approve a User Account Control prompt if Windows displays one.
- Make sure Run on a schedule (recommended) is checked. If it is clear, the Frequency list is unavailable and Windows will not optimize automatically.
- Open Frequency and choose Daily, Weekly, or Monthly.
- Normally leave Increase task priority, if three consecutive scheduled runs are missed checked. This lets Windows give a missed task extra priority after three skipped opportunities.
- Optional: select Choose beside Drives. Select or clear individual volumes, and normally leave Automatically optimize new drives checked so later-added volumes are included.
- Select OK in the drive-selection dialog, then select OK again to save the schedule.
Return to the main window and verify that Scheduled optimization now shows the frequency you selected. The change takes effect without restarting Windows.
Popular on Amazon
- Aluminum Slim Computer Side Mount Clip: Compatible with all phones, featuring a portable foldable expansion bracket in sleek black finish
- Upgraded Magnetic Mount Technology: Designed for laptop, desktop monitor, MacBook, iPad and Tesla car screen with stable adsorption, adjustable angle, and dual-screen interaction support for improved office efficiency
- High-End Metal Craftsmanship: Selected high-hardness aluminum alloy with CNC precision machining, matte plating process, delicate texture that is wear-resistant and anti-scratch
- Strong Magnetic Attachment: Features upgraded high strength magnet with 200% increased magnetic force for firm phone attachment, innovative ring-shaped heat dissipation design prevents overheating and ensures no signal interference
- Wide Range of Compatibility: Works with iPhone 18/17/16/15/14/13/12 series including Pro Max/Mini versions, includes 2 metal rings for non-magnetic phones or cases for full device compatibility
How do I turn automatic defragmentation or scheduled optimization off?
In Optimize Drives, select Change settings, clear Run on a schedule (recommended), and select OK. The status should change to Off. To restore automatic maintenance, open the same dialog, select Turn on or Change settings, check the box, and save.
Turning the schedule off is a manual-maintenance decision, not an SSD-protection measure. If you disable it, you become responsible for running Optimize yourself, and an HDD can gradually accumulate fragmentation.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Which frequency should I choose: Daily, Weekly, Monthly, or Off?
Weekly is the sensible choice for most home and office PCs. Choose another option only when your drive mix, usage pattern, or maintenance policy gives you a specific reason.
| Frequency | Best fit | What to consider |
|---|---|---|
| Weekly | Most PCs, including SSD-only systems | Windows’ default cadence; usually enough for HDD maintenance and scheduled SSD retrim. |
| Daily | HDD-heavy systems with heavy file churn, or PCs that repeatedly miss the weekly window | More opportunities to defragment changing files. It does not turn every SSD operation into a traditional defragmentation pass. |
| Monthly | A computer that is powered on infrequently | Useful when weekly maintenance windows are unlikely to occur, but less frequent for an actively used HDD. |
| Off | Manual-only workflows or computers managed centrally by IT | You must monitor and run optimization yourself. Do not choose it merely to extend SSD life. |
Windows performs this work as part of Automatic Maintenance. A PC that is shut down, asleep, running on battery, or never idle during the maintenance window can miss a scheduled opportunity. On a laptop that is seldom plugged in, leave the three-missed-runs priority option enabled, connect AC power, let the computer sit idle, or run Optimize manually from time to time.
What does Optimize Drives do to an HDD versus an SSD?
The button has the same name, but Windows chooses a method based on the drive’s detected Media type.
Hard disk drive
For an HDD, Windows analyzes fragmentation and can reorganize file pieces so the mechanical heads make fewer movements. The interface may show a percentage such as OK (6% fragmented). Microsoft explains that hard drives are defragmented by reorganizing files so the drive can read them more efficiently.
Free tools Windows power users keep installed
One-click scans. No signup required.
Also popular on Amazon
- Anti-Slip Surface - Transform your laptop into a mobile workstation with the AboveTEK portable laptop lap desk. The anti-slip surface provides a strong grip for laptops up to 15.6 inches(Diagonal), while the double rubber strip on the bottom ensures a stable display or typing experience on your lap, couch, or bed.
- Retractable Mouse Pad - Retractable laptop mouse pad extends on both directions for the left/right handed with elevation along the edges for stopping mouse from falling off. The size of laptop tray is 14" X 9.7" and the size of mouse pad is 7.4" X 6.1".
- Effective Heat Shield - The effective heat shield made of sturdy and thick material protects your laptop from overheating. Prioritizes your comfort and safety, an ideal lap pad or board for working anywhere.
- EASY to Carry and Store - With an ergonomic and simplistic design, the lap desk is portable to store in a backpack. Only 15" in size, 2.2 lb of weight and with slim 0.6 inch thickness, it is ready to be easily carried around.
- Widely Applicable - The smooth platform accommodates laptops and tablets up to 15.6 inches(Diagonal), making it a versatile accessory and one of the best gifts for mom, dad, students and professionals. Perfect for use as a laptop bed tray or tablet holder anywhere at home, library, or park.
Analyze is available for an HDD. Guidance reported by ElevenForum and Techdows places the optimize-now threshold at more than 10 percent fragmented; this is secondary reporting of Microsoft guidance, not a measurement by this site. A complete defragmentation also needs working space. Techdows and WindowsForum, citing Microsoft documentation, report that at least 15 percent free space is needed for a full pass. On a 1 TB HDD, that is approximately 150 GB. With less free space, Windows may complete only part of the job.
Run time depends on the disk’s size and fragmentation and can range from several minutes to several hours. Microsoft does not publish a fixed duration. You can continue using the PC, but avoid shutting it down until Current status reports OK. During a run, Optimize changes to Stop; stopping the operation is described as safe.
Solid-state drive
For an SSD, Windows normally performs retrim, sending TRIM/Unmap hints about unused blocks so the SSD controller can prepare cleanup when the drive is not busy. Analyze is commonly unavailable because SSDs do not benefit from an HDD-style fragmentation analysis.
Windows already sends real-time delete notifications when files are removed. The scheduled retrim is a safety net for hints that were delayed or dropped while the storage queue was busy. A Microsoft Q&A volunteer moderator described the weekly operation as a retrim that completes cleanup requests that were not properly completed earlier. The same reply says weekly SSD optimization is generally sufficient unless a drive is nearly full or subjected to exceptionally intense writes.
The Tool Desk
Outbyte PC Repair FREERepair Windows errors before they cause bigger problemsFix Now →Outbyte Driver Updater FREEFix the driver behind crashes, sound loss and screen glitchesFind Drivers →Some 2026 reports citing Microsoft’s task policy say Windows can also perform a limited traditional defragmentation pass on an SSD about once a month, mainly to handle NTFS extent limits and Volume Shadow Copy or System Restore bookkeeping. Changing the visible Frequency setting does not make that traditional pass occur every day. Do not disable System Restore just to avoid it.
Should I disable scheduled optimization on an SSD?
No, not as a way to protect endurance. Windows 10 and Windows 11 detect solid-state media and use retrim rather than treating it like a mechanical disk. The old advice to uncheck the schedule came from earlier Windows versions and mis-detected-drive situations; on a current system it also disables maintenance that flash storage can use.
Also popular on Amazon
- Spacious Design: Measuring 21.1" wide and 12" deep, our lap desk comfortably fits most laptops up to 15.6". Extra room for accessories ensures convenience.
- Enhanced Functionality: Packed with handy features, including a 5x9" precision tracking mouse pad and a built-in phone slot for seamless work or video calls. Plus, enjoy laptop support with the integrated device ledge.
- Cool Comfort: Enjoy a stable surface with our lap desk's dual bolster cushion, designed for comfort and airflow, keeping your lap cool during extended use.
- Durable Surface: Work with confidence on our lap desk's solid surface, featuring a blush pink color, ensuring optimal air circulation to prevent your laptop from overheating.
- On-the-Go Convenience: With an integrated handle and lightweight design (2.14 lbs), our lap desk is portable for travel or moving around the house, offering flexibility in any space.
MakeUseOf’s 2026 explanation notes that retrim can restore performance on a neglected SSD, while a Microsoft Q&A response says weekly retrim is a good frequency and does not shorten an SSD’s life. Those are source statements, not a benchmark performed for this article. Endurance concerns are also easy to overstate: one illustrative calculation in that coverage uses a 1 TB Samsung 990 PRO rated for 600 TB written. Rewriting 5 GB monthly would total about 60 GB per year, roughly 0.01 percent of that rating; the example is not a Microsoft measurement and actual writes vary.
Keep an eye on free capacity instead. A nearly full SSD can lose spare area and write-cache headroom. WindowsForum recommends leaving roughly 15–20 percent free, while MakeUseOf emphasizes that free space often matters more than changing the schedule.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallOutdated Drivers Are Slowing You Down
One free scan finds every outdated or missing driver and matches the right update for your exact hardware.Free scan · exact hardware matchCheck Media type in Advanced View. If Windows identifies a known SSD as Hard disk drive, update storage or chipset drivers and check again before changing the schedule. Avoid third-party defragmenters that ignore media type; the Windows tool is sufficient for this maintenance.
Why does a scheduled optimization run get skipped?
A schedule is an opportunity, not a wake timer. The task normally runs during Automatic Maintenance when the PC is idle and suitably powered.
- The laptop is on battery: Windows commonly postpones the task until AC power is connected.
- The PC is asleep or shut down: the task does not wake the computer.
- There is not enough idle time: active use can prevent Automatic Maintenance from starting or finishing.
- The displayed Last run date looks old on an SSD: SSD maintenance may skip an analysis pass, so a stale date alone does not prove that retrim is broken.
- Another program customized the schedule: Optimize Drives may offer to remove customized settings before restoring Windows’ defaults.
- The GUI and command line are competing: close Optimize Drives before running
defragon the same volume. - The Optimize Drives service will not start: the Optimize drives service,
defragsvc, normally has a Manual startup type. If the app will not open, check that service and consider runningsfc /scannowfrom an elevated terminal. - The volume is unsupported: network drives cannot be optimized, and Windows supports the operation on volumes using ReFS, NTFS, FAT, or FAT32. A dirty volume may need
chkdskfirst.
For a laptop that routinely misses its weekly window, plug it in, leave it idle, keep the three-missed-runs priority setting enabled, or select Optimize manually about once a month.
How can I open the same schedule window?
Taskbar Search for defrag is the fastest and is Microsoft’s documented route. These alternatives open the same dfrgui.exe interface:
Recommended Free Tools
Also popular on Amazon
- Full HD Portable Monitor - MNN 15.6inch portable laptop monitor with 1920*1080 resolution, advanced IPS glossy screen support 178° full viewing angle, it renders accurate and bright color, draws you into the video or game with lifelike colors and amazing detail.It can effectively reduce blue light radiation damage, no flickering, eye-care, and make it easier to watch for a long time.A second monitor for working from home.
- Double Type-C Port -For Plug & Play, the MNN monitor provides 2 Full Feature Type-C ports. Only One USB Type-C Cable is required to connect to the power supply & display signal transmission. NOTE: Your device should support thunderbolt 3.0 or USB 3.1 Type C DP ALT-MODE.which supports multiple connect ways to your laptops, PC, Phones, Macbooks, PS5/PS4, Xbox, and Switch.
- Lightweight Ultra Slim for Travel - As a portable external monitor,MNN portable laptop monitor easily accommodate to every suitcase and backpack and stress-free when you are holding it for a long time. They are truly portable computer monitors for travelers, students, gamers,engineers, and everyone.
- Give consideration to work and games - through multiple display modes [Copy Mode/Extended Mode/Second Screen Mode/Portrait Mode], we can bring you a clear second screen in the meeting, and expand the screen anytime and anywhere to improve work efficiency and improve the quality of life. Adjusting to HDR mode can upgrade the image to a new level, providing you with brighter highlights,deeper and more realistic colors, more realistic images, and amazing viewing/gaming experience.
- Powerful Smart Cover - MNN portable external monitor can work in both landscape and portrait mode, can be used as a gaming monitor, screen extender for laptop or phone. Comes with a scratch-proof smart cover made of durable PU leather exterior, doubles as a stand, provides comprehensive protection for this portable computer monitor.
- Settings: press Win + I, open System → Storage → expand Advanced storage settings → Drive optimization.
- File Explorer: open This PC, right-click a drive, choose Properties → Tools → Optimize.
- File Explorer command bar: select a drive, open See more (⋯), and choose Optimize.
- Run: press Win + R, enter
dfrgui, and press Enter. - Start menu: open All apps → Windows Tools → Defragment and Optimize Drives.
Depending on the Windows 11 build, the Storage route can show a UAC prompt. Builds 26100.7705 (24H2) and 26200.7705 (25H2) introduced a prompt in some Storage views, while later builds 26100.8524 and 26200.8524 moved that prompt to the temporary-files view. This does not change the schedule procedure; simply select Yes when Windows asks for elevation.
How do I optimize a drive manually?
Open Defragment and Optimize Drives, select a volume, and choose the action Windows offers. On an HDD, select Analyze to inspect fragmentation or Optimize to defragment. On an SSD, select Optimize to request retrim. The Current status, Media type, and Last analyzed or optimized columns help confirm that you selected the intended volume.
Manual optimization is useful after a laptop missed maintenance or when troubleshooting a heavily fragmented HDD. It is not normally necessary just because the SSD’s last displayed analysis date is old.
What command-line checks are available?
These commands are optional and are not required to change Frequency. Open Windows Terminal as administrator before running them, and close the Optimize Drives window first.
defrag C: /O— optimize drive C using the method appropriate for its detected media.defrag /C /O— optimize all eligible volumes with the appropriate method for each.defrag C: /Lordefrag C: /L /U /V— request retrim only, with progress and verbose output in the second form.defrag C: /A /V— analyze an HDD and print fragmentation statistics.Optimize-Volume -DriveLetter C -Verbose— PowerShell optimization using the media-appropriate method.Optimize-Volume -DriveLetter C -ReTrim -Verbose— request retrim immediately.
To check whether NTFS delete notifications are enabled, run fsutil behavior query DisableDeleteNotify. NTFS DisableDeleteNotify = 0 means TRIM notifications are enabled; = 1 means they are disabled. In an elevated terminal, fsutil behavior set disabledeletenotify NTFS 0 re-enables them for subsequent unmap operations; a reboot is not required.
Does changing Frequency alter the SSD’s monthly maintenance policy?
No. The visible schedule controls when Windows’ scheduled optimization task is eligible to run, but secondary reporting in 2026 says the traditional SSD defragmentation component remains governed by Microsoft’s separate monthly policy. Selecting Daily therefore does not force an HDD-style rewrite every day on flash storage. The regular SSD operation remains retrim, and weekly is normally adequate.
Also popular on Amazon
- 【Rechargeable Optical Mouse/Energy Saving】:Computer Mouse Built-in Durable Rechargeable Battery,High Cycle Life,No Need Change Battery;Laptop Mouse Wireless Can Be Easily Charged Using the Included USB Cable,Just 2 Hours Charging,Mouse Wireless Can Use Than 5 Days of Working Time and 30 Days of Standby Time,Standby Time is Very Long;Tablet Mouse Will Fall Asleep After 5 Minutes No-Operation to Save Power and Provides Long Term Usage;You Can Wake ipad Mouse Up By Clicking any Button
- 【LED Colorful Breathing Light】:This Wireless Mice With 7 Different Colorful LED Breathing Lights,7 Different Color Changes Randomly While in Use,Offering Soothing Lighting;Creating Cool and Fancy Atmosphere for Office and Gaming,LED Mouse Can Give You More Fun During
- 【Wireless Bluetooth Mouse Dual Mode】:Mouses(BT5.2/3.0 and 2.4 G)Dual Mode Realize the Free Switching of One Wireless Bluetooth Mice Between Two Devices;Bluetooth Mouse Mode Can Connect One Device Through BT5.2/3.0 and Wireless Mouse Mode Another Device Through a 2.4G USB Receiver,No Need to Install any Driver,Plug and Play;Wireless/Bluetooth Technology Provides Powerful and Reliable Connection,Which Can Enables Fast Data Transmission Without Delays or Dropouts,Effective Up to 10 Meters(33 feet)of Range
- 【Silent/Fingerprint-proof】:Silent Laptop Mice Button Silent Click Design Reduces 90% Noises,Help You Concentrate on Your Work、Study Without Disturbing Others Besides You;Apple Mouse Fingerprint-proof Surface Coating Technology Design Gives Your a Skin-Like Touch,The sturdy anti-slip rubber scroll wheel ensures that your hand will not slip when scrolling;Slim Mouse Offers Your Hand Maximum Support and Comfort
- 【Wide Compatibility Wireless Mouse】:Wireless Bluetooth Mouse For Laptop/Computer/Apple/Notebook/Tablet/Macbook/ipad/iPhone;Mice is Compatible With Android/Chromebook/Windows/Vista/Linux/Notebook/Mac OS and Other Bluetooth Devices
What should I do if the controls are greyed out?
A greyed-out Change settings button usually means the account lacks administrator rights or an organization has enforced the setting. Sign in with an administrator account or ask your IT administrator; do not attempt to bypass a centrally managed maintenance policy.
Also verify that you opened the Windows tool rather than a third-party utility. The built-in dialog is named Optimize Drives, contains Scheduled optimization, and uses the labels listed above. No download is needed.
How does Automatic Maintenance affect the schedule?
Frequency sets how often Windows seeks to run optimization; Automatic Maintenance supplies the idle time in which it can run. These are separate controls. If you need maintenance to happen more reliably, first make sure the PC is powered, awake, and idle during its Automatic Maintenance window before switching from Weekly to Daily.
Changing the maintenance clock can affect other idle tasks as well, whereas changing Frequency affects the drive-optimization task itself. For most users, leaving both defaults intact is the least disruptive configuration.
Recommended settings by situation
- SSD-only desktop or laptop: keep Weekly, keep the schedule enabled, and leave new-drive optimization enabled.
- HDD used for frequent downloads, video work, or large file changes: start with Weekly; consider Daily if fragmentation repeatedly becomes significant or the computer misses weekly windows.
- Occasional-use computer: choose Monthly if it is rarely powered on, and run a manual optimization after long periods of inactivity.
- Organization-managed PC: keep the policy supplied by IT. Greyed-out controls are intentional in that environment.
- Manual-only maintenance: choose Off only when someone will periodically inspect status and run the appropriate operation.
Microsoft’s default remains the best starting point: automatic optimization once per week. An older 2021 article that described Windows 11 as daily by default is outdated; Microsoft Support and multiple 2026 guides identify Weekly as the current default.
Frequently Asked Questions
Can I choose an exact clock time for drive optimization?
The Optimize Drives dialog lets you choose Daily, Weekly, or Monthly, but it does not provide an exact start-time field. The actual opportunity is supplied by Automatic Maintenance, so the PC must be powered and idle during that maintenance window.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsWill changing the schedule delete or rewrite my personal files?
No. HDD optimization reorganizes file placement without deleting the files, while SSD retrim sends information about unused blocks to the drive controller. You should still keep normal backups because optimization is not a backup or recovery feature.
Is free space more important than changing an SSD from Weekly to Daily?
Usually. A nearly full SSD has less spare area and can lose write-cache performance, so freeing capacity is often more useful than increasing the visible schedule. Reports commonly recommend retaining roughly 15–20 percent free space, although the exact amount depends on the drive and workload.
Can an administrator stop users from changing this setting?
Yes. Group policy or other organizational management can lock Scheduled optimization, leaving Change settings disabled. On a work-managed PC, ask IT rather than changing services or registry values yourself.

