Home >System Tutorial >Windows Series >How to solve win10 prompt 0xc0000142

How to solve win10 prompt 0xc0000142

小老鼠
小老鼠Original
2024-04-30 14:09:201216browse

To resolve Windows 10 error code 0xc0000142 (Cannot access BCD storage), you can perform the following steps: Repair BCD storage: Use the command prompt to run the bootrec command. Rebuild the BCD store: Use the command prompt again to run the bcdedit command. Repair the boot sector: Enter the bootsect command. Scan and repair damaged files: Run sfc /scannow. Reset BIOS settings: Select "Load Default Settings" in the BIOS menu.

How to solve win10 prompt 0xc0000142

How to resolve Windows 10 error code 0xc0000142

When Windows 10 cannot access the Boot Configuration Data (BCD) storage , error code 0xc0000142 will appear. This prevents the operating system from starting correctly. Here are the steps on how to resolve this issue:

Step 1: Repair BCD Storage

  • Start the computer using the Windows 10 installation media or recovery disc.
  • Select the "Repair your computer" option.
  • Click "Troubleshoot" > "Advanced Options" > "Command Prompt".
  • In the command prompt, enter the following command and press Enter:
<code>bootrec /fixmbr
bootrec /fixboot
bootrec /rebuildbcd</code>

Step 2: Rebuild the BCD Storage

If Step 1 does not work, you need to rebuild the BCD store:

  • In the command prompt, enter the following command and press Enter:
<code>bcdedit /export C:\bcdbackup
bcdedit /deletevalue {default} safeboot
bcdedit /deletevalue {default} bootstatuspolicy
bcdedit /deletevalue {default} recoverysequence
bcdedit /deletevalue {default} bootmenupolicy
bcdboot C:\Windows /l en-us /s C: /f ALL</code>

Step 3: Repair the boot sector

If neither step 1 nor step 2 works, you may need to repair the boot sector:

  • In the command prompt, enter the following command and Press Enter key:
<code>bootsect /nt60 Sys
bootsect /nt60 Sys /mbr</code>

Step 4: Scan and Repair Corrupted Files

  • In the command prompt, enter the following command and press Enter Key:
<code>sfc /scannow</code>

Step 5: Reset BIOS Settings

  • Turn off the computer and unplug all peripherals.
  • Restart your computer and immediately press the BIOS Setup key (usually F1, F2, or Del).
  • Find the "Load Default Settings" option and select it.
  • Save changes and exit BIOS.

These steps are usually enough to resolve Windows 10 error code 0xc0000142. If you're still experiencing problems, you may need to reinstall your operating system or contact Microsoft Support for further assistance.

The above is the detailed content of How to solve win10 prompt 0xc0000142. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn