LogoLogo
TwitterLinkedInGitHubPowerShell Gallery
  • About
  • Events
  • Blog
    • 2022
      • 🆕OSD January Update
      • 🆕PSCloudScript Basics
    • 2021
      • Start-OOBEDeploy
      • OSDCloud
      • PowerShell Gallery in WinPE
      • BitLocker KeyProtectors
      • WindowsCapability -and WindowsPackage
      • Scheduled Tasks
        • Building a Task
        • Task Permissions
        • Task Trigger
        • Action a PowerShell File
        • Action a PS Encoded Script
        • Conclusion
          • Windows Activation and Edition Change
          • REG.exe and Multiple Actions
    • 2019
      • 2019-02
        • Offline Servicing vs Reference Image
      • 2019-04
        • Windows 10 Upgrade MultiLang (Uno)
      • 2019-06
        • Offline Servicing Windows 10 with CU for .NET 4.8
        • OSDBuilder and .NET CU KB4480056
      • 2019-09
        • Black Screen During Windows 10 Setup
      • 2019-11
        • I Hate OSDBuilder
    • 2018
      • WinPE 10 1809 WPF DLL Fix
      • Microsoft Update Releases
      • Create WinPE.wim from Boot.wim or WinRE.wim
      • Windows Setup: FAT32 USB with +4GB Install.wim
      • Windows 10 from ESD
      • Windows 10 1809 Appx Issues
      • Mount-WindowsImage -Optimize
  • Guides
    • Autopilot App Registration
    • PSCloudScript
      • PS Cmdlets
      • GitHub Gist
      • GitHub Git Repo
      • Content-Type | Azure Static Web App
      • Command Shortening
      • Azure Key Vault Secret
      • OSD PowerShell Module
      • PSCloudScript Examples
        • Autopilot
        • AutopilotOOBE
        • OSDCloud Live
        • WinPE PowerShell Gallery
        • OSDCloud WinPE and OOBE
    • go OSDCloud
      • Azure Function
      • Custom Domain
      • SSL Binding
      • Proxies
  • PowerShell
    • OSD
    • OSDCloud
    • OSDBuilder (Offline Servicing)
    • OSDSUS (Update Catalogs)
    • OSDUpdate (MS Updates)
    • OSDDrivers (Compact Drivers)
    • PShot
      • Release Notes
      • Usage
        • -Directory
        • $AutoPath
        • -Prefix
        • -Count
        • -Delay
        • -Clipboard
        • -Primary
        • The Object
      • Technical
        • Why a Module?
        • Resolution, Scale and DPI
Powered by GitBook
On this page
  • The Setup
  • The Script
  • The Errors
  • The Logs
  • The Conclusion
  1. Blog
  2. 2018

Windows 10 1809 Appx Issues

PreviousWindows 10 from ESDNextMount-WindowsImage -Optimize

Last updated 6 years ago

This issue does not occur when using without the -Optimize parameter. Thanks !

There seems to be an issue with Windows 10 1809 where Appx Provisioned Packages can't be removed from a Mounted Image.

The Setup

I start with 4 WIM files renamed with the appropriate UBR for each

  • 17134.407 - Windows 10 Enterprise x64 1803

  • 17763.1 - Windows 10 Enterprise x64 1809 (October 9, 2018 "First Release")

  • 17763.107 - Windows 10 Enterprise x64 1809 (November 13, 2018 "Second Release")

  • 17763.134 - Windows 10 Enterprise x64 1809 ("Second Release" + SSU KB4465664 + CU KB4467708)

The Script

A simple PowerShell script is used to complete the following

  • Mount the Image

  • Remove the Zune Video package (with logging)

  • Dismount the Image

$SourceDir = 'C:\DEV\Appx'
$Images = @('17134.407','17763.1','17763.107','17763.134')

foreach ($UBR in $Images) {
    New-Item -Path "$SourceDir\$UBR-Mount" -ItemType Directory -Force | Out-Null
    Mount-WindowsImage -Path "$SourceDir\$UBR-Mount" -ImagePath "$SourceDir\$UBR.wim" -Index 1 -Optimize
    
    Get-AppxProvisionedPackage -Path "$SourceDir\$UBR-Mount" | `
    Where-Object {$_.PackageName -like "*ZuneVideo*"} | `
    Remove-AppxProvisionedPackage -LogPath "$SourceDir\$UBR.log"
    
    Dismount-WindowsImage -Path "$SourceDir\$UBR-Mount" -Discard
}

The Errors

All three versions of Windows 10 1809 resulted in the following error message. Windows 10 1803 worked perfectly.

The Logs

Windows 10 1803 works perfectly when removing Zune Video as expected

Windows 10 1809 fails when removing Zune Video with errors. This occurs in all 1809 UBRs (17763.1, 17763.107, and 17763.134)

The Conclusion

There are obviously some internal DISM issues with Windows 10 1809. I would be very cautious about any Enterprise deployment until this can be addressed.

Mount-WindowsImage
Johan
Windows Insider ProgramWindows Insider
Logo
25KB
17134.407.log
Windows 10 1803 Remove Appx Provisioned Package Log
25KB
17763.1.log
Windows 10 1809 17763.1 Log
25KB
17763.107.log
Windows 10 1809 17763.107 Log
25KB
17763.134.log
Windows 10 1809 17763.134 Log
Windows 10 1803
Windows 10 1809