Computer issues & fixes
Hard disk keeps waking up
I have a sleep time set for my hard drive in the Windows power settings. When not in use, I unmount the volume using mountvol. However, every hour the drive would power on again. I tried various things:
- Setting the drive offline using disk management or diskpart.
- The RevoSleep tool.
- Uninstalling Intel Rapid Storage drivers.
- Disabling the drive in the Device Manager - this always powered up the drive.
- Various power management related UEFI settings.
- Using smartctl to power down the drive on command. This worked, but it would still power up again.
None of these worked. Eventually I started poking around the Event Viewer and found the log "Microsoft\Windows\Storage\Storport\Health" with entries such as
SMART statistics for Storport Device (Port = 0, Path = 0x1, Target = 0x0, Lun = 0x0). Corresponding Class Disk Device Guid is {393d07a0-c70a-1fd8-c4cd-7fc6fdab3fc6}.
Now that I knew the problem I could search more specifically and found this. Solution:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\StorPort] "TelemetryPerformanceEnabled"=dword:00000000 "TelemetryErrorDataEnabled"=dword:00000000 "TelemetryDeviceHealthEnabled"=dword:00000000 "LogControlEnable"=qword:00000000
Update: although this helped, my hard drive is still occasionally woken up by a Windows Update scheduled task. I haven't been able to find out the logic as to when it's scheduled.