Closed achawla29 closed 1 month ago
Hi, your dism log is showing the following error
I also noticed that you appear to be using Windows 10 as the host machine to build the FFU. I built a Windows 10 machine to see if I can repro and I couldn't. Can you try with Windows 11?
I don't know exactly why dism can't get the file version info of the mounted PE image. Leads me to believe there could be some corruption somewhere, or perhaps AV/XDR software getting in the way and having a file lock/open handle on dismprov.dll. But these are just guesses on my part.
FWIW I barely test building the FFUs from a Windows 10 machine these days. Would strongly encourage using Windows 11 to build the FFU. You can still build Windows 10 FFUs for your machines, just do it from a Windows 11 machine if possible.
Thanks a lot for getting back.
Sure, I will upgrade my host machine to Windows 11 and give it another go.
Really excited to get this to a working state, it would save us lot of time, thanks again
Let me know how it goes so I can close the issue. Thanks!
Thanks for the tip, I was able to build the FFU with off the domain the Windows 11 PC, something was definitely blocking some dism commands on the domain joined machine.
Could I ask couple more questions on the workflow, happy to raise another issue if you want
Do we suppose to shutdown the VM manually after apps installation, sysprep etc?
After applying the FFU on the physical test machine, machine logged in automatically with administrator account and sysprep window was displayed with reboot option, is that how it supposed to work? Please see the attached pic below
Thanks for your help so far
Please close the ticket, I have managed to fix the sysprep (audit mode) issue.
Thanks for your help for the great solution
Could I please get some help with the attached error message, have tries 2-3 tries but it keeps failing at the same spot. Once the VM Starts I get the below error message in the PowerShell window
VERBOSE: Mounting WinPE media to add WinPE optional components VERBOSE: Mounting complete VERBOSE: Adding Package WinPE-WMI.cab Creating capture media failed VERBOSE: Creating capture media failed with error The request is not supported. VERBOSE: Dismounting image at C:\FFUDevelopment\WinPE\mount
LogPath : C:\Windows\Logs\DISM\dism.log
VERBOSE: Successfully dismounted image at C:\FFUDevelopment\WinPE\mount VERBOSE: Remove unused mountpoints VERBOSE: Removal complete Add-WindowsPackage : The request is not supported. At C:\FFUDevelopment\BuildFFUVM.ps1:2942 char:9
PS C:\FFUDevelopment>
Also, please find the attached DISM and FFUDevelopment log files
dism.log FFUDevelopment.log
I am using the below command for the solution
.\BuildFFUVM.ps1 -WindowsSKU 'Pro' -Installapps $true -InstallOffice $true -InstallDrivers $true -CopyDrivers $true -VMSwitchName 'External' -VMHostIPAddress '192.168.0.14' -CreateDeploymentMedia $true -BuildUSBDrive $true -UpdateLatestCU $false -UpdateLatestNet $true -UpdateLatestDefender $true -UpdateEdge $true -UpdateOneDrive $true -RemoveFFU $true -WindowsRelease 10 -WindowsVersion '22H2' -Verbose -CopyUnattend $true
Thanks for the help in advance