dism.exe /Mount-WIM /WimFile:"E:\install.
wim" /index:1 /MountDir:"C:\W12"
Get Current Edition of Wim file
dism.exe /image:C:\w12-Final /Get-CurrentEdition
Set Product Key to Image
dism.exe /image:"C:\w12" /Set-ProductKey:
Apply Unattended xml file to WIM
dism.exe /image:"C:\w12" /Apply-Unattend:E:\ImageUnattend.xml
After Making the changes commit to changes to Image
dism.exe /Unmount-wim /mountdir:"C:\w12" /commit