System Tutorial
Windows Series
What to do if Windows prompts '0x8007045b' error Win10/Win11 system update fault repair
What to do if Windows prompts '0x8007045b' error Win10/Win11 system update fault repair
The 0x8007045b error indicates that the system is shutting down/restarting but the service is forcibly called. You need to perform the following steps: disable third-party interference services, reset the firewall and BFE services, run SFC/DISM to repair system files, perform system restore in Windows RE, and modify the TrustedInstaller timeout threshold to 1800 seconds.

If you receive a "0x8007045b" error prompt when performing updates, turning on the firewall, starting services, or running system restore in Windows 10 or Windows 11, this error corresponds to the system-level constant ERROR_SHUTDOWN_IN_PROGRESS , indicating that the system is in the process of shutting down, restarting, or shutting down, but related components (such as TrustedInstaller, CBS, EFS, or firewall services) are still forcibly called, causing the operation to be rejected. Here are the steps to resolve this issue:
1. Stop interference from third-party services and disable unnecessary startup items
Some third-party security software, management agents (such as Lenovo NetInst MgmtAgnt.exe), remote control tools or drivers will actively trigger a restart during system upgrade or service startup, thus interrupting the CBS session and triggering this error. Such services need to be located and terminated.
1. Press Win R and enter msconfig , switch to the "Services" tab, check "Hide all Microsoft services", and click "Disable All".
2. Switch to the "Startup" tab, click "Open Task Manager", and right-click on the "Startup" page one by one to disable suspicious items (especially items containing keywords such as "mgmtagnt", "netinst", "firewall", "guard", and "shield").
3. Restart the computer and verify whether there is still automatic restart behavior in safe mode; if no error recurs, it means the source of interference has been located.
2. Reset Windows Firewall and Basic Filtering Engine Services
When the firewall service (MpsSvc) or its dependent service Base Filtering Engine (BFE) is in an abnormal shutdown state or has residual lock files, the 0x8007045b error will occur. The service status and log cache need to be cleared manually.
1. Run the command prompt as an administrator and execute the following commands in sequence:
2. net stop mpssvc
3. net stop bfe
4. Enter the path C:\WINDOWS\system32\logfiles\firewall\ and delete all files and subfolders in this directory.
5. Execute net start bfe && net start mpssvc to start the service, and check whether the service status is "Running".
3. Perform system file verification and CBS log repair
After the CBS (Component Based Servicing) module fails to update, damaged component databases or pending transactions may remain, causing subsequent operations to be judged as "shutdown in progress." SFC and DISM work together to restore underlying image consistency.
1. Run the command prompt as an administrator, enter sfc /scannow and press Enter, and wait for the scan to complete.
2. After the scan is completed, immediately execute DISM /Online /Cleanup-Image /RestoreHealth to ensure that the Windows image is not damaged.
3. Restart the system after completion to avoid artificial interruption or shutdown during DISM operation.
4. System restore failure caused by bypassing EFS encryption
If the error occurs during system restore and the restore point contains EFS encrypted files, the restore program will report error 0x8007045b because it cannot call the disabled EFS service. Restore must be performed in a Windows RE environment to ensure that the EFS service is available.
1. Run the command prompt as an administrator, enter reagentc /boottore and press Enter to enable Windows RE startup.
2. If it prompts "Windows RE is disabled", run reagentc /enable first, and then repeat the previous step.
3. Restart the computer, enter the Windows RE environment, and select "Troubleshoot" → "Advanced Options" → "System Restore".
4. Select the restore point created during the non-encryption period (or confirm that the restore point does not contain user-encrypted documents) and complete the restore process.
5. Modify the TrustedInstaller timeout threshold to alleviate CBS zombies
When CBS waits for a resource response for a long time, TrustedInstaller's default 15-minute timeout mechanism will trigger a forced restart, causing the installation to roll back and leaving 0x8007045b error traces. Extending the timeout can avoid misjudgments.
1. Open the Registry Editor (regedit) and navigate to:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing
2. Right-click on the blank space on the right → New → DWORD (32-bit) value and name it HangDetectTimeout .
3. Double-click the value, set the numerical data to 1800 (unit is second, that is, 30 minutes), and select "Decimal" as the base.
4. Close the registry editor, restart the computer and try the system update or feature enablement operation again.
The above is the detailed content of What to do if Windows prompts '0x8007045b' error Win10/Win11 system update fault repair. For more information, please follow other related articles on the PHP Chinese website!
Hot AI Tools
Undress AI Tool
Undress images for free
AI Clothes Remover
Online AI tool for removing clothes from photos.
Undresser.AI Undress
AI-powered app for creating realistic nude photos
ArtGPT
AI image generator for creative art from text prompts.
Stock Market GPT
AI powered investment research for smarter decisions
Hot Article
Popular tool
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
20570
7
13669
4
How does CSS solve the problem that Tailwind style cannot penetrate in Vue scoped_Use: deep selector
Apr 13, 2026 pm 02:27 PM
:deep() is the only compliant way under Vue3 Vite/webpack to apply Tailwind class names inside sub-components. It must be used with scoped and cannot be used for global styles. Its principle is to penetrate scoped attribute selector isolation, but it requires pre-anchor selectors, relies on preprocessor support, and has maintenance and performance risks.
How to download the PC version of Conch AI Minimax desktop client installation and use guide [Full strategy]
Apr 15, 2026 pm 10:12 PM
The desktop version of Conch AI requires Windows 1022H2/macOS12.0 and x64/AppleSilicon architecture. Only the official website https://hailuoai.com provides genuine installation packages. Disable third-party simulator shells. If the configuration is abnormal, rename the HeluoAI folder to fix it.
How to install and manage mysql on MacOS_One-click deployment and service startup using Homebrew
Apr 17, 2026 pm 04:51 PM
Homebrew cannot connect after installing MySQL because the service has not been started. You must execute brewservicesstartmysql to enable the mysqld daemon. My.cnf is not generated by default. You need to manually create it in /usr/local/etc/my.cnf (Intel) or /opt/homebrew/etc/my.cnf (AppleSilicon) and restart the service to take effect.
Advanced Application of Navicat Model Tool: How to Print Pagination and Adaptive ER Diagram_Underlying Analysis
Apr 15, 2026 pm 02:27 PM
NavicatER diagram export is paginated and needs to be manually grouped into logical groups and then exported separately; PNG/SVG export must be triggered from the main menu and anti-aliasing checked; AutoLayout failure is often caused by the table being locked and needs to be unlocked in batches; PDF is blank mostly because the font is not embedded, so the system basic font should be used instead and the model page should be restarted.
CodeGeeX quickly realizes HEX/RGB/HSL mutual conversion [color tool]
Apr 14, 2026 pm 01:27 PM
It is necessary to design a three-color interconversion tool based on CodeGeeX code generation capabilities, including five methods: functional conversion, class encapsulation, prompt word driver, Web component integration and cross-language transplantation.
How to adjust the default color matching of the chart generation tool_Chart.js integration and theme alignment
Apr 17, 2026 pm 09:33 PM
The default color matching of Chart.js is modified in Chart.defaults. v3 uses Chart.defaults.color and other global configurations, and v2 uses Chart.defaults.global. After the instance is initialized, it will no longer respond to defaults changes. You must set or manually update the existing instance before creating the chart.
How does mysql export the permission scripts of all users in batches_using the pt-show-grants tool
Apr 17, 2026 pm 04:42 PM
pt-show-grants is a tool in PerconaToolkit for exporting MySQL user GRANT statements. It can generate permission scripts with one click but cannot be executed directly on a new server. It exports authorization records as is and does not verify syntax compatibility, handle version differences or user conflicts, and requires manual inspection of IDENTIFIEDWITH, roles, global permissions and other adaptation issues.
How to Hide Extension's Puzzle Icon in Firefox_Firefox Toolbar Streamlined
Apr 15, 2026 pm 09:45 PM
There are five ways to hide the puzzle-shaped extension icon area in the upper right corner of the Firefox browser: 1. Disable the extension recommendation entry; 2. Drag the icon out of the custom toolbar; 3. Use userChrome.css to force hide it; 4. Automatically hide it after disabling all extensions; 5. Close the recommended block to weaken the visual presence.





