In observation if to avoid causing "PackagePending" the DISM offline /Cleanup-Image /StartComponentCleanup /ResetBase will work perfectly. But is there a hint of which package will cause this or we just have to take it blindly and test it all one by one? That's alot of work. -- EDIT -- Know what, nevermind because long list of packages that are just gonna cause PackagePending anyway. And i'm not a fan of auditing an deployed image so i'll have to suck it up install it and run Cleanup-Image online to achieve the same result or run through the list filter the one will cause Pending and run those removal batch on last after cleaned the rest.
@MyDigito, your using differnet Dism versions (10.0.10240.16384 & 10.0.10532.0). Install the ADK & only use that one from the ADK command prompt which sets correct paths....
Ah. When you downloaded it with media creation tool, the install.wim is a install.esd. Try to rename install.wim to install.esd (dont know, if this must be) and then use a tool to convert esd to wim. After that, you dism command will work.
Works great! Spoiler Code: Microsoft Windows [Version 10.0.10240] (c) 2015 Microsoft Corporation. All rights reserved. C:\WINDOWS\system32>Dism /Mount-Image /ImageFile:C:\Install.wim /index:1 /MountDir:C:\mount Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Mounting image [==========================100.0%==========================] The operation completed successfully. C:\WINDOWS\system32>Dism /Image:C:\mount /Get-CurrentEdition Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 Current edition is: Current Edition : Professional The operation completed successfully. C:\WINDOWS\system32>Dism /Image:C:\mount /Get-TargetEditions Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 Editions that can be upgraded to: Target Edition : Enterprise Target Edition : Education The operation completed successfully. C:\WINDOWS\system32>Dism /Image:C:\mount /Set-Edition:Enterprise Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 Starting to update components... Removing package Microsoft-Windows-EducationEdition~31bf3856ad364e35~amd64~~10.0.10240.16384 Removing package Microsoft-Windows-EducationEdition~31bf3856ad364e35~amd64~~10.0.10240.16384 Removing package Microsoft-Windows-EducationEdition~31bf3856ad364e35~amd64~~10.0.10240.16384 [==========================100.0%==========================] Finished updating components. Starting to apply edition-specific settings... Finished applying edition-specific settings. The operation completed successfully. C:\WINDOWS\system32>Dism /Image:C:\mount /Get-CurrentEdition Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Image Version: 10.0.10240.16384 Current edition is: Current Edition : Enterprise The operation completed successfully. C:\WINDOWS\system32>Dism /Unmount-Image /MountDir:C:\mount /commit Deployment Image Servicing and Management tool Version: 10.0.10240.16384 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. C:\WINDOWS\system32>
It seems you forgot to change the flags. e.g. Spoiler imagex /flags "Enterprise" /info E:\win10\sources\install.wim 1 "Windows 10 Enterprise" "Windows 10 Enterprise"
i didn't know that professional could be converted to enterprise. this is good news for me as i won't have to update, install and then capture enterprsie edition seperately.
How you solve this problem, can you please tell me. " Installation et configuration des outils DaRT en cours... L’exécution de la commande s’est arrêtée, car la variable de préférence « ErrorActionPreference » ou le paramètre courant a la valeur Stop : Cette demande n’est pas prise en charge. (Exception de HRESULT : 0x80070032) Nettoyage des fichiers temporaires Dossier temporaire : C:\Users\Chibi ANUBIS\AppData\Local\Temp\DaRT_Mount_2015.08.20.11.56.29 " Many thanks
I have a windows 10 in a partition hd,but I know make capture install.win happen... i want capture the image of hd directly in install.esd?,its possible?
GIMAGEX doubt in Windows 10...I use Gimagex for capture and exporting images since seven and 8,8.1,my doubt... gimagex is updated until 8.1 but not 10,has problem use it in windows 10 for capture and exporting/apply images to the Windows 10?