CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0906) One of the following commands produces the below errors: CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f0906) Error DISM DISM Package Manager: PID=1124 TID=2068 Failed while processing command enable-feature. GetCbsErrorMsg Error DISM DISM Package Manager: PID=1124 TID=2068 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0906) Error DISM DISM Package Manager: PID=1124 TID=2068 Failed ProcessChanges. Their location can be specified using the /source option to restore the feature. CDISMPackageManager::Internal_Finalize(hr:0x800f0906) Error DISM DISM Package Manager: PID=1124 TID=2068 The source files could not be found and download failed. The cited log shows errors similar to these: Error DISM DISM Package Manager: PID=1124 TID=2068 Failed finalizing changes. The DISM log file contains errors like these (found at C:\Windows\Logs\DISM\dism.log) For more informat ion on specifying a source location, see. Use the “source” option to specify the location of the files that are required to restore the feature. The source files could not be downloaded. Symptoms This Code Resolves for Automation One of the following commands produces the below errors:ĭISM /Online /NoRestart /Enable-Feature /FeatureName:NetFx3 /All DISM /Online /NoRestart /Enable-Feature /FeatureName:MicrosoftWindowsPowerShell /All DISM /Online /NoRestart /Enable-Feature /FeatureName:MicrosoftWindowsPowerShellRoot If you don’t use Chocolatey yet (I feel sorry for you :( ), you can cherry pick my PowerShell code at: (FYI - the long winded Root Cause Analysis is what allowed your web search to find this article)ĭownload and compile this Chocolatey package: Darwin, I Don’t Want To Read Your Long Winded Root Cause Analysis - Just Give Me the “Fix It Pill” I will soon be publishing some courses on Chocolatey on PluralSight - if you’d like to be notified of when they are published - follow me on linked in: (open one of my posts and find the “Follow” button) or follow me on Twitter at (more technical articles like this one are not posted to Linked In). The code can be used standalone, or you can download it and install it as a Chocolatey package. The below information describes the errors you might be getting if you have this problem - from both DISM and *WindowsFeature CMDLets and points to the code that fixes it. Unpredictable failures or the need to provide the sources\sxs folder both present a challenge to universally automating this installation. NET 3.5 is needed, it usually needs to be installed early in the process. I work a lot with automated server builds and when. Integrated Solution #2: Temporarily Enable Windows Updatesįrom comparing two nearly identical images - one with the problem and one without - I believe it comes down to whether Windows Updates has been touched at least once before the feature install request is made as well as whether the windows update service is currently disabled.Integrated Solution: #1 Make Claimed Default Behavior Explicit.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |