


How to Use PowerShell Script for Windows 10 0x80070643 Error?
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.
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).
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.
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.
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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

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

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











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.

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.

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.

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.

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.

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.

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

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.
