How to prevent a drive checking (`autochk`) on a Windows 10 boot?

chkntfs /x <drive>:

It will add the /k:<drive> option to the autochk command declared in the Windows Registry at the path HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\BootExecute.

The /k:` option is preserved upon reboot, so it is a permanent solution.

E.g.:

chkntfs /x C:

It will make the BootExecute registry key as follows:

autocheck autochk /k:C *

2023-03-15--01-57-39

2023-03-15--01-57-05

social.msdn.microsoft.com/Forums/en/embeddedwindowseefs/thread/d90a4d12-6050-4c26-9d6b-c10d3a4ca2c6