Unable to run Defrag after drive sync with One-Drive

Vin Lin 0 Reputation points
2023-02-12T09:30:47.2933333+00:00

Running Win 10 Pro 2H22.

Defrag was working fine but after I sync some sharepoint folders on Drive E, the drive seems "locked" and it is always 20% defragmented n matter many times I run defragmentation. I tried booting in safe mode or even stop running the OneDrive app before running Defrag but it is still 20% defrag. Any experts here to help please? Thank you!

Windows 10
Windows 10
A Microsoft operating system that runs on personal computers and tablets.
11,083 questions
OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
943 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Vin Lin 0 Reputation points
    2023-02-13T13:12:13.0166667+00:00

    Hi Emily, I ran the above. No errors were found. Is there anything else I can do? Thank you.

    0 comments No comments

  2. Limitless Technology 44,091 Reputation points
    2023-02-13T17:07:38.7533333+00:00

    Hello there,

    Open serivces.msc in run then simply look at the disk defragmenter service right click and go to properties then in properties check the service type if its disabled just choose manual then click start

    or type this command in cmd with administrative rights

    To analyze drive:

    defrag c: /a /u /v

    To force a defrag:

    defrag c: /d /v /x

    This will defrag C: plus consolidate free space and provide a verbose report.

    I would recommend before you do everything that is stated above you should run a system file checker first to see is there's any error on your computer

    Just type this command in cmd with admin rights

    SFC /Scannow

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer--