Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Windows update error 0x80070002

Featured Replies

Hello,

When I am trying to install the recent windows update KB5040527 in Windows 11 i am recieving error 0x80070002. Its installed to 100% and then returns an error message. A manual installation by downloading the update package also fails with no error message other than "the update wasnt installed".

sfc /scannow command doesnt return any errors.

I am doingt all this because I suspect it could be related to recent MSFS CTDs i am getting.

Anyone has a clue? because I dont....

 

Edited by Soulflight

14 minutes ago, Soulflight said:

Hello,

When I am trying to install the recent windows update KB5040527 in Windows 11 i am recieving error 0x80070002. A manual installation by downloading the update package also fails with no error message other than "the update wasnt installed".

sfc /scannow command doesnt return any errors.

I am doingt all this because I suspect it could be related to recent MSFS CTDs i am getting.

Anyone has a clue? because I dont....

 

https://www.youtube.com/watch?v=EBH51JQvGdA&t=29s

maybe  this  has  to do with it  just guessing  here  at the moment

 

I7-8700k,Corsair h1101 cooler ,Asus Strix Gaming Intel Z370 S11 motherboard, Corsair 32gb ramDD4,, gtx 1080ti Card,  RM850 power supply

 

Peter kelberg

  • Author
19 minutes ago, YMMB said:

Have you tried a Windows 11 Update reset first and then go back and try running updates again?

Reset Windows Update in Windows 11 Tutorial | Windows 11 Forum (elevenforum.com)

Yes just now, no change.....


I did some digging, here is the CBS.log section that contains the error. Looks like some file is missing the installer wants to work with:

 

2024-07-27 01:27:07, Error                 CSI    0000001e@2024/7/26:23:27:07.305 (F) onecore\base\wcp\sil\ntsystem.cpp(3095): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
[gle=0x80004005]
2024-07-27 01:27:07, Error                 CSI    0000001f (F) STATUS_OBJECT_NAME_NOT_FOUND #5785147# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = 0, handle = {provider=NULL, handle=0, name= ("null")}, da = (FILE_GENERIC_READ), oa = @0x8a65cfad20->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[142]'\??\C:\WINDOWS\WinSxS\Manifests\amd64_microsoft-windows-a..p-merged-deployment_31bf3856ad364e35_10.0.22621.2506_none_203e2018ca4459f0.manifest'; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x8a65cfaf08, as = (null), fa = (FILE_ATTRIBUT[gle=0xd0000034]
2024-07-27 01:27:07, Error                 CSI    E_NORMAL), sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = Invalid)
[gle=0xd0000034]
2024-07-27 01:27:07, Error                 CSI    00000020 (F) STATUS_OBJECT_NAME_NOT_FOUND #5785146# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::OpenFilesystemFile(flags = 0, da = (FILE_GENERIC_READ), fn = [l:139]'\SystemRoot\WinSxS\Manifests\amd64_microsoft-windows-a..p-merged-deployment_31bf3856ad364e35_10.0.22621.2506_none_203e2018ca4459f0.manifest', sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE|FILE_OPEN_FOR_BACKUP_INTENT), file[gle=0xd0000034]
2024-07-27 01:27:07, Error                 CSI     = NULL, disp = Invalid)
[gle=0xd0000034]
2024-07-27 01:27:07, Error                 SXS    Could not open \SystemRoot\WinSxS\Manifests\amd64_microsoft-windows-a..p-merged-deployment_31bf3856ad364e35_10.0.22621.2506_none_203e2018ca4459f0.manifest: STATUS_OBJECT_NAME_NOT_FOUND
2024-07-27 01:27:07, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\turbostackutil.cpp(70)\TurboStack.dll!00007FF98443337B: (caller: 00007FF984433721) Exception(1) tid(368) C0000034 Der Objektname wurde nicht gefunden.

2024-07-27 01:27:07, Error                 CSI    00000021@2024/7/26:23:27:07.305 (F) onecore\base\servicing\turbostack\lib\turbostackutil.cpp(70): Error HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) originated in function (null) expression: (null)
[gle=0x80004005]
2024-07-27 01:27:07, Error                 SXS    WIL Origination: onecore\base\servicing\turbostack\lib\package.cpp(11067)\TurboStack.dll!00007FF98449CDF2: (caller: 00007FF984B8C2F3) ReturnNt(1) tid(368) C0000034 Der Objektname wurde nicht gefunden.
    Msg:[onecore\base\servicing\turbostack\lib\turbostackutil.cpp(70)\TurboStack.dll!00007FF98443337B: (caller: 00007FF984433721) Exception(1) tid(368) C0000034 Der Objektname wurde nicht gefunden.
] 

2024-07-27 01:27:07, Error                 CSI    00000022@2024/7/26:23:27:07.325 (F) onecore\base\servicing\turbostack\lib\package.cpp(11067): Error HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) originated in function (null) expression: (null)
[gle=0x80004005]
2024-07-27 01:27:07, Info                  CBS    Exec: Failed to commit stager to stage execution chain. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:07, Info                  SXS    Perf: File cache FileCount: 1, ByteCount: 0 MB, Hits: 0, Total: 1
2024-07-27 01:27:07, Info                  CBS    CommitPackagesState: Started persisting state of packages
2024-07-27 01:27:07, Info                  CBS    CommitPackagesState: Completed persisting state of packages
2024-07-27 01:27:07, Info                  CSI    00000023@2024/7/26:23:27:07.345 CSI Transaction @0x24bcdd38060 destroyed
2024-07-27 01:27:07, Info                  CBS    Perf: Stage chain complete.
2024-07-27 01:27:07, Info                  SXS    Removing reference on previously loaded registry hive: \Registry\Machine\COMPONENTS
2024-07-27 01:27:07, Info                  SXS    Removing reference on previously loaded registry hive: \Registry\Machine\SCHEMA
2024-07-27 01:27:07, Info                  CSI    00000024 Direct SIL provider: Number of files opened: 9.
2024-07-27 01:27:07, Info                  CBS    Failed to stage execution chain. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:07, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:07, Info                  CBS    WER: Generating failure report for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.3958.1.18, status: 0x80070002, failure source: Stage, start state: Resolved, target state: Installed, client id: UpdateAgentLCU
2024-07-27 01:27:07, Info                  CBS    Not able to query DisableWerReporting flag.  Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:07, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2024-07-27 01:27:07, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240726232155.cab to WER report.
2024-07-27 01:27:07, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240726223809.cab to WER report.
2024-07-27 01:27:07, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240726222410.cab to WER report.
2024-07-27 01:27:07, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240726222115.cab to WER report.
2024-07-27 01:27:07, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20240726214859.cab to WER report.
2024-07-27 01:27:07, Info                  CBS    Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:07, Info                  CBS    Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:07, Info                  CBS    Reboot mark cleared
2024-07-27 01:27:07, Info                  CBS    Winlogon: Simplifying Winlogon CreateSession notifications
2024-07-27 01:27:07, Info                  CBS    Winlogon: Deregistering for CreateSession notifications
2024-07-27 01:27:07, Info                  CBS    FinalCommitPackagesState: Started persisting state of packages
2024-07-27 01:27:07, Info                  CBS    Reporting package change for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.3958.1.18, current: Resolved, pending: Default, start: Resolved, applicable: Installed, target: Installed, limit: Installed, status: 0x0, failure source: Stage, reboot required: False, client id: UpdateAgentLCU, initiated offline: False, execution sequence: 1988, first merged sequence: 1988, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Update, OC operation: False, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0 Used lower priority: False Priority changes: 0 
2024-07-27 01:27:07, Info                  CBS    Reporting package change completion for package: Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.3958.1.18, current: Resolved, original: Resolved, target: Installed, status: 0x80070002, failure source: Stage, failure details: "(null)", client id: UpdateAgentLCU, initiated offline: False, execution sequence: 1988, first merged sequence: 1988, pending decision: InteractiveInstallFailed, primitive execution context: Interactive 
2024-07-27 01:27:07, Info                  CBS    Stage time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-07-27 01:27:07, Info                  CBS    Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2024-07-27 01:27:07, Info                  CBS    FinalCommitPackagesState: Completed persisting state of packages
2024-07-27 01:27:07, Info                  CBS    Enabling LKG boot option
2024-07-27 01:27:07, Info                  CBS    Exec: End: nested restore point - complete.
2024-07-27 01:27:07, Info                  CBS    Exec: Automatic corruption repair has already been attempted today, skip it.
2024-07-27 01:27:07, Info                  CBS    Exec: Processing complete.  Session: 31121331_573278810, Package: Package_for_RollupFix~31bf3856ad364e35~amd64~~22621.3958.1.18, Identifier: KB5040527 [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:08, Error                 CBS    Failed to perform operation.  [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:08, Info                  CBS    Session: 31121331_573278810 finalized. Reboot required: no [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:08, Info                  CBS    Failed finalizing session [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2024-07-27 01:27:08, Info                  CBS    Failed to call Process on TiWorker session [HRESULT = 0x80070002]
2024-07-27 01:27:08, Info                  CBS    Deleting directory: \\?\C:\WINDOWS\CbsTemp\31121331_573278810\
2024-07-27 01:27:08, Info                  CBS    Moving directory from \\?\C:\WINDOWS\CbsTemp\31121331_573278810\ to \\?\C:\WINDOWS\CbsTemp\{35322E5E-EA44-47FD-88AD-9DE828EEB3E8}
2024-07-27 01:27:08, Info                  CBS    Deletion of: \\?\C:\WINDOWS\CbsTemp\{35322E5E-EA44-47FD-88AD-9DE828EEB3E8} successful
2024-07-27 01:29:09, Info                  CBS    Trusted Installer is shutting down because: SHUTDOWN_REASON_AUTOSTOP
2024-07-27 01:29:09, Info                  CBS    TiWorker signaled for shutdown, going to exit.
2024-07-27 01:29:09, Info                  CBS    Deleting the contents of directory: \\?\C:\WINDOWS\CbsTemp
2024-07-27 01:29:09, Info                  CBS    Deletion of: \\?\C:\WINDOWS\CbsTemp successful
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: ExecutionEngineFinalize
2024-07-27 01:29:09, Info                  CBS    Execution Engine Finalize
2024-07-27 01:29:09, Info                  CBS    Execution Engine Finalize
2024-07-27 01:29:09, Info                  CBS    Execution Engine Finalize
2024-07-27 01:29:09, Info                  CBS    Execution Engine Finalize
2024-07-27 01:29:09, Info                  CBS    Lock: Lock removed: TiWorkerClassFactory, level: 30, total lock:3
2024-07-27 01:29:09, Info                  CBS    Lock: Lock removed: CCbsWorker, level: 5, total lock:2
2024-07-27 01:29:09, Info                  CBS    Ending the TiWorker main loop.
2024-07-27 01:29:09, Info                  CBS    Starting TiWorker finalization.
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: ExecutionEngineFinalize
2024-07-27 01:29:09, Info                  CBS    CBS Engine already deactivated
2024-07-27 01:29:09, Info                  CBS    CBS Engine already deactivated
2024-07-27 01:29:09, Info                  CBS    CBS Engine already deactivated
2024-07-27 01:29:09, Info                  CBS    CBS Engine already deactivated
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: ComponentAnalyzerFinalize
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: PackageTrackerFinalize
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CoreResourcesUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: SessionManagerFinalize
2024-07-27 01:29:09, Info                  CBS    Lock: Lock removed: CSIInventoryCriticalSection, level: 64, total lock:10
2024-07-27 01:29:09, Info                  CBS    Lock: Lock removed: CCbsSessionManager, level: 11, total lock:9
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CapabilityManagerFinalize
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: PublicObjectMonitorFinalize
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: Enter vCoreInitializeLock
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: WcpUnload
2024-07-27 01:29:09, Info                  CSI    00000025 Direct SIL provider: Number of files opened: 26.
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: DrupUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CfgMgr32Unload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: DpxUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: SrUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: TurboStackUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: TurboContainerUnload
2024-07-27 01:29:09, Info                  CBS    TurboContainer unload Successful
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CbsEsdUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CbsOneSettingsFinalize
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CbsTraceInfoUninitialize
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: CbsEventUnregister
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: AppContainerUnload
2024-07-27 01:29:09, Info                  CBS    CbsCoreFinalize: WdsUnload, logging from cbscore will end.
2024-07-27 01:29:09, Info                  CBS    Ending TiWorker finalization.
2024-07-27 01:29:09, Info                  CBS    Ending the TrustedInstaller main loop.
2024-07-27 01:29:09, Info                  CBS    Starting TrustedInstaller finalization.
2024-07-27 01:29:09, Info                  CBS    Winlogon: Stopping notify server
2024-07-27 01:29:09, Info                  CBS    Winlogon: Unloading SysNotify DLL
2024-07-27 01:29:09, Info                  CBS    Lock: Lock removed: WinlogonNotifyLock, level: 8, total lock:6

 

https://answers.microsoft.com/en-us/windows/forum/all/windows-11-update-fails-with-download-errro/5860942e-c8d7-49bd-bc89-f4d1af78f7ed 

if you stll  cant install the update   some  one else may  have a answer but this  might be  the last step

https://www.youtube.com/watch?v=SHSmOPvQlXQ

 

Edited by pete_auau

I7-8700k,Corsair h1101 cooler ,Asus Strix Gaming Intel Z370 S11 motherboard, Corsair 32gb ramDD4,, gtx 1080ti Card,  RM850 power supply

 

Peter kelberg

  • Author

Thanks for the hint. Interestingly enough, the option "solve problems using windows update" isnt available on my system. "this option is currently unavailable".

So, the only option seems to be a complete reset using an ISO. While it says that data is kept, I am worried in particular for MSFS, attached programs and my settings and key bindings in there, since "apps and settings are removed".

So, i really want to save me the time of setting everything up again the way it was before.

The last W11 build successfully installed was on april 2024 (build 22631.3447) since then, every cumulative update resulted in the mentioned install error.

Edited by Soulflight

  • Author

In-place upgrade with the most recent ISO solved the issue in the end. All the configuration stuff could be kept. Actually performance improved afterwards. interesting.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.