3 ms·
It's not Windows of course, but you might look at hdparm [0] which does a similar thing on Linux. It's a wrapper around ioctls, which led me to 'Winsock IOCTLS'
by OJFord 10y ago
It's not Windows of course, but you might look at hdparm [0] which does a similar thing on Linux. It's a wrapper around ioctls, which led me to 'Winsock IOCTLS' [1] which is maybe helpful.
`GetPwrDiskSpindownRange` page [2] has s potentially useful remark:
> Starting with Windows Vista, power management configuration of the system's hard disk drives is controlled through the GUID_DISK_SUBGROUP power settings subgroup. Use the PowerEnumerate function to enumerate individual settings.
For more information on using PowrProf.h, see Power Schemes.
But all I did to find that was search "spindown" on MSDN, so I'm sure you've seen that already.
[0] - http://manpages.ubuntu.com/manpages/zesty/en/man8/hdparm.8.htm http://manpages.ubuntu.com/manpages/zesty/en/man8/hdparm.8.h...
[1] - https://msdn.microsoft.com/en-us/library/windows/desktop/bb736550(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/bb7...
[2] - https://msdn.microsoft.com/en-us/library/windows/desktop/aa372692(v=vs.85).aspx https://msdn.microsoft.com/en-us/library/windows/desktop/aa3...
- devnonymous 10y agoSeems like there exists a win32 hdparam port http://axh.mbnet.fi/hdparm-win32.html http://axh.mbnet.fi/hdparm-win32.html Fwiw hdd spin up / spin down is an ACPI function and you might want to research ACPI tools to see if that's possible using these tools.