ChrisTitusTech / winutil

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

Explain MicroWin Process More #2028

Closed mattvisa closed 3 months ago

mattvisa commented 3 months ago

Is your feature request related to a problem? Please describe. I am fairly knowledgable, but not an absolute expert. In modifying a Windows ISO with the MicroWin feature, it would really help to have some additional explanation for what each item does.

Describe the solution you'd like I would like to see an asterix on each step. For example, under "Download oscdimg.exe from CTT Github", you might add a little bit about what this does and that you have to click this to download it to your machine to run the MicroWin service the first time.

What is "Scratch Dir". What does "ISO location will be printed here" mean? I assume it's the output location, but not sure.

Choose Windows SKU might be better displayed as a list with check marks so that the user knows to click through that next.

The Micro Win features, ie, the list that starts with - Remove Telemetry and Tracking, might be put in the same order as the list for "Choose Windows features you want to remove from the ISO". On that same note, a popup explanation fo the "Keep Provisioned Packages" and the "Keep Appx Packages" would be helpful because I don't know what they are.

Lastly, Copy to Ventoy might be removed completely and replaced with the output file location. I also wonder if you want to automatically append a FileName_debloat to the output file naming structure so that you don't overwrite the original ISO.

Describe alternatives you've considered Not applicable

Additional context None

mattvisa commented 3 months ago

Also, when I completed the debloat process, it finished with quite a few errors and told me the process failed. But it actually saved the updated ISO file, and I am using it now on a PC and it's working fine.

mattvisa commented 3 months ago

Here are some of the errors. This likely is user error because I did not save the file properly to Ventoy, etc.

Exporting image into C:\Users\mattv\AppData\Local\Temp\Microwin_20240604_141808_3775\sources\install2.wim Invoke-WPFMicrowin : An unexpected error occurred: Unable to load DLL 'unattend.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) At line:2805 char:24

Unmounting Registry... ERROR: The parameter is incorrect. ERROR: The parameter is incorrect. ERROR: The parameter is incorrect. ERROR: The parameter is incorrect. ERROR: The parameter is incorrect. Unmounting image... Dismount-WindowsImage : The request is not supported. At line:4040 char:9

Creating ISO image [INFO] Using oscdimg.exe from: oscdimg.exe Copying target ISO to the USB drive Copy-Item : Cannot overwrite the item D:\Win11_23H2_English_x64v2_debloat.iso with itself. At line:1035 char:4

File copied to Ventoy drive D Done Copying target ISO to USB drive!


(_ \ \ \ _ | | | / | \ / _ ) | |/ / |_| | | | ( (/ / |___/ _/|| ||__) ISO creation failed. The C:\Users\mattv\AppData\Local\Temp\Microwin_20240604_141808_3775 directory has not been removed.

ChrisTitusTech commented 3 months ago

This should now be fixed in #2030