bootexecute - what is autocheck for?

4

1

What does the "autocheck" in the default data of the registry value HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\bootexecute (Data is: autocheck autochk *) do? There's no autocheck.exe on a current (checked XP, Win7, Vista) standard Windows install, so it can't be launching an executable(?) I know what autochk does.

myname

Posted 2012-07-22T10:04:24.460

Reputation: 143

Answers

2

It's an arbitrary name associated with the boot-time command autochk *.

The BootExecute value is a REG_MULTI_SZ, i.e., it can contain multiple separate strings. However, if you double-click it in the Registry Editor you will notice that the default value is not three separate strings, autocheck, autochk and * but rather a single string autocheck autochk *.

Each string in BootExecute contains an arbitrary descriptive name followed by the command to execute.

Harry Johnston

Posted 2012-07-22T10:04:24.460

Reputation: 5 054

1

Autochk is standard Windows native application. AFAIK, is always present in fresh install of Windows XP.

Explain from Microsoft:

The Autochk (Autochk.exe) utility is a version of Chkdsk. For more information about Autochk, see the Windows XP Professional Resource Kit. To do this, visit the following Microsoft Web site: Troubleshooting Disks and File Systems

Xearinox

Posted 2012-07-22T10:04:24.460

Reputation:

Yes, that's why I'm asking about autocheck, not autochk. ;) – None – 2012-07-22T12:40:19.190

1

From here. "autocheck" tells windows to run "autochk *" after previous illegal shutdown :)

By default, its value is "autocheck autochk *" - this tells Windows to run Autochk on any drive whose dirty bit is set

Maximus

Posted 2012-07-22T10:04:24.460

Reputation: 19 395

0

Imho, this runs some internal system checks. For example, when there is a folder C:\Program\, windows warn about it (because it interfere with C:\Program Files\).

Maximus

Posted 2012-07-22T10:04:24.460

Reputation: 19 395

Not sure I understand. I just tried to create a C:\program folder and didn't get a warning on my XP. Is this internal warnings for the OS, not the user? – None – 2012-07-22T10:18:47.400

Was seen this warning (dialog box, suggesting to rename folder to Program1) in Windows 7. And this warning appears sometimes after booting. – Maximus – 2012-07-22T10:23:06.373

Thanks! I hadn't rebooted, I see what you mean now. :) This message still appears though, when you remove autocheck from the bootexecute value. – None – 2012-07-22T10:28:26.320

Can you check, what process shows this warning? I was lazy to do that. May be "default value" is informational for user only, and OS runs checks everytime? :) – Maximus – 2012-07-22T10:34:30.010

The popup is from explorer.exe and a procmon log shows explorer first accessing C:\program and then testing if c:\program1 exists. explorer was launched by userinit. – None – 2012-07-22T10:45:18.167