Windows 10: Windows 10 automatic disk maintenance during idle causing hard freeze.

Discus and support Windows 10 automatic disk maintenance during idle causing hard freeze. in Windows 10 Support to solve the problem; Specs: Windows 10 x64, Radeon HD 7970 Ghz ed 6GB x2 in Xfire [normally only one card is active], i7 3770k, Samsung 500 GB SSD, 16 GB Corsair RAM,... Discussion in 'Windows 10 Support' started by Contrabardus, Apr 15, 2016.

  1. Windows 10 automatic disk maintenance during idle causing hard freeze.


    Specs: Windows 10 x64, Radeon HD 7970 Ghz ed 6GB x2 in Xfire [normally only one card is active], i7 3770k, Samsung 500 GB SSD, 16 GB Corsair RAM, Several 1+ TB HDD. I have a SSD with the OS on it, and several large Seagate HDDs with other files. 1 1 TB, 1 700 GB, and 2 2 TB drives. I also have a few external drives, but they usually aren't plugged in unless I'm using them.

    What the title says. Windows 10 keeps locking up during idle automatic maintenance. If I leave my PC untouched for too long the idle maintenance starts and locks up the PC. The mouse cursor disappears and I have to hard reset to get it working again.

    All my drivers are up to date, as well as all my Windows updates. There's nothing I can update and this has been going on for several months now and has been persistent across several driver and OS updates. I have run a clean installation of Windows 10 twice and it still persists.

    It's also worth noting that it never freezes if I'm actively using the PC. As long as I'm inputting something, playing something , streaming something, or otherwise providing some sort of input, everything runs fine. It only ever happens when the system has been idle for a bit and left to sit for a few minutes. Usually around 10 to 15 minutes or so, sometimes it can go a bit longer, but it's always within an hour or so at the absolute most, usually within 30 minutes.

    I've already basically disabled every auto update process I can, including in my optimization and defrag menu, and set up power management to prevent sleeping and such trying to keep it from happening, but nothing like that helps. I've even tried just letting it run for a long while to see if it cleared up and that was a no go.

    I've run system and hardware monitors, tested my hardware, and everything comes up clean and tells me everything in my PC is working properly. My temps are good and I'm not getting spikes in GPU or CPU usage, all my drives show good ratings as well. I've run every kind of scan and repair my PC can do, including the various command prompt scans and boot scans, and they show no problems with anything. I've run several adware scans, virus scans, malware scans, and have combed through my processes trying to pinpoint this and everything comes up clean, yet I still get these constant freezes.

    WhoCrashed and Windows Event Viewer don't show any crashes or failures. The PC doesn't think anything is wrong or failing when it locks up. The only events that show up are failures caused by my forced reset powering down the PC itself.

    There is a workaround, but it's kind of a pain. If I start a video and leave it running in a loop it prevents the freezing. I have a video file that I keep on my desktop just for doing this when I have to step away, and it's an annoying way to deal with it as I sometimes forget and come back after a trip to the bathroom or kitchen to find my PC has locked up yet again.

    This automatic idle disk maintenance can't be bypassed as far as I know. There is no way to disable it or prevent it from kicking on.

    I can 'optimize' my SSD, and all my HDD say they're defragged in my defrag and optimization menu. I've run them all manually and it's done nothing to prevent this issue.

    However, there is an oddity there. There is an option to optimize the SSD and it works, but there are two partitions below that on the SSD and I cannot run optimization on either one. They are System Resources and an oddly named \\?\Volume{ followed by a long string of numbers and dashes that I assume is a system partition of some sort. They both say that Optimization has never been run and I cannot do it manually.

    The optimize button is there and I can click on it. It isn't greyed out, but clicking on it just gives me a spinning 'busy' icon for a moment and does absolutely nothing. There is no error message and crash reports don't show anything failing. It just fails and acts as if nothing has happened, and the drives continue to say that optimization has never been run and that both of these partitions need it.

    I'm thinking these two system partitions are what is causing the freeze. I'm sure it's the idle automatic disk maintenance causing this, because that's the only thing that would be going on, and running a video prevents it from kicking in, but that's the only way I know of that reliably prevents the PC from freezing outside of actually sitting there and using it. It's too frequent and consistent to be something like an update download or install causing it, and checking updates show everything is up to date, not to mention I tried disabling updates and it did nothing to prevent it. It also doesn't happen on a schedule or particular time, but any time I leave the PC running for too long without touching anything for 10-15 minutes or so.

    Even leaving something like a game running doesn't work. It even freezes if I play audio files in the same player I use for videos. Running video works to stop it, either streaming or using a video player program to play a video file from one of my drives, but nothing else I know of can reliably prevent it.

    Again, this isn't an issue if I'm actively doing something. It doesn't freeze if I'm actively playing a game or providing any kind of input. It only occurs if I leave it running and don't touch anything for a little while. I'm not talking about leaving the PC on over long periods of time here, this is something that occurs within a half hour of leaving it alone.

    Any ideas about what to do here? I've kind of run out of ideas and there doesn't seem to be anything I can do to fix this outside of just running a video when I need to step away for a few minutes to keep it from locking up. That's really just a band aid and I shouldn't have to do that to prevent these freezes.

    :)
     
    Contrabardus, Apr 15, 2016
    #1

  2. Windows 10 upgrade crashes while computer is idle.

    I have a computer with the same problem and it had the problem with Windows 8.1 (see below) but not 7. I have a AMD 990FX chipset.

    The problem has to do with drivers for the SATA controller. In Windows 8.1 I would use the Microsoft Default drivers and they worked but if I used the drivers provided by AMD or the the make of the MOBO they would crash the system during idle. In Windows
    10 I have found that Microsoft is using a new driver so it is also crashing during idle time.

    Why does it crash during idle? Simple, Automatic Maintenance. During automatic maintenance the system does all sorts of stuff from defraging your hard drive to updating windows. Most of the time there really is not a problem and Windows can get past it but
    it blue screens just to be safe. In Windows 8.1 I could work around this by stopping the task but in Windows 10 they removed that and made it impossible to stop. Or I could change the setting for when the system could blue screen but in Windows 10 I cant change
    it.

    If you would like to test, by default the system will start maintenance after being idle for 10min. Within the next 10-15min your system should crash.

    Now find a long video to play and make it full screen. For the duration of the video the system should not crash because Windows does not think it is idle. FYI, playing music will not work unless you have speakers that can shake the mouse.

    To sum up this is a problem with most AMD chipsets drivers and Windows automatic maintenance and as of right now I have not found a work around for it. For me I found a place that looks like you can stop it (Control Panel > Security and Maintenance) with
    a button "Stop Maintenance" but when I click on it nothing happens.
     
    dragon0365, Apr 15, 2016
    #2
  3. How to disable automatic maintenance permanently?

    How to disable automatic maintenance permanently? The task Idle Maintenance and Regular Maintenance does not present in Task Scheduler anymore in Windows 10.
     
    UltimateGTR, Apr 15, 2016
    #3
  4. Mooly Win User

    Windows 10 automatic disk maintenance during idle causing hard freeze.

    No real answers I'm afraid, just an observation.

    Its normal for the SSD not to allow the system reserved partitions to be trimmed. Mine is the same and I've also seen comments on that subject before. I don't think your problem lies there. Having said that, I don't know what the additional \\?\volume partition is. Shadow copies ? Maybe someone else has some clues on that. I've never seen anything like that on a standard clean install where Windows manages all the partitions needed for the OS i.e you haven't told it to put specific files somewhere other than default locations.

    Normally when maintenance runs, the very act of even moving the cursor or touching a key instantly stops the process. That's what I have found in all versions of Windows to date.
     
    Mooly, Apr 15, 2016
    #4
  5. Cliff S New Member
    You have disabled the task in Task Scheduler,

    Windows 10 automatic disk maintenance during idle causing hard freeze. [​IMG]


    well you can disable the service,

    Windows 10 automatic disk maintenance during idle causing hard freeze. [​IMG]


    and get a 3rd party defrag tool(most these days also trim/retrim SSDs too).
    Only partitions with drive letters can be optimized. those // named ones and recovery and such, cannot be or need to be as they are usually so small it wouldn't make a difference anyhow. Example Recovery 450MB, or EFI is 100MB...etc.
     
    Cliff S, Apr 15, 2016
    #5
  6. That doesn't seem to be happening on my system. As I said, this is only an issue when the system is idle. I've exhausted pretty much every other option.

    Something is failing and locking up when it tries to do maintenance, no idea what. I don't have any unusual processes running and my hardware isn't getting any weird spikes of activity. It all seems to be running optimally and then it just stops working suddenly. No crash dumps, no error messages. The mouse cursor disappears and I have a hard freeze for seemingly no reason when idle.

    I've been trying to troubleshoot this for months and have come up empty. It's nice that there's a workaround for it, so it's not completely disabling my PC or interfering with my use of it, but it is super annoying to deal with coming back to a locked up PC whenever I forget to run the video or am gone longer than I expect when I step away.
     
    Contrabardus, Apr 15, 2016
    #6
  7. Cliff S New Member
    One other reason for freezing during optimization can be if zipped or and other compressed files such as ISOs or system images, are being optimized to.
     
    Cliff S, Apr 15, 2016
    #7
  8. Windows 10 automatic disk maintenance during idle causing hard freeze.

    Recommendations on a decent defrag program?

    Also, is this the same thing as what runs when my system is idle?

    As I said, this is consistent and doesn't follow a schedule. It just hits me when I leave things alone too long regardless of when it is. The most frequently I've had this set up for is weekly, so it seems odd that it would hit me so frequently. This has hit me multiple times a day before. Manual defragging works fine as well with no issues.

    Something is kicking in when I leave things idle and causing the freeze. I'm pretty sure it's not a virus or corruption because I've scanned the hell out of everything on all my drives and come up with nothing. All my processes are also legit and I've disabled everything but the essentials for Windows in the past and still had this issue crop up. It's super annoying [thankfully no worse than that]. This has been going on for several months, so I don't think it's an update gone bad or something that slipped through the scanners. As I said, I've reinstalled my OS a couple of times trying to nuke this and it's still a problem. That suggests it's a Windows thing and not some well hidden malware I've picked up from somewhere.

    I've been at this for months and I've been pretty thorough and come up empty handed.

    I'll try disabling my scans [again] and see if that helps. Having a 3rd party defrag program won't hurt anything. More than happy to try that and give it a run.
     
    Contrabardus, Apr 15, 2016
    #8
  9. Mooly Win User
    Maintenance (that not what I call optimisation or defrag) usually occurs just once per 24 hours and is mostly Defender doing a quick scan. That's what I refer to as maintenance, and if that starts running when the PC idle (which is how it should be) then simply moving the mouse stops it or at the very least reverts it to a background process.

    Optimisation on an SSD (or defrag on an HDD) should be occurring very infrequently as indicated by the schedule. Once weekly is the default.
     
    Mooly, Apr 15, 2016
    #9
  10. Mooly Win User
    This is maintenance. Look where it says 'last run on'.


    Windows 10 automatic disk maintenance during idle causing hard freeze. [​IMG]
     
    Mooly, Apr 15, 2016
    #10
  11. Cliff S New Member
    It runs when the system is idle because if auto maintenance hasn't finished it's job, it carries on the next time the system is idle.
    If you leave your PC on all the time, I mean sleep or hibernate it, you could just try setting auto maintenance to another time when you are not using the PC(Control Panel\All Control Panel Items\Security and Maintenance\Automatic Maintenance), or force it once in a while and let the PC sit(go shopping, watch a game, whatever*Smile )so everything gets done.

    Windows 10 automatic disk maintenance during idle causing hard freeze. [​IMG]

    Then the next time it runs it won't take so long or need so many resources.
     
    Cliff S, Apr 15, 2016
    #11
  12. I see. Well, it says it's currently running.

    That's also part of my problem. I can't do that and run off to do something else because the PC freezes if I try after a few minutes if I leave it alone. I'd just come back and find it locked up again.

    This is most annoying when I'm downloading something like a game from Steam or something large like that. I have to babysit it, or leave a video running in a loop or I'll just come back to a frozen PC and a partial download.

    It's also annoying if I leave a game paused and come back to find it locked up. I've lost a few hours of gameplay to that because I paused to get up to do something and came back to an unresponsive PC. That happens less often, but it's still frustrating. When I say 'a few hours' that's cumulative, I save habitually enough that I usually only lose several minutes of a particular session when this happens. I'm pretty good about saving before I get up to do something because Bethesda games have beat good manual saving habits into my head over the years because Gambryo is such a crappy and unstable engine that likes to destroy it's own autosaves and quicksaves.

    Still, having to reboot the PC and reload a game and go over something I just did again is irritating.

    That said, my defrag menu says all of my drives are good. One is currently defragging, but it was only at like 4% to begin with. It's getting done, but something isn't working right when the system is idle and is hard freezing my PC.

    Edit: Defrag is done, Maintenance still says it's doing something. Also won't stop no matter how many times I click on 'stop maintenance'. I just get a split second of the 'busy' wheel and nothing happens. No option to 'change maintenance settings' is there either. The only clickable under Automatic Maintenance is 'stop maintenance' and it's ineffective.

    A restart doesn't change that either. Still says it's in progress and won't let me stop it from doing whatever it's doing.
     
    Contrabardus, Apr 15, 2016
    #12
  13. Cliff S New Member

    Windows 10 automatic disk maintenance during idle causing hard freeze.

    The safest defrag 3rd party defrag tool(not the fastest though) is Defraggler from Piriform, the developers of Ccleaner: Defraggler - File and Disk Defragmentation - Free Download

    The fastest, but in my opinion, too many extras, if you don't know how to use them properly, can mess something up. Plus it always phones home, and tries to get you to install their other software, is Smart Defrag from IOBIT: Best Free Disk Defrag Software - Smart Defrag by IObit
    If you choose this one, only simple defrag, and don't use advanced stuff, like boot defrag, moving certain files & folders to the beginning of the disk and such, just a good simple defrag is really all Windows needs.
     
    Cliff S, Apr 15, 2016
    #13
  14. Cool. I'll probably check both out and see which I like more. I can handle IObit and I'm familiar enough with their stuff that I know how to navigate around their bloatware. I'm also savvy enough to root out and nuke adware and such if it does get in. I also know better than to mess with stuff that's above my pay grade so to speak in regard to advanced settings for something like that.
     
    Contrabardus, Apr 15, 2016
    #14
  15. Cliff S New Member
    *Thumbs
     
    Cliff S, Apr 4, 2018
    #15
Thema:

Windows 10 automatic disk maintenance during idle causing hard freeze.

Loading...
  1. Windows 10 automatic disk maintenance during idle causing hard freeze. - Similar Threads - automatic disk maintenance

  2. Hard disk not found during windows 10 Installation

    in Windows 10 Software and Apps
    Hard disk not found during windows 10 Installation: I have had to replace my hard disk and during the windows 10 installation my hard disk is not found. Once i load RST drivers the drive does show up and I am able to continue with the installation but as soon as the installed restarts my pc it reverts back to the start of the...
  3. Hard disk not found during windows 10 Installation

    in Windows 10 Installation and Upgrade
    Hard disk not found during windows 10 Installation: I have had to replace my hard disk and during the windows 10 installation my hard disk is not found. Once i load RST drivers the drive does show up and I am able to continue with the installation but as soon as the installed restarts my pc it reverts back to the start of the...
  4. Freeze during automatic repair

    in Windows 10 Installation and Upgrade
    Freeze during automatic repair: Hello i had my computer on fast tuning in my bios without realizing it and then I notice my cpu was running too hot and too fast so I download a program from Intel that lets you over clock and I lowered the speed back down to close to its base and the temps returned to...
  5. Computer Hard Freezes when idle

    in Windows 10 BSOD Crashes and Debugging
    Computer Hard Freezes when idle: So, this issue occurred when my mother was using the computer while a game was saving. She told me that it shut off by itself, and saying that it turned black and rebooted. So, the main reason that's going on is that I've been experiencing my computer hard freezing when I...
  6. Hard freezing on idle

    in Windows 10 Support
    Hard freezing on idle: Ok so this is unbearable.My laptop freezes on idle in a few minutes,abd needs to be restarted. I tried fresh clean feature but it either freezes or doesnt work. I tried istalling one from the media thing and still it froze.I tried reseting the pc and it cant move past 1%. Is...
  7. Automatic Maintenance

    in Windows 10 Customization
    Automatic Maintenance: This feature was accessed about 45 minutes ago and is still running. How do I get it to complete the maintenance, please? https://answers.microsoft.com/en-us/windows/forum/all/automatic-maintenance/40119d17-0c2e-41b4-9982-19d4ec0cfe38
  8. automatic maintenance win 10

    in Windows 10 Customization
    automatic maintenance win 10: i want to disable this feature how to do it? as i have new ssd if this defragments my ssd it may be bad for my ssd https://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/automatic-maintenance-win-10/833e5b55-d483-407f-8341-4606edf1e27d
  9. Windows hard freezing when left idle.

    in Windows 10 Support
    Windows hard freezing when left idle.: Edit: Fixed. Turns out it was a bad/corrupted file in one of my games that was freezing the defrag process. It was slipping past the scans and the game in question was running perfectly fine. There's a more detailed explanation on page 3 of the thread. What the title says....
  10. Turn Off Hard Disk After Idle in Windows 10

    in Windows 10 Tutorials
    Turn Off Hard Disk After Idle in Windows 10: How to: Turn Off Hard Disk After Idle in Windows 10 How to Turn Off Hard Disk After Idle in Windows 10 The NVMe. Having your HDDs automatically turned off after being idle can help save energy and extend a PC's battery life. When you or anything tries to access a...