The /kernel parameter directs the boot loader to load an alternate kernel file for the operating system.





Specifies a kernel file. The specified file must be located in the %SystemRoot%\system32 directory, and its file name must conform to 8.3−character format.


The /execute option is supported only on Windows Server 2003 with SP1 and Windows XP with SP2. On Windows Vista and later versions of Windows, use the Kernel element in BCDEdit.

For computers with less than 4 GB of memory, the default kernel file is ntoskrnl.exe. For computers with 4 GB or more of memory, the default kernel file is ntkrnlpa.exe.

Do not use this parameter unless you have deliberately installed a different kernel. You can use this parameter to test a kernel update, or use it with the /hal parameter to load a partial checked build installation.


multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect /hal=KRNLtest.dll

Bootcfg Command

bootcfg /raw "/kernel=KRNLtest.dll" /A /ID 1



Send comments about this topic to Microsoft