HDDs Slowing an SSD boot, autochk question

csf60

Honorable
May 11, 2012
360
0
10,860
Hello to every reader. I have Windows installed in an SSD and another HDD for storage. I noticed my boot times slow to 55 seconds when plugging the 3TB HDD up from 30 seconds with only the SSD plugged. I have boot traced both cases and when I plug the HDD, autochk.exe is responsible for the delay inside the Session Manager subsection of the boot process. It takes too long checking that HDD. I have seen in plenty of forums people with this problem but I have seen no solution.

My questions are: is there any way to avoid autochk from running every startup? What does autochk exactly do to take so long?
When I go to the Session Manager registry entry: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
and look in the BootExecute entry, it is at the default "autocheck autochk *". I have tried to exclude every drive from being checked by writing "autocheck autochk /k C: /k D: *". I have also tried to use the command line "chkntfs /X" to disable autochk in those drives, to no avail. The only thing that worked is completely leaving blank the BootExecute entry, but I have been told this is not advisable and Windows even restores it to the default anyway after some time, so it's not a good solution.

System specs if they matter:
OCZ Agility 3 120GB
Seagate Barracuda 7200.14 3TB
Asrock X79 Extreme4 with i7-3930k (4.2GHz@1.28V) and 16GB DDR3 at 2133-9-11-11-31@1.65V. (Prime large 8h, memtest 200%, IBT 8GB 20 passes)
Corsair TX650W
Windows 7 Enterprise SP1 x64 (Updated to date)

Avoid telling me to (because I already did):
- Check BIOS is in AHCI
- Check drivers are up to date, with Intel RST, etc.
- Update to latest SSD firmware.
- Try a fresh Windows install.
- Try plugging the drives in different SATA ports, even mix SATA3 and 6. What I did not try is the AsMedia SATA ports, but I honestly doubt that will make a difference in autochk accessing the disk.
- Using the "Fsutil dirty query" I have also checked the dirty bit flag is not set in any drive.

Big thank you to anyone who helps me.
 
Solution
Event viewer tells me SMSSinit is degrading my boot time by 20 something seconds, and when I boot trace it, it is autochk.exe inside that SMSSinit the one program that is delaying everything else 20 seconds .
Closing all programs before shutdown did not work.
I have the windows "my documents" folder moved to the HDD because it takes too much space in my SSD. I tried now moving it back to the SSD but it didn't show any improvement.
First i thing the right format for disabling the autochk for specific drives is "autocheck autochk /k:CD *"
The root problem may be, that the shutdown process doesn't work right and doesn't close the file system in the HDD or something like that. That happens for example, if an open file can not be closed properly.
 

csf60

Honorable
May 11, 2012
360
0
10,860
I tried the first too, in fact I tried "autocheck autochk /k:ABCDEFGHI...........Z *"
About the second, how can I check if that's the problem and/or fix it?

EDIT: I forgot to say that I scheduled a boot CHKDSK in both drives and they had no errors.
 

csf60

Honorable
May 11, 2012
360
0
10,860
Event viewer tells me SMSSinit is degrading my boot time by 20 something seconds, and when I boot trace it, it is autochk.exe inside that SMSSinit the one program that is delaying everything else 20 seconds .
Closing all programs before shutdown did not work.
I have the windows "my documents" folder moved to the HDD because it takes too much space in my SSD. I tried now moving it back to the SSD but it didn't show any improvement.
 
Solution

Bert Pieke

Reputable
May 4, 2014
1
0
4,510


I have the exact same situation - traced the boot and Autochk sits still, doing nothing for 30 seconds while
the disk light is on, on my computer case. I cannot tell if Autochk is waiting or communicating with the drive,
but in the Procmon trace, there is a 30 second gap with no action..
With two SSDs installed, boot was lightning fast.. adding a WD 1TB disk drive and it takes 30+ seconds..