Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pro image with index 6 #9

Open
chisan0501 opened this issue Aug 14, 2020 · 1 comment
Open

pro image with index 6 #9

chisan0501 opened this issue Aug 14, 2020 · 1 comment

Comments

@chisan0501
Copy link

dism /Apply-Image /ImageFile:%usbbroot%:\images\x64\install.wim /Index:6 /ApplyDir:W:\ /scratchdir:w:\scratchdir

we are running into an issue with the pro wim being set to index 6, dism will throw an parameter incorrect error, after chaning the index to 1 , the script would run, I understand index 6 is probably for Pro, is there a way to check the all the avaiable image in an WIM?

@HaroldMitts
Copy link
Owner

By default, the Windows wim file has many indexes. Index 6 is currently set to Pro. This can change occasionally, depending on how Microsoft positions the versions. It has remained stable however, for several versions, but it can change with any new build released. Fortunately, this is an easy thing to check using DISM. Simply open the command prompt and run the following command

DISM /Get-WimInfo /WimFile:"C:\TMP\Install.wim"

In this example, the image is saved to c:\tmp but you could have the image anywhere you like.

I suspect that you might have a custom image with only one index as the result of capturing an image. In this case, the image will not contain any index except for 1. If this is the case, we need to modify the wininstall.cmd script to accommodate a custom image. This is not difficult, and we can add another menu selection, for example menu selection 4 for custom image and then the code would simply apply the image index 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants