ChrisTitusTech / winutil

Chris Titus Tech's Windows Utility - Install Programs, Tweaks, Fixes, and Updates
MIT License
23.27k stars 1.41k forks source link

Bunch of MicroWin error #2876

Open DRYN07 opened 2 weeks ago

DRYN07 commented 2 weeks ago

I get these error messages. Any idea what should I do? Win11 24H2 iso.

What I did:

The class is not registered

image

Access Denied

image

Package removal error

image

Creation failed

image

JFMugen commented 1 week ago

It created the ISO for me, but I had a bunch of errors as well and wanted to put here in case it can help identify the problem.

> Selected: Windows 11 24H2 (Build 26100.1742 - 2024.10), Home/Pro/Edu, English International, [x64]                      Downloading 'Win11_24H2_EnglishInternational_x64.iso' (5.0 GB)...                                                       Moving ISO file. Please wait...                                                                                         File path C:\Users\Gokhan\Downloads\Win11_24H2_EnglishInternational_x64.iso                                             You have enough space for this operation.                                                                               Mounting Iso. Please wait.                                                                                              Done mounting Iso MSFT_DiskImage (ImagePath = "C:\Users\Gokhan\Downloads\Win11_24H2_En..., StorageType = 1)             Iso mounted to 'G'                                                                                                      Setting up mount dir and scratch dirs                                                                                   Mounting Iso. Please wait.                                                                                              Done setting up mount dir and scratch dirs                                                                              Scratch dir is C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901                                   Image dir is C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901                                            Copying Windows image. This will take awhile, please don't use UI or cancel this step!                                  Copy 1158 file(s) from G: to C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901                            Copy complete! Total Time: 0m16s
> Getting image information C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901\sources\install.wim
> Finding suitable Pro edition. This can take some time. Do note that this is an automatic process that might not select the edition you want.
> Selected value '6 : Windows 11 Pro'.....
> Done reading and unpacking ISO
> 
> *********************************
> Check the UI for further steps!!!
> Target ISO location: C:\Users\Gokhan\Desktop\Win11- MicroWin.iso
> Index chosen: '1' from 1 : Windows 11 Home
> Mounting Windows image. This may take a while.
> Mounting complete! Performing removal of applications...
> Remove Features from the image
> You can re-enable the disabled features at any time, using either Windows Update or the SxS folder in <installation media>\Sources.
> Removing features complete!
> Removing OS packages
> 27 package(s) could not be removed. Your image will still work fine, however. Below is information on what packages failed to be removed and why.
> 
> - Permanent package cannot be uninstalled.
> 
>   1) Package_for_DotNetRollup_481~31bf3856ad364e35~amd64~~10.0.9266.1
>   2) Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.1742.1.10
> 
> - The specified package is not valid Windows package.
> 
>   1) Microsoft-Windows-Telnet-Client-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1742                             2) Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1            3) Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package~31bf3856ad364e35~wow64~en-GB~10.0.26100.1            4) Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1742                                 5) Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~wow64~en-GB~10.0.26100.1                                    6) Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~wow64~~10.0.26100.1742                                      7) Microsoft-Windows-WinOcr-FOD-Package~31bf3856ad364e35~wow64~en-GB~10.0.26100.1                                       8) Microsoft-Windows-WinOcr-FOD-Package~31bf3856ad364e35~wow64~~10.0.26100.1742                                         9) HyperV-OptionalFeature-VirtualMachinePlatform-Client-Disabled-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1  10) Microsoft-Windows-TerminalServices-AppServer-Client-FOD-Package~31bf3856ad364e35~wow64~~10.0.26100.1                11) Microsoft-Windows-TFTP-Client-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1742                                                                                                                                                     Removing Items                                                                                                             Deleting C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901\Windows\System32\OneDriveSetup.exe      [                                                                                                            ]        12) Microsoft-Windows-WinOcr-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1742                                                                                                                                                          Removing Items                                                                                                             Deleting C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901\Windows\System32\OneDrive.ico           [                                                                                                            ]        13) Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-GB~11.0.26100.1                       14) Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1742                                  15) Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~wow64~en-GB~10.0.26100.1                                     16) Microsoft-Windows-DirectoryServices-ADAM-Client-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1               21) Microsoft-Windows-SimpleTCP-FOD-Package~31bf3856ad364e35~amd64~en-GB~10.0.26100.1                                                                                                                                                         Removing Appx Bloat                                                                                                     [INFO] In Your local takeown expects 'Y' as a Yes answer.                                                               [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901\Windows\System32\WebThreatDefSvc\*: Access is denied.
> C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901\Windows\System32\WebThreatDefSvc\*: Access is denied.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901\Windows\System32\WebThreatDefSvc\*: Access is denied.
> C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901\Windows\System32\WebThreatDefSvc\*: Access is denied.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> [INFO] In Your local takeown expects 'Y' as a Yes answer.
> Removal complete!
> Create unattend.xml
> Done Create unattend.xml
> Copy unattend.xml file into the ISO
> Done Copy unattend.xml
> Create FirstRun                                                                                                         Done create FirstRun                                                                                                    Copy FirstRun.ps1 into the ISO                                                                                          Done copy FirstRun.ps1                                                                                                  Copy link to winutil.ps1 into the ISO                                                                                   Copy checkinstall.cmd into the ISO                                                                                      Done copy checkinstall.cmd                                                                                              Creating a directory that allows to bypass Wifi setup                                                                   Loading registry                                                                                                        Disabling Teams                                                                                                         Done disabling Teams                                                                                                    Fix Windows Volume Mixer Issue                                                                                          Bypassing system requirements (system image)                                                                            Removing Windows Expedited App: EdgeUpdate                                                                              Removing Windows Expedited App: DevHomeUpdate                                                                           Removing Windows Expedited App: OutlookUpdate
> Removing Windows Expedited App: CrossDeviceUpdate
> Setting all services to start manually
> Enabling Local Accounts on OOBE
> Disabling Sponsored Apps
> Done removing Sponsored Apps
> Disabling Reserved Storage
> Changing theme to dark. This only works on Activated Windows
> Unmounting Registry...
> Cleaning up image...
> Cleanup complete.
> Unmounting image...
> Exporting image into C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901\sources\install2.wim
> Remove old 'C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901\sources\install.wim' and rename C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901\sources\install2.wim
> Windows image completed. Continuing with boot.wim.
> Mounting boot image C:\Users\Gokhan\AppData\Local\Temp\Microwin_20241010_044616_901\sources\boot.wim into C:\Users\Gokhan\AppData\Local\Temp\MicrowinScratch_20241010_044616_901
> Loading registry...
> Bypassing system requirements on the setup image
> Unmounting Registry...
> Unmounting image...
> Creating ISO image
> [INFO] Using oscdimg.exe from: C:\Users\Gokhan\AppData\Local\Temp\oscdimg.exe
>                                                                                                                         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 97 directories)                                                                     Scanning source tree complete (1056 files in 103 directories)                                                                                                                                                                                   Computing directory information complete                                                                                                                                                                                                        Image file is 5095391232 bytes (before optimization)                                                                                                                                                                                             Copying File                                                                                                               Progress                                                                                                                [                                                                                                            ]                                                                                                                                  0.00 MB / 4,846.75 MB                                                                                                                                                                                                                       After optimization, image file is 5082187776 bytes
> Space saved because of embedding, sparseness or optimization = 15710208
> 
> Done.
> OSCDIMG Error Level : 0
> Copying target ISO to the USB drive
> VERBOSE: Performing the operation "Copy File" on target "Item: C:\Users\Gokhan\Desktop\Win11- MicroWin.iso Destination:
>  F:\Win11- MicroWin.iso".
> File copied to Ventoy drive F
> Done Copying target ISO to USB drive!
>  _____
> (____ \
>  _   \ \ ___  ____   ____
> | |   | / _ \|  _ \ / _  )
> | |__/ / |_| | | | ( (/ /
> |_____/ \___/|_| |_|\____)
> 
> 
> Performing Cleanup...
> Done. ISO image is located here: C:\Users\Gokhan\Desktop\Win11- MicroWin.iso