none
Permissions error when adding a new boot image (WIM) RRS feed

  • Question

  • I have captured a Windows 10 x64 Enterprise image and I'm trying to add the wim to SCCM. The error I get is:

    "The specified file can not be imported. Make sure the file is not read only and you have read and write access to it."

    I have checked permissions on the folders where the default wim files are stored and the SCCM service account has Full Control on the whole folder structure, as does my admin account (just to be sure). I've pulled the most recent logs and noticed a couple of things: "The bootable image index 1 is not correct. 0 is expected" for one. Google was no help for that error as it applied to my situation.

    ~

    CExtUserContext::EnterThread : User=CORP\priv.ko9dalb Sid=0x010500000000000515000000C307741809489636A11F8F702DB20100 Caching IWbemContextPtr=00000223A13A9260 in Process 0x2900 (10496)~
    Context: SMSAppName=Configuration Manager Administrator console~
    Context: MachineName=BPSSWH01.corp.oktedi.internal~
    Context: UserName=CORP\priv.ko9dalb~
    Context: ObjectLockContext=1031efb6-a751-4f72-9c72-20d4e863c3eb~
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe~
    Context: ApplicationVersion=5.1906.1069.1002~
    Context: LocaleID=MS\0x409~
    Context: __ProviderArchitecture=32 ~
    Context: __RequiredArchitecture=0 (Bool)~
    Context: __ClientPreferredLanguages=en-US,en~
    Context: __CorrelationId={00000000-0000-0000-0000-000000000000}~
    Context: __GroupOperationId=1332289 ~
    CExtUserContext : Set ThreadLocaleID OK to: 1033~
    CSspClassManager::PreCallAction, dbname=CM_WH1~
    ExecQueryAsync: START SELECT * from SMS_Identification~
    IExtClassManager::ValidateAuthenticationLevel...
    Adding Handle 511433840 to async call map~
    CExtProviderClassObject::DoCreateInstanceEnumAsync (SMS_Identification)~
    CSspQueryForObject :: Execute...~
    Execute WQL  =SELECT * from SMS_Identification~
    Execute SQL =select  all SMS_Identification.License,SMS_Identification.LocaleID,SMS_Identification.MonthlyReleaseVersion,SMS_Identification.DaysLeft,SMS_Identification.ServiceAccountName,SMS_Identification.SMSAvailableConsoleVersion,SMS_Identification.SMSBuildNumber,SMS_Identification.SMSMinBuildNumber,SMS_Identification.SMSProviderServer,SMS_Identification.SMSSiteServer,SMS_Identification.SMSVersion,SMS_Identification.SupportID,SMS_Identification.ThisSiteCode,SMS_Identification.ThisSiteName,SMS_Identification.UIManifestHash,SMS_Identification.UIManifestHashAlgorithm,SMS_Identification.UIUpdateManifestHash,SMS_Identification.UIUpdateManifestHashAlgorithm from vSMSData AS SMS_Identification  OPTION(USE HINT('FORCE_LEGACY_CARDINALITY_ESTIMATION'))~
    Results returned : 1 of 2~
    Removing Handle 511433840 from async call map~
    ExecQueryAsync: COMPLETE SELECT * from SMS_Identification~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589996960~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589996960~
    ~
    CExtUserContext::EnterThread : User=CORP\priv.ko9dalb Sid=0x010500000000000515000000C307741809489636A11F8F702DB20100 Caching IWbemContextPtr=00000223A13A8E00 in Process 0x2900 (10496)~
    Context: SMSAppName=Configuration Manager Administrator console~
    Context: MachineName=BPSSWH01.corp.oktedi.internal~
    Context: UserName=CORP\priv.ko9dalb~
    Context: ObjectLockContext=1031efb6-a751-4f72-9c72-20d4e863c3eb~
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe~
    Context: ApplicationVersion=5.1906.1069.1002~
    Context: LocaleID=MS\0x409~
    Context: __ProviderArchitecture=32 ~
    Context: __RequiredArchitecture=0 (Bool)~
    Context: __ClientPreferredLanguages=en-US,en~
    Context: __CorrelationId={00000000-0000-0000-0000-000000000000}~
    Context: __GroupOperationId=1332300 ~
    Context: __WBEM_CLIENT_AUTHENTICATION_LEVEL=6 ~
    CExtUserContext : Set ThreadLocaleID OK to: 1033~
    CSspClassManager::PreCallAction, dbname=CM_WH1~
    ExecMethodAsync : SMS_BootImagePackage::GetImageProperties~
    Requested class =SMS_BootImagePackage~
    Requested num keys =0~
    IExtClassManager::ValidateAuthenticationLevel...
    CExtProviderClassObject::DoExecuteMethod GetImageProperties~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589998080~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589998080~
    ~
    CExtUserContext::EnterThread : User=CORP\priv.ko9dalb Sid=0x010500000000000515000000C307741809489636A11F8F702DB20100 Caching IWbemContextPtr=00000223A13A8E00 in Process 0x2900 (10496)~
    Context: MachineName=BPSSWH01.corp.oktedi.internal~
    Context: SMSAppName=Configuration Manager Administrator console~
    Context: UserName=CORP\priv.ko9dalb~
    Context: ObjectLockContext=1031efb6-a751-4f72-9c72-20d4e863c3eb~
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe~
    Context: ApplicationVersion=5.1906.1069.1002~
    Context: LocaleID=MS\0x409~
    Context: __ProviderArchitecture=32 ~
    Context: __ClientPreferredLanguages=en-US,en~
    Context: __RequiredArchitecture=0 (Bool)~
    Context: __CorrelationId={00000000-0000-0000-0000-000000000000}~
    Context: __GroupOperationId=1332306 ~
    CExtUserContext : Set ThreadLocaleID OK to: 1033~
    CSspClassManager::PreCallAction, dbname=CM_WH1~
    PutInstanceAsync SMS_BootImagePackage~
    IExtClassManager::ValidateAuthenticationLevel...
    CExtProviderClassObject::DoPutInstanceInstance~
    ************ WBEM Missing property TransformReadiness~
    ************ WBEM Missing property TransformAnalysisDate~
    The bootable image index 1 is not correct. 0 is expected.
    Image language ID 1033 (corresponds to language 'en-US')~
    Loaded wimgapi.dll version 10.0.18362.1 from location 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\wimgapi.dll'
    Loaded wimgapi.dll version 10.0.18362.1 from location 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\wimgapi.dll'
    Loaded wimgapi.dll version 10.0.18362.1 from location 'C:\Program Files (x86)\Windows Kits\10\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\wimgapi.dll'
    WIM index is 0.
    Image language ID 1033 (corresponds to language 'en-US')~
    Image language ID 1033 (corresponds to language 'en-US')~
    Loaded the image from \\bpsswh01\SMS_WH1\OSD\boot\x64\{CEBD58DD-9D07-4A3C-B216-091077D68989}.wim.
    Temporary path for WIM file is C:\Windows\TEMP\BootImages\{08BA9C01-B860-4AFF-B014-3FA9901814C8}\temp.
    Failed to load the image 0 from \\bpsswh01\SMS_WH1\OSD\boot\x64\{CEBD58DD-9D07-4A3C-B216-091077D68989}.wim. Error code = 87~
    Failed to load the image 0 from \\bpsswh01\SMS_WH1\OSD\boot\x64\{CEBD58DD-9D07-4A3C-B216-091077D68989}.wim. Error code = 87~
    ~*~*~..\sspbootimagepackage.cpp(4272) : Failed to insert OSD binaries into the WIM file~*~*~
    ~*~*~Failed to insert OSD binaries into the WIM file ~*~*~
    Auditing: User CORP\priv.ko9dalb called an audited method of an instance of class SMS_BootImagePackage.~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589998080~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589998080~
    ~
    CExtUserContext::EnterThread : User=CORP\priv.ko9dalb Sid=0x010500000000000515000000C307741809489636A11F8F702DB20100 Caching IWbemContextPtr=00000223A13A89A0 in Process 0x2900 (10496)~
    Context: SMSAppName=Configuration Manager Administrator console~
    Context: MachineName=BPSSWH01.corp.oktedi.internal~
    Context: UserName=CORP\priv.ko9dalb~
    Context: ObjectLockContext=1031efb6-a751-4f72-9c72-20d4e863c3eb~
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe~
    Context: ApplicationVersion=5.1906.1069.1002~
    Context: LocaleID=MS\0x409~
    Context: __ProviderArchitecture=32 ~
    Context: __RequiredArchitecture=0 (Bool)~
    Context: __ClientPreferredLanguages=en-US,en~
    Context: __CorrelationId={00000000-0000-0000-0000-000000000000}~
    Context: __GroupOperationId=1332375 ~
    Context: __WBEM_CLIENT_AUTHENTICATION_LEVEL=6 ~
    CExtUserContext : Set ThreadLocaleID OK to: 1033~
    CSspClassManager::PreCallAction, dbname=CM_WH1~
    ExecMethodAsync : SMS_BootImagePackage::QueryOSDBinaryInjectionStatus~
    Requested class =SMS_BootImagePackage~
    Requested num keys =0~
    IExtClassManager::ValidateAuthenticationLevel...
    CExtProviderClassObject::DoExecuteMethod QueryOSDBinaryInjectionStatus~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589999200~
    ~
    CExtUserContext::EnterThread : User=CORP\priv.ko9dalb Sid=0x010500000000000515000000C307741809489636A11F8F702DB20100 Caching IWbemContextPtr=00000223A13A97A0 in Process 0x2900 (10496)~
    Context: SMSAppName=Configuration Manager Administrator console~
    Context: MachineName=BPSSWH01.corp.oktedi.internal~
    Context: UserName=CORP\priv.ko9dalb~
    Context: ObjectLockContext=1031efb6-a751-4f72-9c72-20d4e863c3eb~
    Context: ApplicationName=Microsoft.ConfigurationManagement.exe~
    Context: ApplicationVersion=5.1906.1069.1002~
    Context: LocaleID=MS\0x409~
    Context: __ProviderArchitecture=32 ~
    Context: __RequiredArchitecture=0 (Bool)~
    Context: __ClientPreferredLanguages=en-US,en~
    Context: __CorrelationId={00000000-0000-0000-0000-000000000000}~
    Context: __GroupOperationId=1332380 ~
    Context: __WBEM_CLIENT_AUTHENTICATION_LEVEL=6 ~
    CExtUserContext : Set ThreadLocaleID OK to: 1033~
    CSspClassManager::PreCallAction, dbname=CM_WH1~
    ExecMethodAsync : SMS_BootImagePackage::DeleteContextID~
    Requested class =SMS_BootImagePackage~
    Requested num keys =0~
    IExtClassManager::ValidateAuthenticationLevel...
    CExtProviderClassObject::DoExecuteMethod DeleteContextID~
    CExtUserContext::LeaveThread : Releasing IWbemContextPtr=-1589995616~

    I'm running SCCM 1906 on Server 2019. All brand new.

    Friday, November 29, 2019 4:42 AM

Answers

All replies

  • What is the ADK version is that ADK windows 10 1903?

    Check the ADK version you have installed matches the version of the boot image you are importing

    Also ensure you use WIM file from ADK source

    Also refer the below blog,

    https://blogs.technet.microsoft.com/brandonlinton/2015/07/30/windows-10-adk-boot-image-updates-for-configuration-manager/

    • Proposed as answer by Kalyan Sundar Tuesday, December 3, 2019 7:25 AM
    Friday, November 29, 2019 7:06 AM
  • Are you importing an OS Image as a boot image? When yes, you cannot use an OS WIM as a boot WIM.
    • Marked as answer by Bea5tOfBourb0n Monday, December 2, 2019 11:26 PM
    Friday, November 29, 2019 8:27 AM
  • I've seen this issue before. 
    I would check your network access account setup and make sure that it is not using your site system server as this will cause these issues when trying to add anything to SCCM. If you are wanitng to use the site system server as the network access account you will need to give it full permissions to where you are holding the wim image, or use a user account which already has permissions and make that the network access account.

    If these are already done then try moving the wim file to another network location. You will find when you have permissions it will discover the index wrong or just simply be greyed out.


    Website: www.walshamsolutions.com Technical Blog: https://www.walshamsolutions.com/technical-blog Personal Blog: https://www.walshamsolutions.com/personal-blog Twitter: Dwalshampro

    Friday, November 29, 2019 9:13 AM
  • I have a service account set up specifically for SCCM use which has local admin privileges. SCCM *should* be using that account only. Just for safe measure, I've also added my own admin account (just in case) and the computer account to the local admin group. All three accounts have Full Control over the folders where the files are located. The index had me concerned. In the log file it says the index is receives back is not what is expected. An index of 0 is expected and it returns a 1.
    Monday, December 2, 2019 5:01 AM
  • Hi,

    May we know if you are using an OS WIM or a captured WIM? We should use the boot WIM from the ADK. 

    Here is a similar thread for your reference: 
    Boot Image Creation completed with errors

    Thanks for your time.

    Best regards,
    Simon Ren

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by Bea5tOfBourb0n Monday, December 2, 2019 11:26 PM
    Monday, December 2, 2019 8:03 AM
  • May we know if you are using an OS WIM or a captured WIM? We should use the boot WIM from the ADK. 

    I was trying with an OS wim. Also my ADK version was not correct (1903 on one and 1907 on another) so I've corrected that and am trying again.
    Monday, December 2, 2019 11:22 PM
  • This entire experience has been a lesson in blonde moments. I was trying to import the OS wim into the boot images tab. I imported it into the OS Images tab and Comtrya! Thank you for your help peeps. It at least lead me to realise I was importing the right thing to the wrong place
    Monday, December 2, 2019 11:25 PM
  • Hi,

    Thank you very much for your sharing and feedback. Here's a short summary for the problem.

    Problem/Symptom:
    ===================
    When adding a new boot image  to SCCM, we get the error "The specified file can not be imported. Make sure the file is not read only and you have read and write access to it."

    Solution:
    ===================
    We cannot use an OS WIM as a boot WIM. We should use the boot WIM from the ADK.

    Thanks again for your time.

    Best regards,
    Simon

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Tuesday, December 3, 2019 9:59 AM