Defrag runs constantly

Anonymous
2023-11-27T07:50:16+00:00

Win10 64. Defrag runs constantly, grinding away at my hard drives for no reason. The both drives are 0% fragmented, except for system reserved files which are 40% fragmented and defrag will not touch them. The Defrag is OFF, how do I stop the system running defrag every time the PC is idle for more than 60 seconds?? How do I defrage the system files which need defragging?

Windows for home | Windows 10 | Performance and system failures

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
_AW_ 69,496 Reputation points Volunteer Moderator
2023-12-12T02:27:59+00:00

I'm referring to how your computer is crashing and has to be restarted, usually multiple times a day. It's either you or someone is force restarting by switching off the power or pressing the reset button, or the power supply is faulty.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

47 additional answers

Sort by: Most helpful
  1. _AW_ 69,496 Reputation points Volunteer Moderator
    2023-11-28T22:33:54+00:00

    Right click the start button and select Windows Powershell.

    Copy and paste in the following code > press enter

    Get-ScheduledTask | ? {$_.Actions.Execute -imatch 'defrag'} | ft TaskPath, TaskName, State -auto
    

    If that shows any tasks, post the output or a screenshot of the output.

    Was this answer helpful?

    0 comments No comments
  2. DaveM121 934.5K Reputation points Independent Advisor
    2023-11-28T17:19:33+00:00

    This is the only other option I can think of, because I cannot find any setting or registry entry that is causing the Disk Defrag service to be running in the background.

    You could try taking ownership of that file so you can rename it using the Take Ownership process on this link:

    https://www.tenforums.com/tutorials/3841-add-ta...

    ________________________________________________________

    Standard Disclaimer: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.

    .

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2023-11-28T16:29:09+00:00

    got into safe mode, tried to rename dfrgui.exe as dfrgui.old, but got failure pop up, saying I did not have the access and only 'trusted installer' could change the file.

    Was this answer helpful?

    0 comments No comments
  4. DaveM121 934.5K Reputation points Independent Advisor
    2023-11-28T09:57:01+00:00

    Thank you for that screenshot, that indicates there is no entry in your registry causing that service to start and run constantly in the background, this is a real mystery.

    Boot your PC into Safe Mode

    Open File Explorer, then go to this folder:

    C:\Windows\System32

    Scroll down to find: dfrgui.exe

    Right click that file and select Rename, then rename it to dfrgui.old

    Restart your PC

    Then wait to test if the defrag service is running or if you get any error about that service.

    Was this answer helpful?

    0 comments No comments