tiny11builder
tiny11builder copied to clipboard
找不到与参数名称“StartComponentCleanup”匹配的参数。
......
Deployment Image Servicing and Management tool
Version: 10.0.19041.3636
Image Version: 10.0.26100.4946
The operation completed successfully.
Removing Edge:
Removing OneDrive:
Removal complete!
Loading registry...
Bypassing system requirements(on the system image):
Disabling Sponsored Apps:
Enabling Local Accounts on OOBE:
Disabling Reserved Storage:
Disabling BitLocker Device Encryption
Disabling Chat icon:
Removing Edge related registries
Disabling OneDrive folder backup
Disabling Telemetry:
Prevents installation or DevHome and Outlook:
Disabling Copilot
Prevents installation of Teams:
Prevent installation of New Outlook :
Deleting scheduled task definition files...
Task files have been deleted.
Unmounting Registry...
Cleaning up image...
PS J:\tiny11builder-06-09-25> TerminatingError(Repair-WindowsImage):“找不到与参数名称“StartComponentCleanup”匹配的参数。”
Repair-WindowsImage : 找不到与参数名称“StartComponentCleanup”匹配的参数。
所在位置 J:\tiny11builder-06-09-25\tiny11maker.ps1:271 字符: 51
+ ... owsImage -Path $ScratchDisk\scratchdir -StartComponentCleanup -ResetB ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Repair-WindowsImage],ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Dism.Commands.RepairWindowsImageCommand
Repair-WindowsImage : 找不到与参数名称“StartComponentCleanup”匹配的参数。
所在位置 J:\tiny11builder-06-09-25\tiny11maker.ps1:271 字符: 51
+ ... owsImage -Path $ScratchDisk\scratchdir -StartComponentCleanup -ResetB ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Repair-WindowsImage],ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Dism.Commands.RepairWindowsImageCommand
Cleanup complete.
Unmounting image...
LogPath : C:\Windows\Logs\DISM\dism.log
ScratchDirectory :
LogLevel : WarningsInfo
Exporting image...
部 署 映 像 服 务 和 管 理 工 具
版 本 : 10.0.19041.3636
正 在 导 出 映 像
[==========================100.0%==========================]
操 作 成 功 完 成 。
Windows image completed. Continuing with boot.wim.
Mounting boot image:
已 处 理 的 文 件 : \tiny11\sources\boot.wim
已 成 功 处 理 1 个 文 件 ; 处 理 0 个 文 件 时 失 败
Path : \scratchdir
Online : False
Loading registry...
操 作 成 功 完 成 。
操 作 成 功 完 成 。
操 作 成 功 完 成 。
操 作 成 功 完 成 。
操 作 成 功 完 成 。
Bypassing system requirements(on the setup image):
Tweaking complete!
Unmounting Registry...
Unmounting image...
LogPath : C:\Windows\Logs\DISM\dism.log
ScratchDirectory :
LogLevel : WarningsInfo
The tiny11 image is now completed. Proceeding with the making of the ISO...
Copying unattended file for bypassing MS account on OOBE...
Creating ISO image...
ADK folder not found. Will be using bundled oscdimg.exe.
Downloading oscdimg.exe...
oscdimg.exe downloaded successfully.
OSCDIMG 2.56 CD-ROM and DVD-ROM Premastering Utility
Copyright (C) Microsoft, 1993-2012. All rights reserved.
Licensed only for producing Microsoft authorized content.
Scanning source tree (1000 files in 100 directories)
Scanning source tree complete (1065 files in 103 directories)
Computing directory information complete
Image file is 5452201984 bytes (before optimization)
Writing 1065 files in 103 directories to J:\tiny11builder-06-09-25\tiny11.iso
100% complete
Storage optimization saved 66 files, 15337472 bytes (1% of image)
After optimization, image file is 5439367168 bytes
Space saved because of embedding, sparseness or optimization = 15337472
Done.
Creation completed! Press any key to exit the script...
Does this ISO file can be use?
I have the same error message - with different Win11.iso's as base. I first used the official European Multilanguage MS Win11 24H2 ISO and then I created (today) an ISO (DE-DE) with MS Media Creation Tool.
For the first tiny11 run I used the 24H2 ISO and selected the "Windows 11 Pro-N" as base. In the second tiny11 run I used the MC ISO and selected "Windows 11 Pro".
In both runs I got the above error:
Repair-WindowsImage : Es wurde kein Parameter gefunden, der dem Parameternamen "StartComponentCleanup" entspricht.
In D:\Install\System\tiny11builder-06-09-25\tiny11maker.ps1:271 Zeichen:51
+ ... owsImage -Path $ScratchDisk\scratchdir -StartComponentCleanup -ResetB ...
+ ~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Repair-WindowsImage], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.Dism.Commands.RepairWindowsImageCommand
The above error line translated: "There's no parameter with name "StartComponentCleanup" found."
I ran the tiny11maker script without command line parameters under "Windows 10 Pro, DE" with the integrated PowerShell prompt (of course as admin):
PSVersion 5.1.19041.6328
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.19041.6328
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
This is a duplicate of https://github.com/ntdevlabs/tiny11builder/issues/321
it seems that it only affects the file size of the .ISO - not the functionality! So yes, you can use the resulting .ISO