Skip to content

Commit 70ae2e4

Browse files
committed
add context toc
1 parent 6a3d4ee commit 70ae2e4

2 files changed

Lines changed: 54 additions & 54 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@
224224
href: in-place-system-upgrade.md
225225
- name: Upgrade VM to contain more than 64 vCPUs
226226
href: vm-cannot-upgrade-64-vcpu.md
227+
- name: Known errors and issues
228+
items:
229+
- name: Troubleshoot Windows Update Error 0x80070002
230+
href: ../../../windows-server/troubleshoot-windows-update-error-0x80070490.md?context=/troubleshoot/azure/virtual-machines/windows/context/context
227231

228232
- name: My VM is not booting
229233
items:

support/windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80070490.md

Lines changed: 50 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ audience: itpro
77
ms.topic: troubleshooting
88
ms.reviewer: ''
99
ms.custom:
10-
- sap:add_sap
11-
- pcy:add_pcy
10+
- sap:windows servicing,updates and features on demand\windows update fails - installation stops with error
11+
- pcy:WinComm Devices Deploy
1212
---
1313
# Troubleshoot Windows Update Error 0x80070490
1414

@@ -20,9 +20,16 @@ Windows Update error 0x80070490 typically occurs due to driver failures when use
2020

2121
Before proceeding with the mitigations, ensure you have backed up the OS disk. Refer to the [Backup OS Disk](https://learn.microsoft.com/azure/backup/backup-azure-vms) guide for detailed instructions.
2222

23-
## How to Identify the Issue
23+
## Root Cause
2424

25-
### Symptom 1: Pending Update State
25+
The primary cause of error 0x80070490 is driver failure during Windows Update installations. This can occur due to:
26+
27+
- Pending updates that block new installations.
28+
- Stale or incorrect registry entries related to driver operations.
29+
- Corrupted or malformed SetupConfig.ini files.
30+
- Missing driver files or hardlinks in the system directories.
31+
32+
## Symptom 1: Pending Update State
2633

2734
When an update is in an Install Pending state, the driver operation may fail due to an inability to read the identity for driver operation sequence ID 1. Check the CBS logs at `C:\Windows\Logs\CBS\CBS.log` for entries like:
2835

@@ -35,7 +42,18 @@ Info CBS Failed initializing driver operation queue [HRESULT = 0x80070490 - ERRO
3542
Info CBS Perf: InstallUninstallChain complete.
3643
```
3744

38-
### Symptom 2: Servicing Stack Update Failure
45+
### Resolution: Resolve Pending Updates
46+
47+
1. Remove the `1` folder from the registry path: `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\DriverOperations\1`.
48+
2. Set the trusted installer to automatic state using the command:
49+
50+
```console
51+
sc config trustedinstaller start= auto
52+
```
53+
54+
3. Attempt to install the updates again.
55+
56+
## Symptom 2: Servicing Stack Update Failure
3957

4058
Servicing Stack Updates (SSU) may fail with error 0x80070490. Check the CBS.log for similar entries:
4159

@@ -48,7 +66,12 @@ Info CBS Failed to execute execution chain. [HRESULT = 0x80070490 - ERROR_NOT_FO
4866
Error CBS Failed to process single phase execution. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
4967
```
5068

51-
### Symptom 3: Feature Update Installation Failure
69+
### Resolution: Reinstall Servicing Stack Update
70+
71+
1. Export and delete the key at `HKLM\SOFTWARE\Microsoft\Windows\Currentversion\Component Based Servcing\Driver Operations\0`.
72+
2. Reinstall the Servicing Stack Update (SSU).
73+
74+
## Symptom 3: Feature Update Installation Failure
5275

5376
Feature updates may fail with error code 0x80070490. This behavior can be observed through "Check for updates" and in Software Center (WSUS). Review the WindowsUpdate.log for entries like:
5477

@@ -67,7 +90,12 @@ Feature updates may fail with error code 0x80070490. This behavior can be observ
6790
08:16:59.18581 PM 11736 12104 uhwinsetup_cpp776 [Handler] Exit code = 0x80070490
6891
```
6992

70-
### Symptom 4: Cumulative Update Failure
93+
### Resolution: Fix SetupConfig.ini
94+
95+
1. Remove or fix the `SetupConfig.ini` file located at `C:\Users\Default\AppData\Local\Microsoft\Windows\WSUS\SetupConfig.ini`.
96+
2. If the file is empty, add an entry such as `Show OOBE =None`.
97+
98+
## Symptom 4: Cumulative Update Failure
7199

72100
Cumulative updates may fail with error code 0x80070490 along with 0x8e5e03fa. Check the Setup Events logs for errors like:
73101

@@ -79,60 +107,18 @@ Information XXXXX.corp. 3 Microsoft-Windows-Servicing N/A NT AUTHORITY\SYSTEM Pa
79107
Error XXXX.corp. 3 Microsoft-Windows-WUSA N/A CORP\xxa790741it5 Windows update "Security Update for Windows (KB5004298)" could not be installed because of error 2388526074 "" (Command line: ""C:\Windows\system32\wusa.exe" "C:\Users\XXXXX\Desktop\WS2012R2-072021\windows8.1-kb5004298-x64_e98bbac284034aac90559c0d311967d97ebfc0e5.msu" ")
80108
```
81109

82-
### Symptom 5: Monthly Rollup Update Failure
83-
84-
Monthly rollup updates may fail with error code 0x80070490. Check the CBS log for entries like:
85-
86-
```output
87-
Error CBS Shtd: Failed while processing non-critical driver operationsqueue. [HRESULT = 0x80070490 – ERROR_NOT_FOUND]
88-
Info CBS Shtd: Rolling back KTM, because drivers failed.
89-
Info CBS Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Temporary Rollback.
90-
```
91-
92-
## Root Cause
93-
94-
The primary cause of error 0x80070490 is driver failure during Windows Update installations. This can occur due to:
95-
96-
- Pending updates that block new installations.
97-
- Stale or incorrect registry entries related to driver operations.
98-
- Corrupted or malformed SetupConfig.ini files.
99-
- Missing driver files or hardlinks in the system directories.
100-
101-
## Resolution or Troubleshooting Steps
102-
103-
### Mitigation 1: Resolve Pending Updates
104-
105-
1. Remove the `1` folder from the registry path: `Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\DriverOperations\1`.
106-
2. Set the trusted installer to automatic state using the command:
107-
108-
```bash
109-
sc config trustedinstaller start= auto
110-
```
111-
112-
3. Attempt to install the updates again.
113-
114-
### Mitigation 2: Reinstall Servicing Stack Update
115-
116-
1. Export and delete the key at `HKLM\SOFTWARE\Microsoft\Windows\Currentversion\Component Based Servcing\Driver Operations\0`.
117-
2. Reinstall the Servicing Stack Update (SSU).
118-
119-
### Mitigation 3: Fix SetupConfig.ini
120-
121-
1. Remove or fix the `SetupConfig.ini` file located at `C:\Users\Default\AppData\Local\Microsoft\Windows\WSUS\SetupConfig.ini`.
122-
2. If the file is empty, add an entry such as `Show OOBE =None`.
123-
124-
### Mitigation 4: Repair System Corruption
110+
### Resolution: Repair System Corruption
125111

126112
1. Start the corruption repair process:
127113

128-
```bash
114+
```console
129115
DISM /Online /Cleanup-Image /RestoreHealth
130116
SFC /Scannow
131117
```
132118

133119
2. Reset the content of the Catroot2 folder:
134120

135-
```bash
121+
```console
136122
net stop cryptsvc
137123
md %systemroot%\system32\catroot2.old
138124
xcopy %systemroot%\system32\catroot2 %systemroot%\system32\catroot2.old /s
@@ -142,7 +128,7 @@ The primary cause of error 0x80070490 is driver failure during Windows Update in
142128

143129
3. Rename the Software Distribution folder:
144130

145-
```bash
131+
```console
146132
net stop wuauserv
147133
cd %systemroot%
148134
ren SoftwareDistribution SoftwareDistribution.old
@@ -151,7 +137,17 @@ The primary cause of error 0x80070490 is driver failure during Windows Update in
151137

152138
4. Install the patch.
153139

154-
### Mitigation 5: Address Missing Driver Files
140+
## Symptom 5: Monthly Rollup Update Failure
141+
142+
Monthly rollup updates may fail with error code 0x80070490. Check the CBS log for entries like:
143+
144+
```output
145+
Error CBS Shtd: Failed while processing non-critical driver operationsqueue. [HRESULT = 0x80070490 – ERROR_NOT_FOUND]
146+
Info CBS Shtd: Rolling back KTM, because drivers failed.
147+
Info CBS Progress: UI message updated. Operation type: Update. Stage: 1 out of 1. Temporary Rollback.
148+
```
149+
150+
### Resolution: Address Missing Driver Files
155151

156152
1. Create the folder `wvms_pp.inf_amd64_81d18de8dedd4cc4` inside `C:\Windows\System32\DriverStore\FileRepository`.
157153
2. Copy all `.inf` files from `C:\Windows\WinSxS\amd64_wvms_pp.inf_31bf3856ad364e35_6.2.9200.22376_none_bc457897943a83fe`.

0 commit comments

Comments
 (0)