<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Jack Ge</title>
    <description>The latest articles on DEV Community by Jack Ge (@mhcc33r).</description>
    <link>https://dev.to/mhcc33r</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4160884%2F68795f45-8814-40c5-8f7c-9ed4e2b6f313.png</url>
      <title>DEV Community: Jack Ge</title>
      <link>https://dev.to/mhcc33r</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mhcc33r"/>
    <language>en</language>
    <item>
      <title>Windows goes crazy using the disk when the screen is off, and I figured out why</title>
      <dc:creator>Jack Ge</dc:creator>
      <pubDate>Tue, 06 Oct 2026 06:41:45 +0000</pubDate>
      <link>https://dev.to/mhcc33r/windows-goes-crazy-using-the-disk-when-the-screen-is-off-and-i-figured-out-why-2ij8</link>
      <guid>https://dev.to/mhcc33r/windows-goes-crazy-using-the-disk-when-the-screen-is-off-and-i-figured-out-why-2ij8</guid>
      <description>&lt;p&gt;When the Windows system screen turns off, it crazily uses the HDD. I can hear my Hitachi enterprise hard drive making frequent seeking noises. But when I turn the screen back on and try to check which app is reading the disk through Task Manager, everything goes back to normal. It stops using the disk.&lt;/p&gt;

&lt;p&gt;At first, I thought it was Windows 10's search service indexing in the background. So I turned off the search service. But that didn't solve it. This program is like playing hide and seek—it goes crazy scanning the disk only when the screen is off, and goes back to normal as soon as the screen is on.&lt;/p&gt;

&lt;p&gt;I want to know which program is doing this. I used the Process Monitor tool from the Sysinternals suite to monitor any program operating on files. I finally found out that while my screen was off, it was svchost.exe scanning my G drive.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy9bvm7e6wtscnqo7y6c2.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fy9bvm7e6wtscnqo7y6c2.JPG" alt="1" width="799" height="420"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;svchost.exe itself is a system host process, and other programs operate on the disk through it. I found this process in Task Manager by its PID 8408 and jumped to the service.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbjn48uw7vduyeawy005j.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fbjn48uw7vduyeawy005j.JPG" alt="2" width="799" height="239"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The name of this service is &lt;code&gt;defragsvc&lt;/code&gt;. It's a built-in disk optimization tool in Windows that automatically takes care of hard drive maintenance in the background. It regularly defragments the disk, reorganizing scattered file fragments into contiguous blocks to improve read and write performance. This process involves a lot of read/write head movements and data shifting, which makes the hard drive sound quite noisy.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fak0a3no4ik6fd4sjc5kl.JPG" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fak0a3no4ik6fd4sjc5kl.JPG" alt="3" width="800" height="451"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When the user turns off the screen, it scans in the background at full power. When the user turns on the screen, it stops working so it doesn’t affect the user’s experience.&lt;/p&gt;

</description>
      <category>windows</category>
      <category>debugging</category>
      <category>beginners</category>
    </item>
  </channel>
</rss>
