Skip to content

parameter name 'StartComponentCleanup' not match on latest script #321

Open
@aesirvalor

Description

@aesirvalor

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 operation completed successfully.
Cleaning up image...
Repair-WindowsImage : A parameter cannot be found that matches parameter name 'StartComponentCleanup'.
At D:\WIN11-TINY\tiny11builder24h2\tiny11maker.ps1:388 char:51
... owsImage -Path $ScratchDisk\scratchdir -StartComponentCleanup -ResetB ...
~~~~~~~~~~~~~~~~~~~~~~
CategoryInfo : InvalidArgument: (:) [Repair-WindowsImage], ParameterBindingException
FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Dism.Commands.RepairWindowsImageCommand

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:

Name Value

PSVersion 5.1.19041.2364
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.2364
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions