-
-
Notifications
You must be signed in to change notification settings - Fork 930
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
parameter name 'StartComponentCleanup' not match on latest script #321
Comments
im getting same exact error,did you found a fix for it? idk if i should skip or nah |
Seems Argument "-StartComponentCleanup" is removed from Dism Module Function "Repair-WindowsImage" ... it is not offered in PowerShell 5 and 7 anymore. Documentation still says it should be there. |
@gunnarhaslinger @ntdevlabs ideas? |
To shrink the WIM-File you have to use "Export-WindowsImage" not "Repair-WindowsImage". By using it with Argument "-compressionType max" it will be smallest possible. |
Can someone send screen shot what commands should I put to fix it please, I'm little confused 🙏 |
@F3NiCy sorry for the wrong pointers. |
@F3NiCy my last comment might be invalid. see I understand your confusion #321 (comment) I would need some time to test this. |
Hi, i run the latest script , so far it run fine,
when about the end at clean up stage , there is an error, the error was
the code in line 388 is
Repair-WindowsImage -Path $ScratchDisk\scratchdir -StartComponentCleanup -ResetBase
but the image was created successful, is it ok to ignore the message ?,
and the out iso file size is 5,623,754,752 , its not much different the the input size 5,819,486,208
iam using windows 10 with powershell version:
The text was updated successfully, but these errors were encountered: