Skip to content

Commit 96da99f

Browse files
authored
Merge pull request #9454 from MicrosoftDocs/v-debapsaha-6941
updated-6941
2 parents e5fea00 + 84b089a commit 96da99f

File tree

3 files changed

+79
-0
lines changed

3 files changed

+79
-0
lines changed

support/azure/virtual-machines/windows/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,8 @@
236236
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-code-0x8024002e.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
237237
- name: Error code 0x80070490
238238
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80070490.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
239+
- name: Troubleshoot Shutdown in Progress Windows Error 0x8007045b
240+
href: ../../../windows-server/installing-updates-features-roles/troubleshoot-error-shutdown-in-process.md
239241

240242
- name: My VM is not booting
241243
items:
60.3 KB
Loading
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
---
2+
title: Troubleshoot Shutdown in Progress Windows Error 0x8007045b
3+
description: Learn how to resolve Windows update error 0x8007045b that indicates that access to an unmanaged server isn't allowed.
4+
ms.date: 08/01/2025
5+
manager: dcscontentpm
6+
audience: itpro
7+
ms.topic: troubleshooting
8+
ms.reviewer: scotro,mwesley
9+
ms.custom:
10+
- sap:windows servicing,updates and features on demand\windows update fails - installation stops with error
11+
- pcy:WinComm Devices Deploy
12+
---
13+
# Troubleshoot "Shutdown in Progress" Windows error 0x8007045b
14+
15+
## Symptoms
16+
17+
When you install a Windows update, or during an OS upgrade, error code 0x8007045b (ERROR_SHUTDOWN_IN_PROGRESS) is logged in the Component-Based Servicing (CBS) log, ```output(%windir%\logs\CBS\CBS.log)```, or in the Setact log, ```output%windir%\Windows~BT\sources\panther\setupact.log```.
18+
19+
These log entries indicate that the installer or a component detected an ongoing shutdown process. The troubleshooting steps in this article can help you resolve this issue effectively.
20+
21+
### Symptom 1: Unresponsive installation
22+
23+
The installation might experience a 15-minute time-out that causes the Trusted Installer to initiate a restart because of "CBS hang" detection. Upon restart, the installation is typically rolled back. When this issue occurs, the following entries are logged in the CBS log:
24+
25+
**%windir%\logs\CBS\CBS.log**
26+
27+
```output
28+
Info CBS Setting HangDetect value to 3
29+
Info CBS Startup: will attempt a restart to recover.
30+
Info CBS Failed restart attempt. [HRESULT = 0x8007045b - ]
31+
Info CBS Startup: restart attempt failed, allowing the user to logon.
32+
Info CBS Startup: A system shutdown was initiated while waiting for startup to complete
33+
```
34+
35+
**Error 0x8007045b**
36+
37+
```outputERROR_SHUTDOWN_IN_PROGRESS winerror.h```: A system shutdown is in progress.
38+
39+
### Symptom 2: Third-party service interference
40+
41+
A third-party service triggers a restart during a Windows OS upgrade. When this issue occurs, the following entry is logged in the Setupact log:
42+
43+
**%windir%\Windows~BT\sources\panther\setupact.log**:
44+
45+
```output
46+
Info MIG Instantiating an ICbsSession9 interface
47+
Error MIG Failed to create CBS session 9. hr = 0x8007045B[gle=0x000003f0]
48+
%systemdrive%\$WINDOWS.~BT\Sources\Rollback\evtlogs:
49+
Information MM/dd /YYYY HH:mm:ss PM User32 1074 None
50+
The process c:\program files (x86)\netinst\mgmtagnt.exe (MACHINENAME) has initiated the restart of computer {MACHINENAME} on behalf of user NT AUTHORITY\SYSTEM for the following reason: Other (Unplanned)
51+
Reason Code: 0x0 Shutdown Type: restart Comment:
52+
Information MM/dd /YYYY HH:mm:ss PM EventLog 6006 None
53+
The Event log service was stopped.
54+
```
55+
56+
## Cause
57+
58+
This behavior is by design. It's not an error but an exception. This issue commonly occurs if the installation stops responding or experiences interference from a third-party component.
59+
60+
:::image type="content" source="../../azure/virtual-machines/windows/media/windows-could-not-configure-system/windows-error-configure.png" alt-text="Windows error":::
61+
62+
## Resolution
63+
64+
To resolve this issue, use the following methods, as appropriate:
65+
66+
- Resolution 1: Nonresponsive system
67+
68+
If the system stops responding, try to increase the TrustedInstaller time-out value. For more information, see the following Azure DevOps Blog article:
69+
70+
[Update Installation Error 0x800f0920](https://supportability.visualstudio.com/AzureIaaSVM/_wiki/wikis/AzureIaaSVM/1511786/Update-Installation-Error-0x800f0920-CBS_E_HANG_DETECTED?anchor=mitigation-1)
71+
72+
- Resolution 2: Third-party service interference
73+
74+
Review the Setupact.log file to determine which third-party service causes the restarts. To prevent further system restarts, disable or stop the identified service.
75+
76+
> [!NOTE]
77+
> Error code 0x8007045b can be safely ignored. Your troubleshooting focus should be on identifying the original error that precedes this code (error code 0x800f0920).

0 commit comments

Comments
 (0)