Home Computer Tutorials Computer Knowledge How to Use PowerShell Script for Windows 10 0x80070643 Error?

How to Use PowerShell Script for Windows 10 0x80070643 Error?

Apr 11, 2025 am 12:45 AM

Solve Windows 10 KB5034441 update error code 0x80070643: Using PowerShell Scripts

Windows 10 KB5034441 update failed with error code 0x80070643? Microsoft provides a PowerShell script that automatically updates WinRE partitions, thus fixing the BitLocker security feature bypass vulnerability (CVE-2024-20666). This article will guide you on how to use the script.

Problem background: BitLocker security vulnerability and KB5034441 update

The CVE-2024-20666 vulnerability allows an attacker to access encrypted data bypassing the BitLocker device encryption feature, affecting Windows 10, 11 and Windows Server 2022/2019/2016. Microsoft released the KB5034441 update on January 9, 2024 to solve this problem, but some users encountered 0x80070643 errors during the installation process, and sometimes there was a prompt message "Windows recovery environment service failed. (CBS_E_INSUFFICIENT_DISK_SPACE)". The root cause is usually insufficient recovery partition space and requires at least 250 MB of free space.

How to Use PowerShell Script for Windows 10 0x80070643 Error?

In addition to manually resizing partitions, Microsoft provides PowerShell scripts as an official solution.

Fix 0x80070643 error using PowerShell script

The PowerShell script provided by Microsoft can automatically update WinRE partitions, solving BitLocker encryption bypass vulnerability. Be sure to run the script with administrator privileges.

According to the Windows version, Microsoft provides two scripts:

  • PatchWinREScript_2004plus.ps1 : For Windows 10 2004 and later (including Windows 11)
  • PatchWinREScript_General.ps1 : For Windows 10 1909 and earlier

Select the script that suits your Windows version and follow these steps:

Step 1: Backup the system

Before making any changes, it is highly recommended that you back up your PC because there is a risk of damage to tweak your system partitions. It is recommended to use backup tools such as MiniTool ShadowMaker to create system images or back up important files.

Step 2: Download the secure operating system dynamic update package

Visit Microsoft Update Catalog to download the secure operating system dynamic update package that matches your system architecture (it is recommended to download the latest version).

How to Use PowerShell Script for Windows 10 0x80070643 Error?

Step 3: Get PowerShell Script

Find and copy PowerShell scripts for your Windows version in the Microsoft KB5034957 article.

Step 4: Save PowerShell Scripts

Open Notepad in Windows 10, paste the copied script, and click "File>Save As". Select "All Files ( . )" as the file type and save the file with the .ps1 extension.

How to Use PowerShell Script for Windows 10 0x80070643 Error?

Step 5: Run PowerShell Script

Right-click the saved PowerShell script and select Run as PowerShell.

Step 6: Enter the update package path

When the script is running, you will be prompted to enter the full path and file name of the downloaded secure operating system dynamic update package.

Step 7: Use the Show or Hide Updates tool

After running the script, use Microsoft's "Show or Hide Update" tool to unhide the KB5034441 update to prevent Windows Update from blocking the installation again and displaying the 0x80070643 error.

How to Use PowerShell Script for Windows 10 0x80070643 Error?

Summarize

If the KB5034441 update fails, in addition to manually adjusting the partition size, you can also use the PowerShell script provided by Microsoft to resolve the BitLocker encryption bypass vulnerability. Developing the habit of backing up data regularly can effectively protect your data security. Use backup tools such as MiniTool ShadowMaker to simplify the backup process.

The above is the detailed content of How to Use PowerShell Script for Windows 10 0x80070643 Error?. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Hot Topics

Java Tutorial
1655
14
PHP Tutorial
1254
29
C# Tutorial
1228
24
Fixdisk Windows 7: Check Your Hard Disk for Errors on Windows 7 Fixdisk Windows 7: Check Your Hard Disk for Errors on Windows 7 Apr 14, 2025 am 12:40 AM

If you suspect your hard drive encounters issues, you can check the drive for errors on Windows 7. This php.cn post talks about fixdisk Windows 7. You can follow the guide to check the hard drive for errors on Windows 7.

How to Install Windows X-Lite Optimum 11 23H2 Home/Pro via ISO How to Install Windows X-Lite Optimum 11 23H2 Home/Pro via ISO Apr 09, 2025 am 12:49 AM

Windows X-Lite Optimum 11 23H2 Home or Optimum 11 Pro could be your option if you need a custom lite system based on Windows 11 23H2. Go on reading and php.cn will show you how to download Optimum 11 23H2 ISO and install Pro or Home on your PC.

Effortles Fixes for Black Screen After Installing a Graphics Driver Effortles Fixes for Black Screen After Installing a Graphics Driver Apr 15, 2025 am 12:11 AM

Have you ever encountered a black screen after installing a graphics driver like an Nvidia driver in Windows 10/11? Now in this post from php.cn, you can find a couple of worth trying solutions to the Nvidia driver update black screen.

Is Core Isolation Blocked by ew_usbccgpfilter.sys? Here Are Fixes! Is Core Isolation Blocked by ew_usbccgpfilter.sys? Here Are Fixes! Apr 13, 2025 am 12:47 AM

Many SurfaceBook users report that they meet the “core isolation blocked by ew_usbccgpfilter.sys” issue on Windows 11/10. This post from php.cn helps to fix the annoying issue. Keep on your reading.

Win 11 Builds 22621.3078 and 22631.3078 (KB5034204) Released Win 11 Builds 22621.3078 and 22631.3078 (KB5034204) Released Apr 05, 2025 am 01:35 AM

Want to know the new improvements and bug fixes in Windows 11 KB5034204? Want to how to get Windows 11 KB5034204 on your device? In this post, php.cn Software will introduce the information you want to know.

Advanced Tips for Windows   P Not Working on Windows Advanced Tips for Windows P Not Working on Windows Apr 11, 2025 am 12:49 AM

You must be familiar with the Windows P shortcut if you have more than one monitor. However, the Windows P not working properly might happen occasionally. If you are facing this problem, this post from php.cn can help you indeed.

How to Turn Off Tips and Suggestions Notifications in Windows? How to Turn Off Tips and Suggestions Notifications in Windows? Apr 09, 2025 am 12:46 AM

Tips and Suggestions Notifications is a new design of Windows 11. It will give you suggestions and tips on some new features. But some of you may be bothered by the popup tips. You can read this post from php.cn to learn how to turn off tips and sugg

Difference Between RAID Recovery and Hard Drive Recovery Difference Between RAID Recovery and Hard Drive Recovery Apr 17, 2025 am 12:50 AM

Data recovery is always a heated topic. To successfully restore data from your device, you should know how it stores data. You can learn the difference between RAID recovery and hard drive recovery from this php.cn post.

See all articles