ChrisTitusTech / winutil

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

oscdimg.exe Hashes do not match. File may be corrupted or tampered with. #1323

Closed DiegcD closed 8 months ago

DiegcD commented 8 months ago

Describe the bug When downloading the oscdimg.exe from github the powershell promp says hashes don't match.

To Reproduce Steps to reproduce the behavior:

  1. Go to MicroWin tab
  2. Click on Download oscdimg.exe from CTT github repo
  3. Click on select windows iso
  4. Choose a windows 11 iso
  5. The powershell will show hashes don't match

Expected behavior Hashes should match

Screenshots Captura

juliocoliveira commented 8 months ago

This is already fixed in the branch Test-2023-12-20 by commit: https://github.com/ChrisTitusTech/winutil/commit/886cbc8a8d6f8aa47206bf237b7701affaa3c57b you will just have to wait until Chris decides to merge that branch with the main.

Galamooth commented 8 months ago

This is already fixed in the branch Test-2023-12-20 by commit: 886cbc8 you will just have to wait until Chris decides to merge that branch with the main.

You mention that it has already been corrected. I still have the problem. And I don't have s.o. Could you please share a temporary solution? Thank you

juliocoliveira commented 8 months ago

This is already fixed in the branch Test-2023-12-20 by commit: 886cbc8 you will just have to wait until Chris decides to merge that branch with the main.

You mention that it has already been corrected. I still have the problem. And I don't have s.o. Could you please share a temporary solution? Thank you

You are talking about the hash mismatch, But it by itself means nothing, Is just a warning, does not do anything, Your real issue here is the "Invoke-WPFMicroWin: Unexpected error", But I'm sorry I cannot help you there.

You can try the test branch by running:

irm https://raw.githubusercontent.com/ChrisTitusTech/winutil/Test-2023-12-20/winutil.ps1 | iex

But I don't know if your error was already fixed in there.

Galamooth commented 8 months ago

Esto ya está solucionado en la rama Test-2023-12-20 mediante commit: 886cbc8 solo tendrás que esperar hasta que Chris decida fusionar esa rama con la principal.

Mencionas que ya ha sido corregido. Todavía tengo el problema. Y no lo tengo. ¿Podrías compartir una solución temporal? Gracias

Estás hablando de la falta de coincidencia de hash, pero por sí solo no significa nada, es solo una advertencia, no hace nada. Tu verdadero problema aquí es el "Invoke-WPFMicroWin: error inesperado", pero lamento no poder ayudarte. .

Puedes probar la rama de prueba ejecutando:

irm https://raw.githubusercontent.com/ChrisTitusTech/winutil/Test-2023-12-20/winutil.ps1 | iex

Pero no sé si tu error ya se solucionó allí.

Thanks for the prompt response. The problem is that when installing the already modified iso, no changes are reflected... It does not eliminate the bloat or edge or defend as it should, nor is there a bypass Of counts. What could it be?

juliocoliveira commented 8 months ago

This seems to be fixed already in a Pull Request: https://github.com/ChrisTitusTech/winutil/pull/1313. You could try to run his version by:

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

But you have to build the iso again.

juliocoliveira commented 8 months ago

I tested that branch, And is working fine.


    CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
 CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
  CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT

====Chris Titus Tech=====
=====Windows Toolbox=====
Checking if Chocolatey is Installed...
Chocolatey Already Installed
Invoking WPFGetIso
         _                     __    __  _
  /\/\  (_)  ___  _ __   ___  / / /\ \ \(_) _ __
 /    \ | | / __|| '__| / _ \ \ \/  \/ /| || '_ \
/ /\/\ \| || (__ | |   | (_) | \  /\  / | || | | |
\/    \/|_| \___||_|    \___/   \/  \/  |_||_| |_|
oscdimg.exe on system: False
[INFO] oscdimg.exe SHA-256 Hash: AB9E161049D293B544961BFDF2D61244ADE79376D6423DF4F60BF9B147D3C78D
Hashes match. File is verified.
oscdimg.exe was successfully downloaded from github
File path D:\Setup\SetupOS\Win11_23H2_English_x64v2-31-12-2023.iso
Mounting Iso. Please wait.
Done mounting Iso MSFT_DiskImage (ImagePath = "D:\Setup\SetupOS\Win11_23H2_English_x64..., StorageType = 1)
Iso mounted to 'E'
Setting up mount dir and scratch dirs
Done setting up mount dir and scratch dirs
Scratch dir is C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Image dir is C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copying Windows image. This will take awhile, please don't use UI or cancel this step!
Copy 1031(s) from E: to C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copy complete! Total Time: 0m28s
Getting image information C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim
Selected value '1 : Windows 11 Home'.....
Done reading and unpacking ISO

*********************************
Check the UI for further steps!!!
Index chosen: '6' from 6 : Windows 11 Pro
Mounting Windows image. This may take a while.
Mounting complete! Performing removal of applications...
Remove Features from the image
Removing features complete!
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.
[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.
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
ICO file created at: C:\Users\talk\AppData\Local\Temp\cttlogo.ico
Shortcut to winutil created at: C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344\Windows\Users\Default\Desktop\WinUtil.lnk
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
Bypassing system requirements (system image)
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\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Remove old 'C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim' and rename C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Windows image completed. Continuing with boot.wim.
Mounting boot image C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\boot.wim into C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Loading registry...
Bypassing system requirements on the setup image
Unmounting Registry...
Unmounting image...
Creating ISO image
[INFO] Using oscdimg.exe from: C:\Users\talk\AppData\Local\Temp\oscdimg.exe
 _____
(____ \
 _   \ \ ___  ____   ____
| |   | / _ \|  _ \ / _  )
| |__/ / |_| | | | ( (/ /
|_____/ \___/|_| |_|\____)

Performing Cleanup...
Done. ISO image is located here: C:\Users\talk\AppData\Local\Temp\microwin.iso
Bye bye!
**********************
PowerShell transcript end
End time: 20231231162641
**********************

If you are still having issues even in this branch, you must have something different in your system, I don't know if it being spanish would change anything. I tested in english iso, windows 11 23h2 English windows and works great. There is still the shortcuts in the main page of Start Menu, but that is just shortcuts, the real apps are not installed as you can see in the "All Apps" menu in the Start Menu.

Galamooth commented 8 months ago

Probé esa rama y está funcionando bien.


    CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
 CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
  CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT

====Chris Titus Tech=====
=====Windows Toolbox=====
Checking if Chocolatey is Installed...
Chocolatey Already Installed
Invoking WPFGetIso
         _                     __    __  _
  /\/\  (_)  ___  _ __   ___  / / /\ \ \(_) _ __
 /    \ | | / __|| '__| / _ \ \ \/  \/ /| || '_ \
/ /\/\ \| || (__ | |   | (_) | \  /\  / | || | | |
\/    \/|_| \___||_|    \___/   \/  \/  |_||_| |_|
oscdimg.exe on system: False
[INFO] oscdimg.exe SHA-256 Hash: AB9E161049D293B544961BFDF2D61244ADE79376D6423DF4F60BF9B147D3C78D
Hashes match. File is verified.
oscdimg.exe was successfully downloaded from github
File path D:\Setup\SetupOS\Win11_23H2_English_x64v2-31-12-2023.iso
Mounting Iso. Please wait.
Done mounting Iso MSFT_DiskImage (ImagePath = "D:\Setup\SetupOS\Win11_23H2_English_x64..., StorageType = 1)
Iso mounted to 'E'
Setting up mount dir and scratch dirs
Done setting up mount dir and scratch dirs
Scratch dir is C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Image dir is C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copying Windows image. This will take awhile, please don't use UI or cancel this step!
Copy 1031(s) from E: to C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copy complete! Total Time: 0m28s
Getting image information C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim
Selected value '1 : Windows 11 Home'.....
Done reading and unpacking ISO

*********************************
Check the UI for further steps!!!
Index chosen: '6' from 6 : Windows 11 Pro
Mounting Windows image. This may take a while.
Mounting complete! Performing removal of applications...
Remove Features from the image
Removing features complete!
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.
[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.
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
ICO file created at: C:\Users\talk\AppData\Local\Temp\cttlogo.ico
Shortcut to winutil created at: C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344\Windows\Users\Default\Desktop\WinUtil.lnk
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
Bypassing system requirements (system image)
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\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Remove old 'C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim' and rename C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Windows image completed. Continuing with boot.wim.
Mounting boot image C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\boot.wim into C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Loading registry...
Bypassing system requirements on the setup image
Unmounting Registry...
Unmounting image...
Creating ISO image
[INFO] Using oscdimg.exe from: C:\Users\talk\AppData\Local\Temp\oscdimg.exe
 _____
(____ \
 _   \ \ ___  ____   ____
| |   | / _ \|  _ \ / _  )
| |__/ / |_| | | | ( (/ /
|_____/ \___/|_| |_|\____)

Performing Cleanup...
Done. ISO image is located here: C:\Users\talk\AppData\Local\Temp\microwin.iso
Bye bye!
**********************
PowerShell transcript end
End time: 20231231162641
**********************

Si aún tienes problemas incluso en esta rama, debes tener algo diferente en tu sistema, no sé si ser español cambiaría algo. Probé en inglés iso, windows 11 23h2 inglés windows y funciona muy bien. Todavía existen los accesos directos en la página principal del Menú Inicio, pero son solo accesos directos, las aplicaciones reales no están instaladas como puede ver en el menú "Todas las aplicaciones" en el Menú Inicio.

Thank you so much. I was using the last 23h2 of uupdump, do you think that's the problem? Should I necessarily use the official download? I'm testing on an nee s.o. again I will try with the latest branch thanks

juliocoliveira commented 8 months ago

Probé esa rama y está funcionando bien.


    CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
 CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
  CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT

====Chris Titus Tech=====
=====Windows Toolbox=====
Checking if Chocolatey is Installed...
Chocolatey Already Installed
Invoking WPFGetIso
         _                     __    __  _
  /\/\  (_)  ___  _ __   ___  / / /\ \ \(_) _ __
 /    \ | | / __|| '__| / _ \ \ \/  \/ /| || '_ \
/ /\/\ \| || (__ | |   | (_) | \  /\  / | || | | |
\/    \/|_| \___||_|    \___/   \/  \/  |_||_| |_|
oscdimg.exe on system: False
[INFO] oscdimg.exe SHA-256 Hash: AB9E161049D293B544961BFDF2D61244ADE79376D6423DF4F60BF9B147D3C78D
Hashes match. File is verified.
oscdimg.exe was successfully downloaded from github
File path D:\Setup\SetupOS\Win11_23H2_English_x64v2-31-12-2023.iso
Mounting Iso. Please wait.
Done mounting Iso MSFT_DiskImage (ImagePath = "D:\Setup\SetupOS\Win11_23H2_English_x64..., StorageType = 1)
Iso mounted to 'E'
Setting up mount dir and scratch dirs
Done setting up mount dir and scratch dirs
Scratch dir is C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Image dir is C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copying Windows image. This will take awhile, please don't use UI or cancel this step!
Copy 1031(s) from E: to C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copy complete! Total Time: 0m28s
Getting image information C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim
Selected value '1 : Windows 11 Home'.....
Done reading and unpacking ISO

*********************************
Check the UI for further steps!!!
Index chosen: '6' from 6 : Windows 11 Pro
Mounting Windows image. This may take a while.
Mounting complete! Performing removal of applications...
Remove Features from the image
Removing features complete!
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.
[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.
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
ICO file created at: C:\Users\talk\AppData\Local\Temp\cttlogo.ico
Shortcut to winutil created at: C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344\Windows\Users\Default\Desktop\WinUtil.lnk
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
Bypassing system requirements (system image)
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\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Remove old 'C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim' and rename C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Windows image completed. Continuing with boot.wim.
Mounting boot image C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\boot.wim into C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Loading registry...
Bypassing system requirements on the setup image
Unmounting Registry...
Unmounting image...
Creating ISO image
[INFO] Using oscdimg.exe from: C:\Users\talk\AppData\Local\Temp\oscdimg.exe
 _____
(____ \
 _   \ \ ___  ____   ____
| |   | / _ \|  _ \ / _  )
| |__/ / |_| | | | ( (/ /
|_____/ \___/|_| |_|\____)

Performing Cleanup...
Done. ISO image is located here: C:\Users\talk\AppData\Local\Temp\microwin.iso
Bye bye!
**********************
PowerShell transcript end
End time: 20231231162641
**********************

Si aún tienes problemas incluso en esta rama, debes tener algo diferente en tu sistema, no sé si ser español cambiaría algo. Probé en inglés iso, windows 11 23h2 inglés windows y funciona muy bien. Todavía existen los accesos directos en la página principal del Menú Inicio, pero son solo accesos directos, las aplicaciones reales no están instaladas como puede ver en el menú "Todas las aplicaciones" en el Menú Inicio.

Thank you so much. I was using the last 23h2 of uupdump, do you think that's the problem? Should I necessarily use the official download? I'm testing on an nee s.o. again I will try with the latest branch thanks

Yes, that could be the issue. I saw other people reporting the other ISOs from different sources other than microsoft website can not work. Download from https://www.microsoft.com/software-download/windows11 and download the ISO from there, Not the media creation tool. that could be an issue as well.

Galamooth commented 8 months ago

Probé esa rama y está funcionando bien.


    CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
 CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
  CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT

====Chris Titus Tech=====
=====Windows Toolbox=====
Checking if Chocolatey is Installed...
Chocolatey Already Installed
Invoking WPFGetIso
         _                     __    __  _
  /\/\  (_)  ___  _ __   ___  / / /\ \ \(_) _ __
 /    \ | | / __|| '__| / _ \ \ \/  \/ /| || '_ \
/ /\/\ \| || (__ | |   | (_) | \  /\  / | || | | |
\/    \/|_| \___||_|    \___/   \/  \/  |_||_| |_|
oscdimg.exe on system: False
[INFO] oscdimg.exe SHA-256 Hash: AB9E161049D293B544961BFDF2D61244ADE79376D6423DF4F60BF9B147D3C78D
Hashes match. File is verified.
oscdimg.exe was successfully downloaded from github
File path D:\Setup\SetupOS\Win11_23H2_English_x64v2-31-12-2023.iso
Mounting Iso. Please wait.
Done mounting Iso MSFT_DiskImage (ImagePath = "D:\Setup\SetupOS\Win11_23H2_English_x64..., StorageType = 1)
Iso mounted to 'E'
Setting up mount dir and scratch dirs
Done setting up mount dir and scratch dirs
Scratch dir is C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Image dir is C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copying Windows image. This will take awhile, please don't use UI or cancel this step!
Copy 1031(s) from E: to C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copy complete! Total Time: 0m28s
Getting image information C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim
Selected value '1 : Windows 11 Home'.....
Done reading and unpacking ISO

*********************************
Check the UI for further steps!!!
Index chosen: '6' from 6 : Windows 11 Pro
Mounting Windows image. This may take a while.
Mounting complete! Performing removal of applications...
Remove Features from the image
Removing features complete!
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.
[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.
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
ICO file created at: C:\Users\talk\AppData\Local\Temp\cttlogo.ico
Shortcut to winutil created at: C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344\Windows\Users\Default\Desktop\WinUtil.lnk
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
Bypassing system requirements (system image)
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\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Remove old 'C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim' and rename C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Windows image completed. Continuing with boot.wim.
Mounting boot image C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\boot.wim into C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Loading registry...
Bypassing system requirements on the setup image
Unmounting Registry...
Unmounting image...
Creating ISO image
[INFO] Using oscdimg.exe from: C:\Users\talk\AppData\Local\Temp\oscdimg.exe
 _____
(____ \
 _   \ \ ___  ____   ____
| |   | / _ \|  _ \ / _  )
| |__/ / |_| | | | ( (/ /
|_____/ \___/|_| |_|\____)

Performing Cleanup...
Done. ISO image is located here: C:\Users\talk\AppData\Local\Temp\microwin.iso
Bye bye!
**********************
PowerShell transcript end
End time: 20231231162641
**********************

Si aún tienes problemas incluso en esta rama, debes tener algo diferente en tu sistema, no sé si ser español cambiaría algo. Probé en inglés iso, windows 11 23h2 inglés windows y funciona muy bien. Todavía existen los accesos directos en la página principal del Menú Inicio, pero son solo accesos directos, las aplicaciones reales no están instaladas como puede ver en el menú "Todas las aplicaciones" en el Menú Inicio.

Thank you so much. I was using the last 23h2 of uupdump, do you think that's the problem? Should I necessarily use the official download? I'm testing on an nee s.o. again I will try with the latest branch thanks

Yes, that could be the issue. I saw other people reporting the other ISOs from different sources other than microsoft website can not work. Download from https://www.microsoft.com/software-download/windows11 and download the ISO from there, Not the media creation tool. that could be an issue as well.

I just tried it on a new system with the original iso in Spanish and English. same error

CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT

CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T C:::::C CCCCCCTTTTTT T:::::T TTTTTTTTTTTT T:::::T TTTTTT C:::::C T:::::T T:::::T C:::::C T:::::T T:::::T C:::::C T:::::T T:::::T C:::::C T:::::T T:::::T C:::::C T:::::T T:::::T C:::::C T:::::T T:::::T C:::::C CCCCCC T:::::T T:::::T C:::::CCCCCCCC::::C TT:::::::TT TT:::::::TT CC:::::::::::::::C T:::::::::T T:::::::::T CCC::::::::::::C T:::::::::T T:::::::::T CCCCCCCCCCCCC TTTTTTTTTTT TTTTTTTTTTT
====Chris Titus Tech===== =====Windows Toolbox===== Checking if Chocolatey is Installed... Chocolatey Already Installed Invoking WPFGetIso


/\/\ (_) / / /\ \ () _ / \ | | / || '| / \ \ \/ \/ /| || ' \ / /\/\ | || ( | | | () | \ /\ / | || | | | \/ \/|| _||_| __/ \/ \/ |||| || oscdimg.exe on system: True File path C:\Win11_23H2_English_x64v2.iso Mounting Iso. Please wait. Done mounting Iso MSFT_DiskImage (ImagePath = "C:\Win11_23H2_English_x64v2.iso", StorageType = 1) Iso mounted to 'E' Setting up mount dir and scratch dirs Done setting up mount dir and scratch dirs Scratch dir is C:\Users\GALAMO~1\AppData\Local\Temp\MicrowinScratch_20231231_145411_9356 Image dir is C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356 Copying Windows image. This will take awhile, please don't use UI or cancel this step! Copy 1031(s) from E: to C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356 Copy complete! Total Time: 0m10s Getting image information C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356\sources\install.wim Selected value '1 : Windows 11 Home'..... Done reading and unpacking ISO


Check the UI for further steps!!! Index chosen: '1' from 1 : Windows 11 Home Mounting Windows image. This may take a while. Mounting complete! Performing removal of applications... Adding Windows Drivers image(C:\Users\GALAMO~1\AppData\Local\Temp\MicrowinScratch_20231231_145411_9356) drivers(C:\Users\Galamooth\Documents\DRIVERS)

Deployment Image Servicing and Management tool Version: 10.0.22621.2792

Image Version: 10.0.22631.2861

Searching for driver packages to install... Found 52 driver package(s) to install. Installing 1 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpafd.inf_amd64_a028143c1db6fe34\amdacpafd.inf: The driver package was successfully installed. Installing 2 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpbt.inf_amd64_213fcadf3c59e80b\amdacpbt.inf: The driver package was successfully installed. Installing 3 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpbus.inf_amd64_c3d998c7f1b2514d\amdacpbus.inf: The driver package was successfully installed. Installing 4 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpbus.inf_amd64_d266a3b87fe54a08\amdacpbus.inf: The driver package was successfully installed. Installing 5 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdafd.inf_amd64_98939332ba1b458a\amdafd.inf: The driver package was successfully installed. Installing 6 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdfdans.inf_amd64_70871789039d1bc8\amdfdans.inf: The driver package was successfully installed. Installing 7 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdgpio2.inf_amd64_b91c87cc025906f2\amdgpio2.inf: The driver package was successfully installed. Installing 8 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdhdaudbus.inf_amd64_658f9e56a9f736b8\amdhdaudbus.inf: The driver package was successfully installed. Installing 9 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdi2c.inf_amd64_f6502633f1335e76\amdi2c.inf: The driver package was successfully installed. Installing 10 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdi2stdmafd.inf_amd64_391a0ae2cddac052\amdi2stdmafd.inf: The driver package was successfully installed. Installing 11 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdmicropep.inf_amd64_da5fd5ab81b417c0\amdmicropep.inf: The driver package was successfully installed. Installing 12 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdpsp.inf_amd64_52ff6d0a8111e3ec\amdpsp.inf: The driver package was successfully installed. Installing 13 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsafd.inf_amd64_66a9fa5d80327844\amdsafd.inf: The driver package was successfully installed. Installing 14 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsdwc.inf_amd64_f996dd5af7286a13\amdsdwc.inf: The driver package was successfully installed. Installing 15 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsdws.inf_amd64_4d3b7064a820b100\amdsdws.inf: The driver package was successfully installed. Installing 16 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsdwsext.inf_amd64_6906a149718beec3\amdsdwsext.inf: The driver package was successfully installed. Installing 17 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsndwireafd.inf_amd64_6fa28775eae29e85\amdsndwireafd.inf: The driver package was successfully installed. Installing 18 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdwddme.inf_amd64_f741453ff652a1f3\amdwddme.inf: The driver package was successfully installed. Installing 19 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdxe.inf_amd64_0acaa805f9dce5db\amdxe.inf: The driver package was successfully installed. Installing 20 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asradiocontrol.inf_amd64_30dc9d40e270a813\AsRadioControl.inf: The driver package was successfully installed. Installing 21 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asusmcufirmwareupdate.inf_amd64_dcbb3b2af51cbfaf\ASUSMCUFirmwareUpdate.inf: The driver package was successfully installed. Installing 22 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asusptpfilter.inf_amd64_2de2181fa2ebde9c\AsusPTPFilter.inf: The driver package was successfully installed. Installing 23 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asussci2.inf_amd64_247a8237e0c296bf\asussci2.inf: The driver package was successfully installed. Installing 24 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asussci2.inf_amd64_4fc38a913e0f2ea5\asussci2.inf: The driver package was successfully installed. Installing 25 of 52 - C:\Users\Galamooth\Documents\DRIVERS\atihdwt6.inf_amd64_d45ffc74d17f7ba9\AtihdWT6.inf: The driver package was successfully installed. Installing 26 of 52 - C:\Users\Galamooth\Documents\DRIVERS\a-volutenh3aposwc.inf_amd64_201e987409cb1954\A-VoluteNh3ApoSwc.inf: The driver package was successfully installed. Installing 27 of 52 - C:\Users\Galamooth\Documents\DRIVERS\avolutess3ext.inf_amd64_0876889bd9814307\AVoluteSS3Ext.inf: The driver package was successfully installed. Installing 28 of 52 - C:\Users\Galamooth\Documents\DRIVERS\avolutess3vad.inf_amd64_a869f777f74fb408\AVoluteSS3Vad.inf: The driver package was successfully installed. Installing 29 of 52 - C:\Users\Galamooth\Documents\DRIVERS\dax3_ext_rtk.inf_amd64_791f3aac11cd7f78\dax3_ext_rtk.inf: The driver package was successfully installed. Installing 30 of 52 - C:\Users\Galamooth\Documents\DRIVERS\dax3_swc_aposvc.inf_amd64_91e825316dd5b8b9\dax3_swc_aposvc.inf: The driver package was successfully installed. Installing 31 of 52 - C:\Users\Galamooth\Documents\DRIVERS\dax3_swc_hsa.inf_amd64_7500b685d296c9b6\dax3_swc_hsa.inf: The driver package was successfully installed. Installing 32 of 52 - C:\Users\Galamooth\Documents\DRIVERS\g513qy_331.inf_amd64_3c155ff51c674beb\G513QY_331.inf: The driver package was successfully installed. Installing 33 of 52 - C:\Users\Galamooth\Documents\DRIVERS\hdx_asusext_dolby_wrap_rtkgen3p1_kd.inf_amd64_22718bc0d59486d7\HDX_AsusExt_DOLBY_Wrap_RTKGen3p1_KD.inf: The driver package was successfully installed. Installing 34 of 52 - C:\Users\Galamooth\Documents\DRIVERS\hdxacpasus.inf_amd64_709b78ba7cfc9ef3\HDXACPASUS.inf: The driver package was successfully installed. Installing 35 of 52 - C:\Users\Galamooth\Documents\DRIVERS\msftproxy.inf_amd64_9bce9bc0ea546e94\msftproxy.inf: The driver package was successfully installed. Installing 36 of 52 - C:\Users\Galamooth\Documents\DRIVERS\msftwhql.inf_amd64_81042e2caaf6294a\msftwhql.inf: The driver package was successfully installed. Installing 37 of 52 - C:\Users\Galamooth\Documents\DRIVERS\mtkbtfilter.inf_amd64_f344f77e389a2a0d\mtkbtfilter.inf: The driver package was successfully installed. Installing 38 of 52 - C:\Users\Galamooth\Documents\DRIVERS\mtkwl6ex.inf_amd64_7060298a21fde516\mtkwl6ex.inf: The driver package was successfully installed. Installing 39 of 52 - C:\Users\Galamooth\Documents\DRIVERS\prnms009.inf_amd64_3107874c7db0aa5a\prnms009.Inf: The driver package was successfully installed. Installing 40 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcbottom.inf_amd64_1b1854de920a7e36\rcbottom.inf: The driver package was successfully installed. Installing 41 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcbottom.inf_amd64_b44f9531f9c53b30\rcbottom.inf: The driver package was successfully installed. Installing 42 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rccfg.inf_amd64_a1ab5025b3d6b45d\rccfg.inf: The driver package was successfully installed. Installing 43 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcraid.inf_amd64_c336ef6000efd3a1\rcraid.inf: The driver package was successfully installed. Installing 44 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcraid.inf_amd64_f3d0f2b5d01e14e7\rcraid.inf: The driver package was successfully installed. Installing 45 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekasio.inf_amd64_d8d14eba3c3bec87\RealtekASIO.inf: The driver package was successfully installed. Installing 46 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekhsa.inf_amd64_bd043c48e5a5fd2d\RealtekHSA.inf: The driver package was successfully installed. Installing 47 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekservice.inf_amd64_719a4f3eb3c3c65a\RealtekService.inf: The driver package was successfully installed. Installing 48 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekuapo2.inf_amd64_9a7721dc970f23cc\RealtekUAPO2.inf: The driver package was successfully installed. Installing 49 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rt68cx21x64.inf_amd64_92b2eef9fcc25565\rt68cx21x64.inf: The driver package was successfully installed. Installing 50 of 52 - C:\Users\Galamooth\Documents\DRIVERS\smbusamd.inf_amd64_ce7952c627b44c80\smbusamd.inf: The driver package was successfully installed. Installing 51 of 52 - C:\Users\Galamooth\Documents\DRIVERS\u0396705.inf_amd64_16c040133de22651\u0396705.INF: The driver package was successfully installed. Installing 52 of 52 - C:\Users\Galamooth\Documents\DRIVERS\uwppair.inf_amd64_ea3d52d0d41cbb42\uwppair.inf: The driver package was successfully installed. The operation completed successfully. Remove Features from the image Removing features complete! Removing Appx Bloat Invoke-WPFMicrowin : An unexpected error occurred: No se puede indizar en una matriz nula. En línea: 2011 Carácter: 24

Unmounting Registry... ERROR: El parámetro no es correcto. ERROR: El parámetro no es correcto. ERROR: El parámetro no es correcto. ERROR: El parámetro no es correcto. ERROR: El parámetro no es correcto. Cleaning up image... Cleanup complete. Unmounting image... Exporting image into C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356\sources\install2.wim Remove old 'C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356\sources\install.wim' and rename C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356\sources\install2.wim Windows image completed. Continuing with boot.wim. Mounting boot image C:\Users\GALAMO~1\AppData\Local\Temp\Microwin_20231231_145411_9356\sources\boot.wim into C:\Users\GALAMO~1\AppData\Local\Temp\MicrowinScratch_20231231_145411_9356 Adding Windows Drivers image(C:\Users\GALAMO~1\AppData\Local\Temp\MicrowinScratch_20231231_145411_9356) drivers(C:\Users\Galamooth\Documents\DRIVERS)

Deployment Image Servicing and Management tool Version: 10.0.22621.2792

Image Version: 10.0.22621.2861

Searching for driver packages to install... Found 52 driver package(s) to install. Installing 1 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpafd.inf_amd64_a028143c1db6fe34\amdacpafd.inf: The driver package was successfully installed. Installing 2 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpbt.inf_amd64_213fcadf3c59e80b\amdacpbt.inf: The driver package was successfully installed. Installing 3 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpbus.inf_amd64_c3d998c7f1b2514d\amdacpbus.inf: The driver package was successfully installed. Installing 4 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdacpbus.inf_amd64_d266a3b87fe54a08\amdacpbus.inf: The driver package was successfully installed. Installing 5 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdafd.inf_amd64_98939332ba1b458a\amdafd.inf: The driver package was successfully installed. Installing 6 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdfdans.inf_amd64_70871789039d1bc8\amdfdans.inf: The driver package was successfully installed. Installing 7 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdgpio2.inf_amd64_b91c87cc025906f2\amdgpio2.inf: The driver package was successfully installed. Installing 8 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdhdaudbus.inf_amd64_658f9e56a9f736b8\amdhdaudbus.inf: The driver package was successfully installed. Installing 9 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdi2c.inf_amd64_f6502633f1335e76\amdi2c.inf: The driver package was successfully installed. Installing 10 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdi2stdmafd.inf_amd64_391a0ae2cddac052\amdi2stdmafd.inf: The driver package was successfully installed. Installing 11 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdmicropep.inf_amd64_da5fd5ab81b417c0\amdmicropep.inf: The driver package was successfully installed. Installing 12 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdpsp.inf_amd64_52ff6d0a8111e3ec\amdpsp.inf: The driver package was successfully installed. Installing 13 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsafd.inf_amd64_66a9fa5d80327844\amdsafd.inf: The driver package was successfully installed. Installing 14 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsdwc.inf_amd64_f996dd5af7286a13\amdsdwc.inf: The driver package was successfully installed. Installing 15 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsdws.inf_amd64_4d3b7064a820b100\amdsdws.inf: The driver package was successfully installed. Installing 16 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsdwsext.inf_amd64_6906a149718beec3\amdsdwsext.inf: The driver package was successfully installed. Installing 17 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdsndwireafd.inf_amd64_6fa28775eae29e85\amdsndwireafd.inf: The driver package was successfully installed. Installing 18 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdwddme.inf_amd64_f741453ff652a1f3\amdwddme.inf: The driver package was successfully installed. Installing 19 of 52 - C:\Users\Galamooth\Documents\DRIVERS\amdxe.inf_amd64_0acaa805f9dce5db\amdxe.inf: The driver package was successfully installed. Installing 20 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asradiocontrol.inf_amd64_30dc9d40e270a813\AsRadioControl.inf: The driver package was successfully installed. Installing 21 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asusmcufirmwareupdate.inf_amd64_dcbb3b2af51cbfaf\ASUSMCUFirmwareUpdate.inf: The driver package was successfully installed. Installing 22 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asusptpfilter.inf_amd64_2de2181fa2ebde9c\AsusPTPFilter.inf: The driver package was successfully installed. Installing 23 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asussci2.inf_amd64_247a8237e0c296bf\asussci2.inf: The driver package was successfully installed. Installing 24 of 52 - C:\Users\Galamooth\Documents\DRIVERS\asussci2.inf_amd64_4fc38a913e0f2ea5\asussci2.inf: The driver package was successfully installed. Installing 25 of 52 - C:\Users\Galamooth\Documents\DRIVERS\atihdwt6.inf_amd64_d45ffc74d17f7ba9\AtihdWT6.inf: The driver package was successfully installed. Installing 26 of 52 - C:\Users\Galamooth\Documents\DRIVERS\a-volutenh3aposwc.inf_amd64_201e987409cb1954\A-VoluteNh3ApoSwc.inf: The driver package was successfully installed. Installing 27 of 52 - C:\Users\Galamooth\Documents\DRIVERS\avolutess3ext.inf_amd64_0876889bd9814307\AVoluteSS3Ext.inf: The driver package was successfully installed. Installing 28 of 52 - C:\Users\Galamooth\Documents\DRIVERS\avolutess3vad.inf_amd64_a869f777f74fb408\AVoluteSS3Vad.inf: The driver package was successfully installed. Installing 29 of 52 - C:\Users\Galamooth\Documents\DRIVERS\dax3_ext_rtk.inf_amd64_791f3aac11cd7f78\dax3_ext_rtk.inf: The driver package was successfully installed. Installing 30 of 52 - C:\Users\Galamooth\Documents\DRIVERS\dax3_swc_aposvc.inf_amd64_91e825316dd5b8b9\dax3_swc_aposvc.inf: The driver package was successfully installed. Installing 31 of 52 - C:\Users\Galamooth\Documents\DRIVERS\dax3_swc_hsa.inf_amd64_7500b685d296c9b6\dax3_swc_hsa.inf: The driver package was successfully installed. Installing 32 of 52 - C:\Users\Galamooth\Documents\DRIVERS\g513qy_331.inf_amd64_3c155ff51c674beb\G513QY_331.inf: The driver package was successfully installed. Installing 33 of 52 - C:\Users\Galamooth\Documents\DRIVERS\hdx_asusext_dolby_wrap_rtkgen3p1_kd.inf_amd64_22718bc0d59486d7\HDX_AsusExt_DOLBY_Wrap_RTKGen3p1_KD.inf: The driver package was successfully installed. Installing 34 of 52 - C:\Users\Galamooth\Documents\DRIVERS\hdxacpasus.inf_amd64_709b78ba7cfc9ef3\HDXACPASUS.inf: The driver package was successfully installed. Installing 35 of 52 - C:\Users\Galamooth\Documents\DRIVERS\msftproxy.inf_amd64_9bce9bc0ea546e94\msftproxy.inf: The driver package was successfully installed. Installing 36 of 52 - C:\Users\Galamooth\Documents\DRIVERS\msftwhql.inf_amd64_81042e2caaf6294a\msftwhql.inf: The driver package was successfully installed. Installing 37 of 52 - C:\Users\Galamooth\Documents\DRIVERS\mtkbtfilter.inf_amd64_f344f77e389a2a0d\mtkbtfilter.inf: The driver package was successfully installed. Installing 38 of 52 - C:\Users\Galamooth\Documents\DRIVERS\mtkwl6ex.inf_amd64_7060298a21fde516\mtkwl6ex.inf: The driver package was successfully installed. Installing 39 of 52 - C:\Users\Galamooth\Documents\DRIVERS\prnms009.inf_amd64_3107874c7db0aa5a\prnms009.Inf: The driver package was successfully installed. Installing 40 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcbottom.inf_amd64_1b1854de920a7e36\rcbottom.inf: The driver package was successfully installed. Installing 41 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcbottom.inf_amd64_b44f9531f9c53b30\rcbottom.inf: The driver package was successfully installed. Installing 42 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rccfg.inf_amd64_a1ab5025b3d6b45d\rccfg.inf: The driver package was successfully installed. Installing 43 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcraid.inf_amd64_c336ef6000efd3a1\rcraid.inf: The driver package was successfully installed. Installing 44 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rcraid.inf_amd64_f3d0f2b5d01e14e7\rcraid.inf: The driver package was successfully installed. Installing 45 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekasio.inf_amd64_d8d14eba3c3bec87\RealtekASIO.inf: The driver package was successfully installed. Installing 46 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekhsa.inf_amd64_bd043c48e5a5fd2d\RealtekHSA.inf: The driver package was successfully installed. Installing 47 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekservice.inf_amd64_719a4f3eb3c3c65a\RealtekService.inf: The driver package was successfully installed. Installing 48 of 52 - C:\Users\Galamooth\Documents\DRIVERS\realtekuapo2.inf_amd64_9a7721dc970f23cc\RealtekUAPO2.inf: The driver package was successfully installed. Installing 49 of 52 - C:\Users\Galamooth\Documents\DRIVERS\rt68cx21x64.inf_amd64_92b2eef9fcc25565\rt68cx21x64.inf: The driver package was successfully installed. Installing 50 of 52 - C:\Users\Galamooth\Documents\DRIVERS\smbusamd.inf_amd64_ce7952c627b44c80\smbusamd.inf: The driver package was successfully installed. Installing 51 of 52 - C:\Users\Galamooth\Documents\DRIVERS\u0396705.inf_amd64_16c040133de22651\u0396705.INF: The driver package was successfully installed. Installing 52 of 52 - C:\Users\Galamooth\Documents\DRIVERS\uwppair.inf_amd64_ea3d52d0d41cbb42\uwppair.inf: The driver package was successfully installed. The operation completed successfully. Loading registry... Bypassing system requirements on the setup image Unmounting Registry... Unmounting image... Creating ISO image [INFO] Using oscdimg.exe from: 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 (500 files in 43 directories) Scanning source tree complete (946 files in 86 directories)

Computing directory information complete

Image file is 7256178688 bytes (before optimization)

Writing 946 files in 86 directories to C:\Users\GALAMO~1\AppData\Local\Temp\microwin.iso

100% complete

Storage optimization saved 4 files, 24576 bytes (0% of image)

After optimization, image file is 7258261504 bytes Space saved because of embedding, sparseness or optimization = 24576

Done.


(_ \ \ \ _ | | | / | \ / _ ) | |/ / |_| | | | ( (/ / |___/ _/|| ||__)

Performing Cleanup... Done. ISO image is located here: C:\Users\GALAMO~1\AppData\Local\Temp\microwin.iso

juliocoliveira commented 8 months ago

Did you used the standard

irm christitus.com/win | iex

Or the command that I said:

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

??

Galamooth commented 8 months ago

Probé esa rama y está funcionando bien.


    CCCCCCCCCCCCCTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT
 CCC::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
CC:::::::::::::::CT:::::::::::::::::::::TT:::::::::::::::::::::T
C:::::CCCCCCCC::::CT:::::TT:::::::TT:::::TT:::::TT:::::::TT:::::T
C:::::C       CCCCCCTTTTTT  T:::::T  TTTTTTTTTTTT  T:::::T  TTTTTT
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C                     T:::::T                T:::::T
C:::::C       CCCCCC        T:::::T                T:::::T
C:::::CCCCCCCC::::C      TT:::::::TT            TT:::::::TT
CC:::::::::::::::C       T:::::::::T            T:::::::::T
CCC::::::::::::C         T:::::::::T            T:::::::::T
  CCCCCCCCCCCCC          TTTTTTTTTTT            TTTTTTTTTTT

====Chris Titus Tech=====
=====Windows Toolbox=====
Checking if Chocolatey is Installed...
Chocolatey Already Installed
Invoking WPFGetIso
         _                     __    __  _
  /\/\  (_)  ___  _ __   ___  / / /\ \ \(_) _ __
 /    \ | | / __|| '__| / _ \ \ \/  \/ /| || '_ \
/ /\/\ \| || (__ | |   | (_) | \  /\  / | || | | |
\/    \/|_| \___||_|    \___/   \/  \/  |_||_| |_|
oscdimg.exe on system: False
[INFO] oscdimg.exe SHA-256 Hash: AB9E161049D293B544961BFDF2D61244ADE79376D6423DF4F60BF9B147D3C78D
Hashes match. File is verified.
oscdimg.exe was successfully downloaded from github
File path D:\Setup\SetupOS\Win11_23H2_English_x64v2-31-12-2023.iso
Mounting Iso. Please wait.
Done mounting Iso MSFT_DiskImage (ImagePath = "D:\Setup\SetupOS\Win11_23H2_English_x64..., StorageType = 1)
Iso mounted to 'E'
Setting up mount dir and scratch dirs
Done setting up mount dir and scratch dirs
Scratch dir is C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Image dir is C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copying Windows image. This will take awhile, please don't use UI or cancel this step!
Copy 1031(s) from E: to C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344
Copy complete! Total Time: 0m28s
Getting image information C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim
Selected value '1 : Windows 11 Home'.....
Done reading and unpacking ISO

*********************************
Check the UI for further steps!!!
Index chosen: '6' from 6 : Windows 11 Pro
Mounting Windows image. This may take a while.
Mounting complete! Performing removal of applications...
Remove Features from the image
Removing features complete!
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.
[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.
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
ICO file created at: C:\Users\talk\AppData\Local\Temp\cttlogo.ico
Shortcut to winutil created at: C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344\Windows\Users\Default\Desktop\WinUtil.lnk
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
Bypassing system requirements (system image)
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\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Remove old 'C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install.wim' and rename C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\install2.wim
Windows image completed. Continuing with boot.wim.
Mounting boot image C:\Users\talk\AppData\Local\Temp\Microwin_20231231_161026_2344\sources\boot.wim into C:\Users\talk\AppData\Local\Temp\MicrowinScratch_20231231_161026_2344
Loading registry...
Bypassing system requirements on the setup image
Unmounting Registry...
Unmounting image...
Creating ISO image
[INFO] Using oscdimg.exe from: C:\Users\talk\AppData\Local\Temp\oscdimg.exe
 _____
(____ \
 _   \ \ ___  ____   ____
| |   | / _ \|  _ \ / _  )
| |__/ / |_| | | | ( (/ /
|_____/ \___/|_| |_|\____)

Performing Cleanup...
Done. ISO image is located here: C:\Users\talk\AppData\Local\Temp\microwin.iso
Bye bye!
**********************
PowerShell transcript end
End time: 20231231162641
**********************

Si aún tienes problemas incluso en esta rama, debes tener algo diferente en tu sistema, no sé si ser español cambiaría algo. Probé en inglés iso, windows 11 23h2 inglés windows y funciona muy bien. Todavía existen los accesos directos en la página principal del Menú Inicio, pero son solo accesos directos, las aplicaciones reales no están instaladas como puede ver en el menú "Todas las aplicaciones" en el Menú Inicio.

Thank you so much. I was using the last 23h2 of uupdump, do you think that's the problem? Should I necessarily use the official download? I'm testing on an nee s.o. again I will try with the latest branch thanks

Yes, that could be the issue. I saw other people reporting the other ISOs from different sources other than microsoft website can not work. Download from https://www.microsoft.com/software-download/windows11 and download the ISO from there, Not the media creation tool. that could be an issue as well.

I just tried it. Same problem.

Did you used the standard

irm christitus.com/win | iex

Or the command that I said:

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

??

I used the second one. The one you mentioned

juliocoliveira commented 8 months ago

Maybe the issue is the language of the operational system itself, not the ISO. Maybe the accents in it generate the error and the powershell script is not used to that. That should NOT be a problem, Since the script is in UTF-8.

If you used the script I said, and still getting the error, I cannot help you more there. For me it works flawlessly, And Chris already tested it many times in his machine. We never got this error, So we would need some powershell developer that does not use English, or maybe it is spanish the problem.

If I got the time I can try run it in a Mexican ISO in Virtualbox to try to see if I got your error.

juliocoliveira commented 8 months ago

Try run it without the drivers. To see if it happens the same error.

Galamooth commented 8 months ago

Try run it without the drivers. To see if it happens the same error.

I installed the iso in English and carried out the process. Looks like it worked this time. So the problem is the s.o. from where the iso is created with microwin

Galamooth commented 8 months ago

Try run it without the drivers. To see if it happens the same error.

I also did it with the last Iso 23h2 Spanish MX downloaded from uupdump in its latest compilation. And it works too. Whereby . Ultimately I think the problem is that the s.o. from Where the process is carried out. It must be in English. . At least that worked. And it didn't give any errors in the console. Now we need to install the iso to see if the changes were applied correctly

juliocoliveira commented 8 months ago

Try run it without the drivers. To see if it happens the same error.

I also did it with the last Iso 23h2 Spanish MX downloaded from uupdump in its latest compilation. And it works too. Whereby . Ultimately I think the problem is that the s.o. from Where the process is carried out. It must be in English. . At least that worked. And it didn't give any errors in the console. Now we need to install the iso to see if the changes were applied correctly

Yeah, But I don't know if the problem is because is not english or because is spanish, Or because the language have accents, or there is some other country code or language coding that conflicts with the power shell script.

Maybe @KonTy or @CodingWonders can take a look at this. I'm still running the script in Virtualbox on a Spanish/Mexican ISO to see if the error generates, But this will take forever.

Galamooth commented 8 months ago

Intente ejecutarlo sin los controladores. A ver si pasa el mismo error.

También lo hice con el último MX español Iso 23h2 descargado de uupdump en su última compilación. Y también funciona. Por lo cual. En definitiva creo que el problema es que desde dónde se realiza el proceso. Debe estar en inglés. . Al menos eso funcionó. Y no dio ningún error en la consola. Ahora necesitamos instalar la iso para ver si los cambios se aplicaron correctamente

Sí, pero no sé si el problema es porque no es inglés o porque es español, o porque el idioma tiene acentos, o hay algún otro código de país o código de idioma que entra en conflicto con el script de Power Shell.

Tal vez@KonTyo@CodingWondersPuedes echarle un vistazo a esto. Todavía estoy ejecutando el script en Virtualbox en una ISO española/mexicana para ver si se genera el error, pero esto tardará una eternidad.

At least for me it worked this way. I reinstalled the system several times, always in Spanish. And it always failed. Now that I installed the s.o. in English. It didn't crash anymore even when modifying an iso in Spanish from uupdump worked correctly. For now I am satisfied
I just tested the iso and everything works as expected. Thank you for your great help. I had been at this for 2 days.

juliocoliveira commented 8 months ago

You are welcome! I finished my testing in the slow ass Virtualbox. And the same error happened.

Check the UI for further steps!!!
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
Removing features complete!
Removing Appx Bloat
Invoke-WPFMicrowin : An unexpected error occurred: No se puede indizar en una matriz nula.
En línea: 2011 Carácter: 24
+         "WPFMicrowin" {Invoke-WPFMicrowin}
+                        ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-WPFMicrowin

Unmounting Registry...
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
Cleaning up image...
Cleanup complete.
Unmounting image...

So now we must see if the problem happens ANY Windows 11 installation that is NOT English. Or the problem is Spanish, or is the country Mexico.

I would guess the problem is because of the accents, It should give the same error in Brazilian Portuguese as well. But for me that's it, I'm done with this testing, took me hours to do.

Somebody else need to fix it.

Galamooth commented 8 months ago

¡De nada! Terminé mis pruebas en el lento Virtualbox. Y ocurrió el mismo error.

Check the UI for further steps!!!
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
Removing features complete!
Removing Appx Bloat
Invoke-WPFMicrowin : An unexpected error occurred: No se puede indizar en una matriz nula.
En línea: 2011 Carácter: 24
+         "WPFMicrowin" {Invoke-WPFMicrowin}
+                        ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-WPFMicrowin

Unmounting Registry...
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
Cleaning up image...
Cleanup complete.
Unmounting image...

Así que ahora debemos ver si el problema ocurre con CUALQUIER ISO que NO sea inglés. O el problema es español, o es el país México.

Supongo que el problema se debe a los acentos. También debería dar el mismo error en portugués brasileño. Pero para mí eso es todo, ya terminé con esta prueba, me tomó horas hacerla.

Alguien más necesita arreglarlo.

Any iso seems to work. As long as you do it from an English operating system. and using

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

Thanks for your time. Happy new year!

juliocoliveira commented 8 months ago

¡De nada! Terminé mis pruebas en el lento Virtualbox. Y ocurrió el mismo error.

Check the UI for further steps!!!
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
Removing features complete!
Removing Appx Bloat
Invoke-WPFMicrowin : An unexpected error occurred: No se puede indizar en una matriz nula.
En línea: 2011 Carácter: 24
+         "WPFMicrowin" {Invoke-WPFMicrowin}
+                        ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-WPFMicrowin

Unmounting Registry...
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
Cleaning up image...
Cleanup complete.
Unmounting image...

Así que ahora debemos ver si el problema ocurre con CUALQUIER ISO que NO sea inglés. O el problema es español, o es el país México. Supongo que el problema se debe a los acentos. También debería dar el mismo error en portugués brasileño. Pero para mí eso es todo, ya terminé con esta prueba, me tomó horas hacerla. Alguien más necesita arreglarlo.

Any iso seems to work. As long as you do it from an English operating system. and using

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

Thanks for your time. Happy new year!

Yes, I meant the ISO installed in the O.S, not the ISO that is being extracted/converted.

CodingWonders commented 8 months ago

¡De nada! Terminé mis pruebas en el lento Virtualbox. Y ocurrió el mismo error.

Check the UI for further steps!!!
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
Removing features complete!
Removing Appx Bloat
Invoke-WPFMicrowin : An unexpected error occurred: No se puede indizar en una matriz nula.
En línea: 2011 Carácter: 24
+         "WPFMicrowin" {Invoke-WPFMicrowin}
+                        ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-WPFMicrowin

Unmounting Registry...
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
Cleaning up image...
Cleanup complete.
Unmounting image...

Así que ahora debemos ver si el problema ocurre con CUALQUIER ISO que NO sea inglés. O el problema es español, o es el país México.

Supongo que el problema se debe a los acentos. También debería dar el mismo error en portugués brasileño. Pero para mí eso es todo, ya terminé con esta prueba, me tomó horas hacerla.

Alguien más necesita arreglarlo.

Any iso seems to work. As long as you do it from an English operating system. and using

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

Thanks for your time. Happy new year!

Happy new year as well!

Now, I guess that DISM commands are failing on non-English installations of Windows because we're not passing the /English flag.

DISM uses the system language by default, which can prevent functions from working correctly. By passing this flag we force DISM to use English.

Also, as a side note, I think we can also replace the DISM commands with cmdlets from the Dism module, since they're faster and provide better integration with PowerShell.

Galamooth commented 8 months ago

¡De nada! Terminé mis pruebas en el lento Virtualbox. Y ocurrió el mismo error.

Check the UI for further steps!!!
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
Removing features complete!
Removing Appx Bloat
Invoke-WPFMicrowin : An unexpected error occurred: No se puede indizar en una matriz nula.
En línea: 2011 Carácter: 24
+         "WPFMicrowin" {Invoke-WPFMicrowin}
+                        ~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
    + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Invoke-WPFMicrowin

Unmounting Registry...
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
ERROR: El parámetro no es correcto.
Cleaning up image...
Cleanup complete.
Unmounting image...

Así que ahora debemos ver si el problema ocurre con CUALQUIER ISO que NO sea inglés. O el problema es español, o es el país México. Supongo que el problema se debe a los acentos. También debería dar el mismo error en portugués brasileño. Pero para mí eso es todo, ya terminé con esta prueba, me tomó horas hacerla. Alguien más necesita arreglarlo.

Any iso seems to work. As long as you do it from an English operating system. and using irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex Thanks for your time. Happy new year!

Happy new year as well!

Now, I guess that DISM commands are failing on non-English installations of Windows because we're not passing the /English flag.

DISM uses the system language by default, which can prevent functions from working correctly. By passing this flag we force DISM to use English.

Also, as a side note, I think we can also replace the DISM commands with cmdlets from the Dism module, since they're faster and provide better integration with PowerShell.

I used paid windows toolbox ctt to launch the script. It also works correctly. I just wanted to let you know.

KonTy commented 8 months ago

Also, as a side note, I think we can also replace the DISM commands with cmdlets from the Dism module, since they're faster and provide better integration with PowerShell.

@CodingWonders hey thank you for digging in. Do you have any data on that? My experience is that all those cmdlets like Remove-ProvisionedAppxPackage cmdlet are part of the DISM module and call dism.exe under the hood. And they are actually slower since you are going through powershell layers before they get to dism.exe. But that's just my experience, so if you have data on the above could you please share it maybe my experiments were wrong and I'm mistaken?

KonTy commented 8 months ago

I would guess the problem is because of the accents, It should give the same error in Brazilian Portuguese as well. But for me that's it, I'm done with this testing, took me hours to do.

@juliocoliveira I wonder if we need to escape those names of something like that, btw I love the enthusiasm and thank you for digging in and spending time on this. I think it is important to make this work for everyone. We have some cool plans for microwin but before we start spending more time on it, it would be great to fix it :)

CodingWonders commented 8 months ago

Any iso seems to work. As long as you do it from an English operating system. and using

irm https://raw.githubusercontent.com/CodingWonders/winutil/CW-MicroWin-AppxFix/winutil.ps1 | iex

Thanks for your time. Happy new year!

The English-only OS issue is now fixed - I replaced all entries of dism /image with dism /English /image. MicroWin processing should now work correctly on non-English hosts.

This is still in my fork though.

ChrisTitusTech commented 8 months ago

Merged @CodingWonders Fixes and added new hashes to line up with oscdimg hosted here.