Jump to content


spgsitsupport

Failed to load SMI schema hive [HRESULT = 0x80070020 - ERROR_SHARING_VIOLATION]

Recommended Posts

Single TS (Windows 7 x64) that I use for ALL my various models.

 

On that particular Optiplex 3040 (that I did process previously on numerous occasions) I suddenly started getting error:

2017-02-23 10:01:58, Info                  CBS    Failed to load offline schema.dat hive from '\\?\C:\Windows\system32\smi\store\Machine\schema.dat' into registry key '{bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/system32/smi/store/Machine/schema.dat'. [HRESULT = 0x80070020 - ERROR_SHARING_VIOLATION]
2017-02-23 10:01:58, Info                  CBS    Failed to load SMI schema hive [HRESULT = 0x80070020 - ERROR_SHARING_VIOLATION]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SOFTWARE
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SOFTWARE, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SYSTEM
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SYSTEM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SECURITY
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SECURITY, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SAM
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/SAM, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/COMPONENTS
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/COMPONENTS, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/DEFAULT
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Windows/System32/config/DEFAULT, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Info                  CBS    Unloading offline registry hive: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Users/default/ntuser.dat
2017-02-23 10:01:58, Info                  CBS    Failed to unload offline registry: {bf1a281b-ad7b-4476-ac95-f47682990ce7}C:/Users/default/ntuser.dat, the client may still need it open. [HRESULT = 0x80070005 - E_ACCESSDENIED]
2017-02-23 10:01:58, Error                 CBS    Failed to load offline store from boot directory: '\\?\C:\' and windows directory: '\\?\C:\Windows\' [HRESULT = 0x80070020 - ERROR_SHARING_VIOLATION]
2017-02-23 10:01:58, Error                 CBS    Failed to initialize store parameters with boot drive: C:\ and windows directory: C:\Windows [HRESULT = 0x80070020 - ERROR_SHARING_VIOLATION]
2017-02-23 10:01:58, Error                 DISM   DISM Package Manager: PID=1736 Failed initializing the session - CDISMPackageManager::RefreshInstanceAndLock(hr:0x80070020)
2017-02-23 10:01:58, Error                 DISM   DISM Package Manager: PID=1736 Failed doing internal initialization - CDISMPackageManager::Initialize(hr:0x80070020)
2017-02-23 10:01:58, Warning               DISM   DISM Provider Store: PID=1736 Failed to call Initialize method on IDismServicingProvider Interface - CDISMProviderStore::Internal_LoadProvider(hr:0x80070020)
2017-02-23 10:01:58, Warning               DISM   DISM Provider Store: PID=1736 Failed to Load the provider: C:\_SMSTaskSequence\PkgMgrTemp\7D43C465-9861-4170-A6F8-3A5BC7CEFFAD\CbsProvider.dll. - CDISMProviderStore::Internal_GetProvider(hr:0x80070020)

Anybody having any idea what that actually means?

 

I can re-run this same TS on another machine (same network/boundry/physical switch etc) ie Optiplex 3020 & it runs/finishes OK

 

Seb

Share this post


Link to post
Share on other sites

It turned out that for [unknown] reason I could not have driver for

 

PCI\VEN_8086&DEV_A102&CC_0106.DeviceDesc = "Intel® 100 Series/C230 Chipset Family SATA AHCI Controller"

 

iaAHCIC.inf

 

in Driver Package for the model

 

Once I done separate package for this single driver ONLY (and still applied it to the model after Driver Package for that model)

 

it worked fine

 

Most strange!

 

Seb

Share this post


Link to post
Share on other sites

Or maybe I spoke too soon...

 

With driver "split" it does NOT always work. When it fails it gives:

Failed to create temporary package manager directory C:\_SMSTaskSequence\PkgMgrTemp. Code 0x800700b7    OSDDriverClient    01/03/2017 13:26:58    580 (0x0244)
Failed to add driver to driver store. Code 0x800700b7    OSDDriverClient    01/03/2017 13:26:58    580 (0x0244)
Failed to provision driver. Code 0x800700b7    OSDDriverClient    01/03/2017 13:26:58    580 (0x0244)
Failed to run the action: Apply Driver Package - test.
Cannot create a file when that file already exists. (Error: 800700B7; Source: Windows)    TSManager    01/03/2017 13:26:58    1888 (0x0760)

It looks (not identical) like:

 

https://blogs.technet.microsoft.com/system_center_configuration_manager_operating_system_deployment_support_blog/2016/12/28/apply-driver-package-task-fails-when-the-adk-is-upgrade-to-adk-10-1607/#comment-6316

 

Seb

 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.