Feb 04 2021 11:57 AM - edited Feb 04 2021 01:11 PM
I'm running into an issue when attempting to create an Operating System Upgrade Package using the Add Operating System Upgrade Package Wizard. The wizard fails with the following error:
• Description = "Failed to rename the file due to error 5";
• ErrorCode = 5;
• File = "..\\sspbootimagepackage.cpp";
• Line = 4941;
• ObjectInfo = "CSspBootImagePackage::ConvertToSingleIndexImage";
• Operation = "ExecMethod";
• ParameterInfo = "SMS_BootImagePackage";
• ProviderName = "WinMgmt";
• StatusCode = 2147749889;
Since "ErrorCode = 5" corresponds with Access Denied, I have reviewed both NTFS and share permissions for the path containing the operating system files, even going as far as granting Everyone Full Control on both NTFS and share permissions and I continue to receive the error.
SMSProv.log indicates a failure to overwrite install.wim with the extracted WIM that DISM creates as part of the wizard as shown below:
A Procmon capture indicates Access Denied with the following, even though DISM can successfully extract the specified index from the WIM file and write back to the path containing the source WIM file:
The DISM command that the wizard executes is below:
I suspect that the overwriting of install.wim fails because DISM hasn't released its hold on install.wim before the overwrite is attempted.
Any help will be greatly appreciated. Thank you.
Feb 04 2021 08:49 PM
@dpsmith336
Sorry for this cheap answer, but have you tried rebooting the CM Server that is throwing the error?
I an into this once in the past, it was after applying patches to the server and I hadn't rebooted the server yet.
Feb 05 2021 11:04 AM
Feb 05 2021 12:50 PM
Couple other generic things:
Feb 08 2021 12:23 PM