Defragmentation script.


  1. Posts : 55
    Windows 10
       #1

    Defragmentation script.


    Could someone provide me with script which would run disk defragmentation ? I use Windows Ten.

    Thank you in advance !
      My Computer


  2. Posts : 15,485
    Windows10
       #2

    dedq said:
    Could someone provide me with script which would run disk defragmentation ? I use Windows Ten.

    Thank you in advance !
    W10 automatically defrags periodically in background. Check defrag settings in maintenance settings. A script should be unnecessary.

    If you want a batch file, then use dfrag command - many guides on web how to use that command.
      My Computer


  3. Posts : 4,594
    Windows 10 Pro
       #3

    Ya, why do you need a script ?
      My Computers


  4. Posts : 68,954
    64-bit Windows 11 Pro for Workstations
       #4

    Hello dedq,

    The tutorial below can provide you the commands to defrag using the command prompt and PowerShell if you like.

    Optimize and Defrag Drives in Windows 10 | Windows 10 Tutorials
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 03:34.
Find Us




Windows 10 Forums