Windows defragment system files every time you boot your PC. If you often defragment your hard drives, this automatic feature is unnecessary and it slows down the launch of Windows. To disable it, you must modify the Windows registry. Disable defrag windows 10 | Disable automatic defragmentation Windows 8
Disable automatic defragmentation Windows 10 or Windows 8
- Open the Registry
- Start/All programs/Accessories/Run
- Type the command regedit
- The Registry Editor opens in a new Window.
- Expand the key: HKEY_LOCAL_MACHINE>SOFTWARE>Microsoft>Dfrg>BootOptimizeFunction.
- Right-click on the keyword “Enable” and click edit
- In the Value data field type, N
- Confirm by OK
- Right-click on the keyword “Optimizecomplete” and click edit.
- In the Value Data field, replace Yes by No. (case sensitive)
- Confirm by OK
- Close the Registry Editor. Changes will be effective upon restarting Windows.
Disable defragmentation at startup of Windows 7
Disable defrag windows 10 | Disable automatic defragmentation Windows 8
Like its predecessors, Windows 7 automatically defragments system files every time you start your computer. If you defragment your hard drive regularly, you can disable this feature you will save time you turn on your PC.
- Go to the registry:
- Type Regedit in the search bar Windows
- Search key: HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Dfrg \ BootOptimizeFunction (create it if it’s not there)
- Set the value chain and it put the value N (Right Click> New> String Value)
- Exit the Registry Editor and restart the PC.
Disable defrag windows 10 | Disable automatic defragmentation Windows 8