How Do I Defrag My Computer Using Command Prompt Windows 10?
Contents

How do I run a defrag from command prompt?

Press the Windows key + R shortcut to bring up the Run box, type dfrgui and press Enter to launch Disk Defragmenter. You can also access Disk Defragmenter by running the dfrgui command at Command Prompt. Click the Start button, then select All apps -> Windows Administrative Tools.

How do I force Defrag on Windows 10?

Defragment your Windows 10 PC

  1. Select the search bar on the taskbar and enter defrag.
  2. Select Defragment and Optimize Drives.
  3. Select the disk drive you want to optimize.
  4. Select the Optimize button.
Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest