Search the Community
Showing results for tags 'powershell'.
-
Hello World, Just a tip for those whom might have ran into this. If you have ever had a corrupt DISM log. The Answer Change your log files text encoding to UTF-8Example of a corrupt log from an improper encoding. Powershell will by default create files in UCS-2 Little Endian Encoding so this may happen to you. [2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.믯㊿ⴴ㘰ㄭ‶ㄱ㌺㨶〰牅潲††††††††䥄䵓†䄠䥐›䥐㵄㜲㐶吠䑉㈽㔳′慐正条慰桴渠敥獤琠敢⸠慣牯⸠獭⁵楦敬ⴠ䐠獩䅭摤慐正条䥥瑮牥慮⡬牨〺㡸〰〷㔰⤷[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.〲㐱〭ⴶ㘱ㄠ㨱㘳ㄺⰰ䔠牲牯††††††††䐠卉⁍†偁㩉倠䑉㈽㘷‴䥔㵄㌲㈵倠捡慫敧瀠瑡敮摥潴戠挮扡漠洮畳映汩楄浳摁偤捡慫敧湉整湲污栨㩲砰〸㜰〰㜵ഩ嬊㈀㜀㘀㐀崀 䤀洀愀最攀唀渀洀愀爀猀栀愀氀氀䠀愀渀搀氀攀㨀 刀攀挀漀渀猀琀椀琀甀琀椀渀最 眀椀洀 愀琀 夀㨀尀䄀䐀䬀尀匀伀唀刀䌀䔀匀尀圀䤀一䐀伀圀匀ⴀ㠀⸀⸀ⴀ䄀䴀䐀㘀㐀⸀圀䤀䴀⸀ഀ嬀㈀㜀㘀㐀崀 䤀洀愀最攀唀渀洀愀爀猀栀愀氀氀䠀愀渀搀氀攀㨀 刀攀挀漀渀猀琀椀琀甀琀椀渀最 眀椀洀 愀琀 夀㨀尀䄀䐀䬀尀匀伀唀刀䌀䔀匀尀圀䤀一䐀伀圀匀ⴀ㠀⸀⸀ⴀ䄀䴀䐀㘀㐀⸀圀䤀䴀⸀ഀ㈀ⴴ㘰ㄭ‶ㄱ㌺㨶㤱牅潲††††††††䥄䵓†䄠䥐›䥐㵄㜲㐶吠䑉㈽㔳′慐正条慰桴渠敥獤琠敢⸠慣牯⸠獭⁵楦敬ⴠ䐠獩䅭摤慐正条䥥瑮牥慮⡬牨〺㡸〰〷㔰⤷[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.〲㐱〭ⴶ㘱ㄠ㨱㘳㈺ⰷ䔠牲牯††††††††䐠卉⁍†偁㩉倠䑉㈽㘷‴䥔㵄㌲㈵倠捡慫敧瀠瑡敮摥潴戠挮扡漠洮畳映汩楄浳摁偤捡慫敧湉整湲污栨㩲砰〸㜰〰㜵ഩ
- 1 reply
-
- Corrupt log
- DISM
-
(and 8 more)
Tagged with:
-
I'm a big fan of everything that gets achieved here, however I was running into an issue that I think will start popping up in a few places. There seems to now be 4 updates for Windows 8.1 that have LDR Updates (update-bf.mum) available; Normally LDR updates can be integrated using DISM by pointing to the extracted update-bf.mum. However I ran into some trouble attempting to integrate these updates using Add-WindowsPackage PowerShell Module. Considering PowerShell should provide most of the DISM functions i was curious if LDR Updates are possible with Add-WindowsPackage. Otherwise I yet to find a powershell equivalent of a couple of other functions, but that could be a discussion for another thread. I am attempting to integrate the update-bf.mum from the following KB's KB2898847KB2898850KB2931358KB2934520I am attempting using the following powershell scripts. ######## ------- INTEGRATE UPDATES - GDR -------- ########Get-Content $INI\$EDITION-UPDATES-GDR.INI | ForEach-Object {Invoke-Expression "Write-Host -ForegroundColor Yellow 'Integrating GDR Update: $_'; Add-WindowsPackage -Path $MOUNT -LogLevel Errors -LogPath $LOGS\DISM-UPDATE-GDR.LOG -ScratchDirectory $SCRATCH -NoRestart -Verbose -PackagePath $UPDATES\$_"}######## ------- INTEGRATE UPDATES - LDR - STILL BROKE -------- ########Get-Content $INI\$EDITION-UPDATES-LDR.INI | ForEach-Object {Invoke-Expression "Write-Host -ForegroundColor Yellow 'Integrating LDR Update: $_'; Add-WindowsPackage -Path $MOUNT -LogLevel Errors -LogPath $LOGS\DISM-UPDATE-LDR.LOG -ScratchDirectory $SCRATCH -NoRestart -Verbose -PackagePath $UPDATES\$_\UPDATE-BF.MUM"}I get the following error: Integrating LDR Update: KB2898847VERBOSE: Dism PowerShell Cmdlets Version 6.3.0.0VERBOSE: Target Image Version 6.3.9600.17031WARNING: Failed to add package Y:\ADK\UPDATES\WINDOWS-8.1.1-AMD64\KB2898847\UPDATE-BF.MUMWARNING: Add-WindowsPackage failed. Error code = 0x80070057Add-WindowsPackage : The parameter is incorrect.At line:2 char:5+ Add-WindowsPackage -Path C:\ADK\MOUNT -LogLevel Errors -LogPath Y:\ADK\LOGS\ ...+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: ( [Add-WindowsPackage], PSArgumentException + FullyQualifiedErrorId : Microsoft.Dism.Commands.AddWindowsPackageCommandLooking at the log entries for these four updates, it appears that it is rejecting anything that is not a .cab or .msu file: [2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.2014-06-16 13:46:31, Error DISM API: PID=2764 TID=2352 Package path needs to be .cab or .msu file - DismAddPackageInternal(hr:0x80070057)[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.2014-06-16 13:46:40, Error DISM API: PID=2764 TID=2352 Package path needs to be .cab or .msu file - DismAddPackageInternal(hr:0x80070057)[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.2014-06-16 13:46:49, Error DISM API: PID=2764 TID=2352 Package path needs to be .cab or .msu file - DismAddPackageInternal(hr:0x80070057)[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.[2764] ImageUnmarshallHandle: Reconstituting wim at Y:\ADK\SOURCES\WINDOWS-8.1.1-AMD64.WIM.2014-06-16 13:46:57, Error DISM API: PID=2764 TID=2352 Package path needs to be .cab or .msu file - DismAddPackageInternal(hr:0x80070057)Any idea if its possible to integrate LDR updates with Add-WindowsPackage?
- 2 replies
-
- Powershell
- update-bf.mum
-
(and 5 more)
Tagged with: