Hi, I'm servicing an IR5 Store ESD with MSMG Toolkit and and some update is not allowing me to remove certain packages like Camera, Microsoft Store, Some VPN plugins etc. I've mounted the image and tried to remove those packages myself and got the exact same error I get with MSMG toolkit "The volume for this package has been altered outside so the opened file is not valid anymore" I went into Audit and removed the concerned packages online. So far so good but then I couldn't Sysprep the machine. Operation ends with "Sysprep encountered a fatal error" I'm 100% positive some update is causing this but how can I locate and get rid of it ? Any help will be greatly appreciated; Thanks.
I first add the updates then remove the stuff. I've serviced this IR5 ESD before without any such errors. To make sure an update is casing this, I tried the same procedure on 8.1 Professional and I got the exact same result. But I think your method should work provided that component store is still intact. I'm not sure if the packages are removed only from Servicing directory or from component store too.
Edit: Even if I first remove the stuff, I'll still not be able to sysprep the machine. I need to diagnose and locate the cause of this issue.
Do you do any more tweaks? I have problems with sysprep if I remove the Store service or its scheduled tasks. You can try not to remove Store but here I remove it and have no problems. Integrating updates into 8.1 causes pending operations. I always prefer to install in Audit mode and then sysprep and capture and only then remove components. In my last test I removed all Metro Apps and Store before integrating updates and have no problems with sysprep.
To prevent pending flags, you can use the /prevent-pending option: Code: Dism /Image:C:\test\offline /Add-Package /PackagePath:C:\test\packages\package.cab /PreventPending My personal way to create an updated 8.1 wim: Code: - Download all "8.1 with update" updates by WHD - Use W8UI to integrate all of them offline - Install the image in audit mode in VMWare - Use WUMT to satisfy WU (8.1 WU doesn't run in audit mode) - Sysprep/generalize/oobe/shutdown - Start VMWare with admin rights - Map the VMWare VM disk (59GB partition) - Use (g)imagex with the exclusion list by @abbodi1406 to capture the VM to WIM - Put the WIM in the ISO, generated by W8UI - Install normally
No more tweaks. And yes I remove Store but I keep it's service and other components needed for immersive control panel. Never had problems myself before I lost my stack of WHD updates. They were 92 in total. I downloaded them again and this time they are around 108 and one of those excess update is what causing this. Thank you for the input @AeonX. I'll do some more tests and tell you how it goes.
I'm happy to integrate the updates in audit mode with /offline switch and cleanup the component store in one stroke. But no matter which way I go, as soon as I integrate the updates Sysprep fails and if I integrate it before removing the packages, lot's of packages become stubborn and won't get uninstall. Apparently, the only option here to move forward is to locate the faulty update and get rid of it. Thank you for the help @Enthousiast highly appreciated.
Other users are also having the same issue https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-672#post-1562456
/offline switch on an online scenario? When updates are integrated offline, some will set the pending flag, when the wim next is installed, all pending flags will disappear and the state will become "installed". You say "the faulty update" it's probably more like "the faulty modification/chopping"? Can you post a specified list of what you do and if it contains a packagelist, post that too.
Not really complicated and the only way to get an uptodate image with no pending flags set and in audit mode you can install software too, so it's pre-installed when the image is used for installation on other systems.
No, that was a typo. This is the command I use Code: DISM /Online /Add-Package /PackagePath:"c:\path\here.cab" That's what you told me years ago, that's what I've been doing ever since. Audit mode is the preferred mode to integrate the updates. Absolutely not 100% sure. This happens before doing any modifications at the level of uninstalling packages. Besides, I'm not the only one who is facing these errors. https://forums.mydigitallife.net/threads/msmg-toolkit.50572/page-672#post-1562456 Also, Been chopping OS'es for so long now, I can tell where the problem lies. On this occasion, it's an update that's doing this.
Thank you for the extended support @Enthousiast, it will take me some time to prepare the entire method I go through. I'll post it in a bit.
@AeonX good job bro, congrats although many speak ill of the W8.1 it is an good system depending on what the M$FT will do in the next editions of Windows may be able to stay until 2023 IMO...
Thank you for the help @AeonX, @MSMG is currently working on a fix, I'm waiting for an updated version of his toolkit. In any case, I'll sure to remember to not to integrate the updates you you left out and merge the Registry you linked. Thanks again. Highly appreciated bud
Mount the image with MSMG toolkit Integrate updates Remove Metro Apps Remove Windows Components (VPN Plugins, Homegroup, Onedrive etc) Remove packages cleanup and save Go to Audit Mode Remove some more features like Mobile Location, Tablet PC etc. Cleanup Component store Do some tweaking Sysprep Capture Use List of Packages Removed Code: Microsoft-Hyper-V-ClientEdition-Package Microsoft-Hyper-V-Common-Drivers-Package Microsoft-Hyper-V-Guest-Integration-Drivers-Package Microsoft-Hyper-V-Management-Clients-Package Microsoft-Hyper-V-Management-PowerShell-Package Microsoft-Hyper-V-Server-Drivers-Package Microsoft-Virtualization-Client-Interop-Package Microsoft-Windows-Anytime-Upgrade-Package Microsoft-Windows-Anytime-Upgrade-Results-Package Microsoft-Windows-BusinessScanning-Feature-Package-admin Microsoft-Windows-BusinessScanning-Feature-Package Microsoft-Windows-Camera-Package Microsoft-Windows-MediaPlayer-Package Microsoft-Windows-COM-MSMQ-package Microsoft-Windows-DirectoryServices-ADAM-Client-Package Microsoft-Windows-Embedded-EmbeddedLockdown-Package Microsoft-Windows-EnterpriseClientSync-Host-Package Microsoft-Windows-FCI-Client-Package Microsoft-Windows-HandwritingRecognizer-Package Microsoft-Windows-Help-ClientUA-Core-Package Microsoft-Windows-Help-ClientUA-CoreSingleLanguage-Package Microsoft-Windows-Help-ClientUA-Professional-Package Microsoft-Windows-Help-ClientUA-ProfessionalWMC-Package Microsoft-Windows-Identity-Foundation-Package Microsoft-Windows-IIS-WebServer-AddOn-2-Package Microsoft-Windows-IIS-WebServer-AddOn-Package Microsoft-Windows-IIS-WebServer-Package Microsoft-Windows-Killbits-Package Microsoft-Windows-LanguageEnablingComponents-Package Microsoft-Windows-Legacy-Components-OC-Package Microsoft-Windows-MCUpdate-Package Microsoft-Windows-SNMP-Package Microsoft-Windows-WMI-SNMP-Provider-Package Microsoft-Windows-MCUpdate-UpdateDLLs-IntelAMD-Package Microsoft-Windows-MediaCenter-Package Microsoft-Windows-Media-Streaming-Package Microsoft-Windows-Miracast-Driver-Package Microsoft-Windows-MSMQ-Client-Home-Premium-Package Microsoft-Windows-MSMQ-Client-Package Microsoft-Windows-NCB-mergedcomponents-Package Microsoft-Windows-NCB-Package Microsoft-Windows-OfflineFiles-Package Microsoft-Windows-OfflineFiles-UI-Package Microsoft-Windows-PeerToPeer-Full-Package Microsoft-Windows-PointOfService-Package Microsoft-Windows-Printer-Drivers-Package Microsoft-Windows-Printing-Foundation-Package Microsoft-Windows-Printing-LocalPrinting-Home-Package Microsoft-Windows-Printing-PremiumTools-Package Microsoft-Windows-Printing-XPSServices-Package Microsoft-Windows-RDC-Package Microsoft-Windows-RemoteDesktop-UserModeRDProtocol-Package Microsoft-Windows-RemoteFX-RemoteClient-Setup-Package Microsoft-Windows-RotMgr-Package Microsoft-Windows-SecureStartup-Basic-Package Microsoft-Windows-SecureStartup-Package Microsoft-Windows-Shell-SoundThemes-Package Microsoft-Windows-SMB1-Package Microsoft-Windows-SnippingTool-Package Microsoft-Windows-StickyNotes-Package Microsoft-Windows-SpeechRecognizer-Package Microsoft-Windows-Store-Client-Package Microsoft-Windows-TabletPC-Package Microsoft-Windows-Telnet-Client-Package Microsoft-Windows-Telnet-Server-Package Microsoft-Windows-TerminalServices-CommandLineTools-Package Microsoft-Windows-TerminalServices-MiscRedirection-Package Microsoft-Windows-TerminalServices-WMIProvider-Package Microsoft-Windows-TFTP-Client-Package Microsoft-Windows-VirtualPC-Licensing-Package Microsoft-Windows-VirtualPC-USB-RPM-Package Microsoft-Windows-VirtualXP-Licensing-Package Microsoft-Windows-WebcamExperience-Package Microsoft-Windows-WindowsMediaPlayer-Troubleshooters-Package Microsoft-Windows-WinOcr-Package Microsoft-Windows-WinSATMediaFiles-Package Microsoft-Windows-WMPNetworkSharingService-Package Microsoft-Windows-WorkplaceJoin-Package Microsoft-Windows-Xps-Foundation-Client-Package Windows-Defender-AM-Default-Definitions-Package Windows-Defender-Client-Package Windows-Defender-Group-Policy-Package Please do ask if you need anything else and thanks again for the help.