You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: support/windows-server/installing-updates-features-roles/troubleshoot-windows-update-error-0x80070002.md
+13-15Lines changed: 13 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.custom:
10
10
- sap:windows servicing,updates and features on demand\windows update fails - installation stops with error
11
11
- pcy:WinComm Devices Deploy
12
12
---
13
-
# Troubleshoot Windows Update Error 0x80070002
13
+
# Troubleshoot Windows update error 0x80070002
14
14
15
15
The Windows Update error 0x80070002 typically occurs because of missing or corrupt files necessary for the update or incomplete previous updates. Understanding the root causes and following the appropriate troubleshooting steps can help resolve this issue effectively.
16
16
@@ -20,15 +20,15 @@ The Windows Update error 0x80070002 typically occurs because of missing or corru
20
20
21
21
Before proceeding with the troubleshooting steps, ensure you have backed up your operating system (OS) disk. This precautionary step is crucial to prevent data loss during the resolution process.
22
22
23
-
## Root Cause for Windows Update Error 0x80070002
23
+
## Root cause for Windows update error 0x80070002
24
24
25
-
The error 0x80070002 is primarily caused by missing or corrupt files necessary for the update process. This can occur due to:
25
+
The error 0x80070002 is primarily caused by missing or corrupt files that are necessary for the update process. This issue can occur due to:
26
26
27
27
- Incomplete previous updates that left the system in an inconsistent state.
28
28
- Missing DLLs or system files in critical directories.
29
29
- Registry entries pointing to non-existent services or files.
If the Security Monthly Rollup fails to install with error 0x80070002, check the CBS.log located at `C:\Windows\Logs\CBS\CBS.log`. You might find entries indicating missing files or services that failed to start.
34
34
@@ -42,7 +42,7 @@ Check the directory `C:\Windows\Microsoft.NET\Framework\v4.0.30319` to confirm i
42
42
43
43
:::image type="content" source="./media/troubleshoot-windows-update-error-0x80070002/updateerror0x80070002-fileexplorer.png" alt-text="Empty directory in Windows Explorer":::
Verify the existence of the folder `C:\ProgramData\Microsoft\Windows\Start Menu\Programs\System Tools`.
65
65
66
-
### Resolution: Copy Missing Folders
66
+
### Resolution: Copy missing folders
67
67
68
68
Copy the folder "System Tools" from a working machine to the affected machine, ensuring all shortcuts are included.
69
69
@@ -75,12 +75,10 @@ Monthly rollups may fail with error 0x80070002 due to missing DLLs in the Side-b
75
75
Info CBS Failed to find file: x86_microsoft-windows-directwrite_31bf3856ad364e35_7.1.7601.23545_none_229deeb1ba2a85d3DWrite.dll [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
76
76
```
77
77
78
-
### Resolution: Restore Missing DLLs
78
+
### Resolution: Restore missing DLLs
79
79
80
80
1. Identify missing DLLs from the CBS logs.
81
-
2. Source these files from a working server and place them in the correct directories.
82
-
83
-
**Commands:**
81
+
2. Source these files from a working server and place them in the correct directories. To do so, run the following commands:
84
82
85
83
```console
86
84
takeown /f c:\windows\winsxs
@@ -97,7 +95,7 @@ Info CBS Failed to find file: x86_microsoft-windows-directwrite_31bf3856ad364e35
97
95
98
96
4. Download and install the standalone package for the Monthly Rollup from the [Microsoft Update Catalog](https://www.catalog.update.microsoft.com/Home.aspx).
99
97
100
-
## Symptom 4: Cumulative Update Rollback
98
+
## Symptom 4: Cumulative update rollback
101
99
102
100
If a cumulative update on Windows Server rolls back after a restart, check the Event Viewer for error 0x80070002 and review the CBS logs for driver update issues.
103
101
@@ -106,7 +104,7 @@ Info CBS INSTALL index: 55, phase: 2, result 2, inf: flpydisk.inf
106
104
Info CBS Doqe: Failed installing driver updates [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
107
105
```
108
106
109
-
### Resolution: Import Registry Keys
107
+
### Resolution: Import registry keys
110
108
111
109
Export and import the following registry keys from a working machine:
112
110
@@ -115,7 +113,7 @@ Export and import the following registry keys from a working machine:
115
113
2. HKLM\System\CurrentControlSet\Services\sfloppy
116
114
```
117
115
118
-
## Symptom 5: Windows Upgrade Failure
116
+
## Symptom 5: Windows upgrade failure
119
117
120
118
For Windows upgrade failures with error 0x80070002, examine the Setupact.log for issues related to mounting WIM files.
121
119
@@ -128,7 +126,7 @@ Error SP CMountWIM::DoExecute: Failed to mount WIM file C:\$WINDOWS.~BT\Sources\
128
126
129
127
Export `WIMMOUNT.sys` from the registry of a working server and merge it on the affected server.
130
128
131
-
## Next Steps
129
+
## Next steps
132
130
133
131
After resolving the issue, ensure that your system is up to date with the latest updates and patches. Regularly check for updates to prevent similar issues in the future.
0 commit comments