Development MODWIN: A Tool for Inspecting, Modifying, and Building "Lite" ISOs

Search This thread

jenneh

Senior Member
MODWIN has been fully updated! It is now an executable single script that will build it's own build environment when prompted to. The OP has the new easier instructions! There's a "demo" video up. I am too tired to do a talk through of how I made this version today. Happy turkey days. Good Night!

I am still working on this project just paused until my shield trail grows cold! I made some break-throughs on something I been trying to learn for a year. But we will still pick up where I left off with an explaination of the latest code
 
Last edited:

jenneh

Senior Member
Hallo, with this tool and following your istructions the OS can still receive MS update?
Hi there! Yes the OS will still be able to receive updates, this method only helps you to use microsoft's built in dism tool to disable apps and features, it does not modify the filesystem in any other way. Therefore updates work during installation as well as after. Microsoft accounts work fine too. I have been busy on another project but when I come back I will work on making it so we can select what packages and features to remove. Right now, the manual mode only displays the installed items.
1.PNG
2.PNG

1672341673263.png
 
  • Like
Reactions: elong7681

jenneh

Senior Member
Working on the next update for modwin and wanted to start a new comment so I can edit in updates or features as they are made.
THERE MAY BE ERRORS IN THE PICS SHOWN, JUST TRYING TO DOCUMENT MY STEPS INCASE IT HELPS SOMEONE.

The vetted and complete source code will be added to a new comment below when complete as always~!

UPDATES

You now have the ability to Only unmount the WIM while saving changes
As well as a new option to Only build the ISO.
1.png

The build ISO reuses code from SAVE and DISCARD. The only new code added was UNMOUNT
2.png

The changes reduced the amount of clutter in the main menu
3.png


I also fixed the build completion message that points to "C:\WINMOD" I probably should have named the tool that but I didn't haha

I was able to add the code from HERE to force the batch to prompt for admin access so no need to manually do that step anymore

Code was added to cleanup the apps printout, so now it looks like this and you can easily highlight an app to paste in for removal
1.png

the removal code to achieve this!
Screenshot 2023-01-13 114850.png

It's coded so it reloads APPS from the start and will rebuild the list with the removed package, removed from the list
1673634398760.png

The ESD and WIM code was cleaned up with the SET knowledge gained above
1673633678101.png

The fixed Packages view and a successful removal:
1.png

The code:
2.png

1673637373653.png
Working on a way to allow us to be able to select exactly which features to remove. I have an idea in mind and this article explained to me what > does in regards to printing the output of the shell to a text file
findstr knowledge
So using a method shown in the video, we can use find on the app packages to count how many times "DisplayName : " is mentioned to get the numbers for selection
Code:
type ProvisionedAppxPackages.txt > C:\MODWIN\apps.txt
find /c "DisplayName : " C:\MODWIN\apps.txt
1.png

this code isnt going to be needed in hindsight but it is good to know
Code:
find "DisplayName" apps.txt
1673542971142.png

this displays the apps better and can be used to make the display easier to read, should be able to save this over apps.txt and then maybe we can replace the "DisplayName : " with code
What is REM?
The set command
More indepth set knowledge
so if we can clean up the DisplayName : we can make it so get a clear print out of the apps, then make the code so the user can just copy and paste exact app names in for removal

edit the display name is not needed to be removed, it is easy to highlight only the packages. just need to make the code now

Edit after an hour of head banging I realized display name is the wrong print out or sting to search for.. derp!
PackageName : is the correct string....

===================

It was thanks to the videos and links above I finally understood the set command better to be able to allow us to manually remove apps packages and features.

Now I can take that command and make the ESD and WIM code smaller
 
Last edited:
  • Like
Reactions: elong7681

jenneh

Senior Member
An update will be released tomorrow. I was successful in getting Modwin to be able to allow us to manually remove any apps packages or features. All the code changes and how I got there has been documented in the comment above. Modwin has kinda outgrown XDA (the character limits) so I had to put the Source Code on Pastebin for anyone interested. Will get everything on github later too

I am writing out some more things I wanted to fix

Three new folders will be made in MODWIN to allow custom user files, apps, and packages
1673796872072.png


IEXPRESS hates the get admin code and is weird in getting the modwin batch to just work as an executable so I had to add code to have it push the batch file in the build for QoL Options --- will explain in OP
1673798243022.png

Code:
mkdir C:\MODWIN
mkdir C:\MODWIN\APPS
mkdir C:\MODWIN\ISO
mkdir C:\MODWIN\MOD
mkdir C:\MODWIN\PACKAGES
mkdir C:\MODWIN\PATH
mkdir C:\MODWIN\USER
mkdir C:\MODWIN\WIM
move modwin.bat "C:\MODWIN"
move oscdimg.exe "C:\MODWIN"

So since we will be turning the executable into an installer the build code was removed from the modwin batch and just turned into its own thing to be called upon as soon as you run the exe

This answer showed me "-packagePath:" the part I was missing to get the add code working
1673709503429.png

So now we can add apps easier -- will be explained

This link showed me that we can reuse the code above for PACKAGES and replace -Add-ProvisionedAppxPackage with: AddPackage

Now able to enable features:
1673710406343.png


Trying to find a specimen to test the package code on led me to this video

Which led me to this link to get cabinet file updates

I am getting an error. this link suggest angle bracket which did not fix the issue
1673715386133.png

The command shows that the code is right and if you only specify a folder name you could push all files. but DISM is not working as intended
1673714473388.png

So if the tool worked right we would be able to push the whole folder at once with just this code
1673714822261.png

Diving deeper into the mystery
1673716306859.png

Well I have about given up on dism as far as adding packages.
Seeing if https://wimlib.net/ has a solution in their binaries and no they dont. Fascinating.
Maybe I can find an old DISM or an old pkgmgr that wont be rude!
1673720083572.png

well I got it to stop erroring i am unsure if it is actually working, as I don't have a Real use case for these cab files so would need someone to test
1673722747719.png

that is the code to push any user add files or folders in the USER folder to the WIM

TO DO:
Add the ability for MODWIN to detect if the install file is a wim or esd so we can trigger that for the user
Make the executable pretty with a picture.

Update will be tomorrow tomorrow
 
Last edited:
  • Like
Reactions: elong7681

jenneh

Senior Member
Modwin has been officially updated with the OP reflecting the changes. All the changes were noted above in probably too much detail but that's how I do things :D

Here's the new SOURCE CODE

Now modwin.exe is just an installer. It builds the modwin folder for us in C:\ with oscdimg and the new modwin.bat script that is able to be taken out of the modwin folder and ran anywhere you like without having to right click and run as admin.

We now have full working manual mode to see remove and add apps packages and features.

You may now paste any files or folders you like into the USER folder of modwin to have them pushed to the wim.
 
  • Like
Reactions: elong7681

jenneh

Senior Member
I got curious since this is the first program I ever made and I ran it on virus total. Now I need some help if anyone more knowledgeable can help me to understand why this is happening. https://www.virustotal.com/gui/file/832fc70f5d7f4728dae0b4c3bdcfa8c4f9f83cee764e15b57ded291dc09dced9

They are flagging my file as suspicious but I don't know what to do or how to fix it.

Is it the code that needs fixed? The way it was packaged with IEXPRESS? Or do you have to talk to someone at virustotal?

Any advice how to fix this would be appreciated. Thank you!

Going to just document this process too. I looked further at their site..
1674035059176.png

Apparently you Can reach out. We will see how that goes!
1674035631669.png

A polite request for help and a request for knowledge to try to avoid the problem has been made

---edit 1/29 i still hadn't heard from them so I emailed them Once again... sigh.
 
Last edited:
  • Like
Reactions: baxter001

jenneh

Senior Member
As an update it appears Modwin is indeed able to mod Windows Arm isos too! I completely forgot about testing an arm image and yeah they look similar to the x86_64 wims
Windows 11 ARM--
1.png
2.png
3.png
Code:
Feature Name : Windows-Defender-Default-Definitions
State : Enabled

Feature Name : Printing-PrintToPDFServices-Features
State : Enabled

Feature Name : Printing-XPSServices-Features
State : Disabled

Feature Name : SearchEngine-Client-Package
State : Enabled

Feature Name : TelnetClient
State : Disabled

Feature Name : TFTP
State : Disabled

Feature Name : TIFFIFilter
State : Disabled

Feature Name : WorkFolders-Client
State : Enabled

Feature Name : LegacyComponents
State : Disabled

Feature Name : DirectPlay
State : Disabled

Feature Name : Printing-Foundation-Features
State : Enabled

Feature Name : Printing-Foundation-InternetPrinting-Client
State : Enabled

Feature Name : Printing-Foundation-LPDPrintService
State : Disabled

Feature Name : Printing-Foundation-LPRPortMonitor
State : Disabled

Feature Name : MSRDC-Infrastructure
State : Enabled

Feature Name : VirtualMachinePlatform
State : Disabled

Feature Name : Microsoft-Windows-Subsystem-Linux
State : Disabled

Feature Name : MicrosoftWindowsPowerShellV2Root
State : Enabled

Feature Name : MicrosoftWindowsPowerShellV2
State : Enabled

Feature Name : Client-ProjFS
State : Disabled

Feature Name : SimpleTCP
State : Disabled

Feature Name : NetFx4-AdvSrvs
State : Enabled

Feature Name : NetFx4Extended-ASPNET45
State : Disabled

Feature Name : IIS-WebServerRole
State : Disabled

Feature Name : IIS-WebServer
State : Disabled

Feature Name : IIS-CommonHttpFeatures
State : Disabled

Feature Name : IIS-HttpErrors
State : Disabled

Feature Name : IIS-HttpRedirect
State : Disabled

Feature Name : IIS-ApplicationDevelopment
State : Disabled

Feature Name : IIS-Security
State : Disabled

Feature Name : IIS-RequestFiltering
State : Disabled

Feature Name : IIS-NetFxExtensibility
State : Disabled

Feature Name : IIS-NetFxExtensibility45
State : Disabled

Feature Name : IIS-HealthAndDiagnostics
State : Disabled

Feature Name : IIS-HttpLogging
State : Disabled

Feature Name : IIS-LoggingLibraries
State : Disabled

Feature Name : IIS-RequestMonitor
State : Disabled

Feature Name : IIS-HttpTracing
State : Disabled

Feature Name : IIS-URLAuthorization
State : Disabled

Feature Name : IIS-IPSecurity
State : Disabled

Feature Name : IIS-Performance
State : Disabled

Feature Name : IIS-HttpCompressionDynamic
State : Disabled

Feature Name : IIS-WebServerManagementTools
State : Disabled

Feature Name : IIS-ManagementScriptingTools
State : Disabled

Feature Name : IIS-IIS6ManagementCompatibility
State : Disabled

Feature Name : IIS-Metabase
State : Disabled

Feature Name : WAS-WindowsActivationService
State : Disabled

Feature Name : WAS-ProcessModel
State : Disabled

Feature Name : WAS-NetFxEnvironment
State : Disabled

Feature Name : WAS-ConfigurationAPI
State : Disabled

Feature Name : IIS-HostableWebCore
State : Disabled

Feature Name : IIS-StaticContent
State : Disabled

Feature Name : IIS-DefaultDocument
State : Disabled

Feature Name : IIS-DirectoryBrowsing
State : Disabled

Feature Name : IIS-WebDAV
State : Disabled

Feature Name : IIS-WebSockets
State : Disabled

Feature Name : IIS-ApplicationInit
State : Disabled

Feature Name : IIS-ISAPIFilter
State : Disabled

Feature Name : IIS-ISAPIExtensions
State : Disabled

Feature Name : IIS-ASPNET
State : Disabled

Feature Name : IIS-ASPNET45
State : Disabled

Feature Name : IIS-ASP
State : Disabled

Feature Name : IIS-CGI
State : Disabled

Feature Name : IIS-ServerSideIncludes
State : Disabled

Feature Name : IIS-CustomLogging
State : Disabled

Feature Name : IIS-BasicAuthentication
State : Disabled

Feature Name : IIS-HttpCompressionStatic
State : Disabled

Feature Name : IIS-ManagementConsole
State : Disabled

Feature Name : IIS-ManagementService
State : Disabled

Feature Name : IIS-WMICompatibility
State : Disabled

Feature Name : IIS-LegacyScripts
State : Disabled

Feature Name : IIS-LegacySnapIn
State : Disabled

Feature Name : IIS-FTPServer
State : Disabled

Feature Name : IIS-FTPSvc
State : Disabled

Feature Name : IIS-FTPExtensibility
State : Disabled

Feature Name : WCF-Services45
State : Enabled

Feature Name : WCF-HTTP-Activation45
State : Disabled

Feature Name : WCF-TCP-Activation45
State : Disabled

Feature Name : WCF-Pipe-Activation45
State : Disabled

Feature Name : WCF-MSMQ-Activation45
State : Disabled

Feature Name : WCF-TCP-PortSharing45
State : Enabled

Feature Name : WCF-HTTP-Activation
State : Disabled

Feature Name : WCF-NonHTTP-Activation
State : Disabled

Feature Name : NetFx3
State : Disabled with Payload Removed

Feature Name : SMB1Protocol
State : Disabled

Feature Name : SMB1Protocol-Client
State : Disabled

Feature Name : SMB1Protocol-Server
State : Disabled

Feature Name : SMB1Protocol-Deprecation
State : Disabled

Feature Name : MediaPlayback
State : Enabled

Feature Name : WindowsMediaPlayer
State : Enabled
If anyone is able to help, we are trying to get win11arm running on stock android in termux, have made some decent headway in research, and invite anyone who would like to try to join in. Any experience level is fine it's just trial, error, google, and time..

This comment starts one off setting up kali linux nethunter in termux and then continues on how to fix problems in the machine. Lots of fun! https://forum.xda-developers.com/t/...ices-windows-10-nox-lab.4481613/post-88084255
 

jenneh

Senior Member
An update on the Virustotal Situation. First of all I am brand new to "Development". I have no formal training and am attending College now to correct that. Consider these posts, the documentations of a Noob. Being that as such, this is a program built by someone using only tools that are literally built into our Windows computers (dism.exe), plus oscdimg.exe shared by Microsoft in their ADK, who's hashes can clearly be checked. The MODWIN "installer" simply used Windows IExpress to extract itself, which again is built into our computers.

Initially when I submitted a ticket with Virus Total, there were 3 vendors flagging my program. I sent an email to Virustotal's support about the false flags, following the proper channels, and after 11 days I still hadn't heard anything. The same 3 vendors were flagging the file for what I could only describe was because A. it could unpack and install itself to C:\ (thanks to iexpress) and B. The batch file requests Admin access. (Which leads me to theorize some of these "vendors" just use scripts in their checks....)

A second email was sent, both emails were very polite and I would like to think well explained, with links to show this program was literally built from the ground up, there is nothing malicious here. And Again I hear nothing back, there is No Communication from VirusTotal, however, the 3 vendors that were previously flagging my program, no longer are, and now a New one is! "CrowdStrike Falcon" I have never seen this company before and I just feel like this has opened a whole new Interesting Pandora's Box about Virustotal that's kinda hard for me to describe.

Anywho. I am going to put in a third request for this interesting "vendor" that is flagging the program. If I actually hear from a Hoo-man I will update this comment. As of the time of writing, Virustotal is claiming 2/70 vendors are "suspicious" of my program, though I can only see the 1 new vendor that I have listed.

1.PNG


I have also asked for help, as a "noob" (This will be the Third Time!!) if there is a way I could try to program this that would not automatically "trigger" their vendors.. but again no response. Maybe we will hear something helpful this time as the third time is the charm or something like that <3 Or maybe someone Smart here can shed some Light on the way these things Actually work.

PS There is No Hate nor Animosity towards Virustotal nor it's Vendors. I am just Literally documenting what I am going through as a Normal Noob making their first Program.
 

indospot

Senior Member
Feb 23, 2014
175
71
Pombal
Hi jenneh, I have some feedback as a newbie to this whole process. I tried to reproduce these steps and was able to create an ISO that works on real hardware, however, it does not work in VMware, which says there's no media to boot from. Apparently this isn't the case when using the "classic" method with MODWINDOWZ, so is there maybe some difference in how the ISO is built?
 
  • Like
Reactions: jenneh

jenneh

Senior Member
Hi jenneh, I have some feedback as a newbie to this whole process. I tried to reproduce these steps and was able to create an ISO that works on real hardware, however, it does not work in VMware, which says there's no media to boot from. Apparently this isn't the case when using the "classic" method with MODWINDOWZ, so is there maybe some difference in how the ISO is built?
Hi there, this is an interesting problem I will try to reproduce today. Most of my tests in the past were using Vmware and I installed to a couple of real pcs, but it has been a month or two since I used an iso in vmware, so I will see if something has changed with them or if I can alter something in Modwin.

---Running the isos through Modwin now and will install in vmware
I was able to recreate the problem! Interesting. Let me see what is causing this

I will report back later today and let you know my results. I really appreciate all your feedback. Thank you.
 
Last edited:

indospot

Senior Member
Feb 23, 2014
175
71
Pombal
Hi there, this is an interesting problem I will try to reproduce today. Most of my tests in the past were using Vmware and I installed to a couple of real pcs, but it has been a month or two since I used an iso in vmware, so I will see if something has changed with them or if I can alter something in Modwin.

---Running the isos through Modwin now and will install in vmware
I was able to recreate the problem! Interesting. Let me see what is causing this

I will report back later today and let you know my results. I really appreciate all your feedback. Thank you.
Thank you for your help! I am not very useful with this kind of thing but the only difference I see between the command in the MODWINDOWZ guide and the screenshot you shared before is this -b thing. I don't think your screenshot had it.but I also don't know what it does.
1679563631163.png
 
  • Love
Reactions: jenneh

jenneh

Senior Member
Thank you for your help! I am not very useful with this kind of thing but the only difference I see between the command in the MODWINDOWZ guide and the screenshot you shared before is this -b thing. I don't think your screenshot had it.but I also don't know what it does.
View attachment 5869981
Sincerely, seriously from the bottom of my Heart, THANK YOU. This is what is causing it. I am fixing the batch now and have to repack everything in IEXPRESS and will leave a comment when it is done. Gosh I would have never seen it. Thank you Thank you. I am not sure what that silly -b is either honestly but i guess it is needed
 
  • Like
Reactions: indospot

indospot

Senior Member
Feb 23, 2014
175
71
Pombal
Sincerely, seriously from the bottom of my Heart, THANK YOU. This is what is causing it. I am fixing the batch now and have to repack everything in IEXPRESS and will leave a comment when it is done. Gosh I would have never seen it. Thank you Thank you. I am not sure what that silly -b is either honestly but i guess it is needed
I'm glad I could help! I only noticed this because I was trying to use the ISO to follow your other guide, to backup the entire drive and build an ISO with it.
 
  • Love
Reactions: jenneh

jenneh

Senior Member
@indospot I just really appreciate you even taking the time. I really cherish that. You have really helped me and well anyone curious enough to try this. It means a lot. The program was fixed and a new gdrive link added. Only change is what our friend Indospot found for us <3

17.PNG




I wanted to take the time to document how IEXPRESS was used to make the MODWIN.exe file so that will be in the spoiler below for anyone interested.

1.PNG

Search for ixpress, and make sure to RUN AS ADMINISTRATOR.

2.PNG

Create a new "SED" File

3.PNG

Select to Extract files and run an installation cmd

4.PNG

Set a name for your program

5.PNG

Choose whether to have a prompt when user runs your executable. I chose no prompt.

6.PNG

Choose to display a license. I did not.

7.PNG

Add your files you want to be bundled into the executable

8.PNG

Now we can add the code that will run after the user runs our executable. In this case I want build.bat to automatically run as soon as MODWIN.exe is ran

9.PNG

build.bat will basically build the MODWIN folder for us in the C drive and unpack oscdimg and modwin.bat from the MODWIN.EXE for us.

10.PNG

I chose hidden cause it's clean

11.PNG

I chose to display a msg since the code execution and self extraction happens so fast, it may confuse folks if it is done..

12.PNG

This part just wants you to pick a place to save your new program, and to name it

13.PNG

Configure whether your program needs a restart. I chose no.

14.PNG

This is if you want to save all your settings for your executable to a SED for further editing later

15.PNG

Click on next and it should create an executable for you with your choice of name, if instead you just get a .tmp file, press the back button and hit next again. This happens a lot.

16.PNG


Maybe someone can "Port" this knowledge to something else they are working on haha
 
Last edited:

xazac

Senior Member
Jul 15, 2008
237
13
Italy
Hello @jenneh, thank you for your amazing job!

Anyway, I have an issue using your tool even if I followed the exact steps found in this guide.
The problem is that once I've mounted WIM (step 15) and then I go with "4. Apps, Packages, and Features options." > "Press 1 to see APP PACKAGES", I can't see the list of removable items. It just asks me to paste the package I want to remove.

I tried twice but I got the same situation everytime.
I'm using "Win11_22H2_Italian_x64v1.iso" I just downloaded from Microsoft website.

I also opened a .txt file I found in C:\MODWIN that's called "new apps", but there's nothing inside except for "---------- C:\MODWIN\APPS.TXT" text string. Anyway, there's no APPS.TXT file into that path.

Advise: I had to disable Windows Defender "Protected Folders" feature because it prevents WIM to be mounted.

Wish you can help me, thank you!
 
Last edited:
  • Like
Reactions: jenneh

palamosteliaro

Senior Member
Jan 14, 2009
153
51
How to remove this? it created a windows installation folder structure (program files, program data, windows etc) inside the PATH folder and they cant be deleted (administrator permission required). Size 14gb size on disk 700mb 100k+ files.
Are these symlinks to the current windows installation its running from? is it safe to delete these files from a linux os?
 
  • Like
Reactions: jenneh

jenneh

Senior Member
How to remove this? it created a windows installation folder structure (program files, program data, windows etc) inside the PATH folder and they cant be deleted (administrator permission required). Size 14gb size on disk 700mb 100k+ files.
Are these symlinks to the current windows installation its running from? is it safe to delete these files from a linux os?
Hi. If the PATH folder is full and you no longer are working on the WIM, you can use option 7, then 2 and this will clean up the PATH folder by unmounting the WIM and cleaning that mount point. The PATH folder is the result of us Mounting the wim in option 3. Then you can delete MODWIN in C:\ without trouble

1.PNG
2.PNG

The actual code used is "dism.exe /mount-wim /wimfile:"C:\MODWIN\ISO\sources\install.wim" /mountdir:"C:\MODWIN\PATH" /index:1" with us using the PATH folder in modwin as the destination for the wim to unpack to. I cannot explain why Microsoft has dism "symlink" these but they can have ownership overtook and be deleted / modified with the right permissions, but for your case the steps above should suffice.

@xazac I will see if I can recreate the issue and report back, bare with me!
 
  • Like
Reactions: palamosteliaro

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Hello Friends~!

    I have built a tool that takes everything I learned from writing this GUIDE and makes it Easier! This is currently just a beginner's tool for those coming from the "How To" Guide. This Tool will evolve over time as I learn how to do more and more! All the baby steps have been documented in the comments section!


    PS MODWIN WORKS ON WINDOWS ARM ISOS TOO! <333

    If there is a feature you would like to see added, please let me know and I will try to learn how to add it for you!
    2.PNG

    This V2 Video shows the registry being used and building the iso if you care to see that. I didn't feel like re-recording it for v3
    Run MODWIN.exe it will install MODWIN to C:\MODWIN for us. You may now Delete MODWIN.exe.
    1673802461947.png


    You will now have a batch file in C:\MODWIN called MODWIN.bat. You can move this file anywhere and just run it, it will prompt for admin access for us. You must grant admin access, else dism will not be able to function.
    1673802539654.png


    Copy and paste your Windows ISO into the ISO folder of MODWIN
    1673802307461.png


    Option #1 has all the All-In-One removal Scripts.
    5.PNG

    The "All-In-Ones" Will remove and Disable Every app and feature that is "Safe" for removal. This may not be ideal for most users.

    If you want full control over what to remove you can skip option 1 and start with Option #2. Modwin will ask if your install file in MODWIN/ISO/sources is an esd or wim file.
    6.PNG


    7.PNG



    Modwin will then display your Source Index numbers. You may choose which one you like.
    8.PNG


    Dism will then extract the wim so that we are able to mount it with Step 3
    9.PNG


    When the WIM is fully Mounted you have access to the items in it, they will be in the PATH folder.
    10.PNG


    Option 4 allows you to see all apps, packages, and features installed on a WIM. You are able to add your own apps and packages as well by pasting them in either APPS or PACKAGES
    1.png


    MODWIN will now display your selection cleanly
    2.png


    You may double click an app or package to paste it for removal
    3.png

    Packages and features both work the same way

    NOTE THAT NOT ALL APPS AND PACKAGES ARE SAFE FOR REMOVAL. See the SOURCE CODE and scroll to the bottom to look at one of the all in one scripts to see all the "safe" packages or features, or feel free to play around and learn~!

    Option 5 lets you Mount the WIM's Registry
    12.PNG


    Option 6 will take everything that is in the USER folder and paste it into C:\ of the WIM.

    Option 7 unmounts the WIM how you select, builds the ISO, or it can be used to dump the wim if you make a mistake
    1673805003051.png


    You need to disable internet when installing your isos or else microsoft update will undo your changes. If you need help with this step
    SEE THE SIZE DIFFERENCE:

    "Vanilla" Isos:
    1668692771187.png


    Modded "Lite" Isos:
    1668703255945.png

    ALSO ON GITHUB:

    SOURCE CODES:
    V 3.2
    V 3.0
    All earlier versions are in the comments right below this post

    THE STEPS NOT SHOWN IN SOURCE CODE:
    How to use IEXPRESS to build a self extracting executable
    REF:

    IF YOUR PATH FOLDER IS FULL, OR YOU CANNOT DELETE MODWIN: SEE THIS COMMENT

    Virustotal Update - What it's like dealing with them. But for your project's sake you should try to communicate and document your interactions with these folks.

    THANK YOU TO @indospot FOR HELPING US TO FIX THE BUILD ISO CODE IN THE SCRIPT!!
    3
    1668638566649.png

    These four batch files are for use with UUP DUMP isos.

    UUP-1021 Is for any version of windows 10 21H2
    UUP-1021 Is for any version of windows 10 22H2
    UUP-1121 is for any version of windows 11 21H2
    UUP-1122 is for any version of windows 11 22H2
    1.PNG

    Select the version of windows you want to dl
    2.PNG

    Every iso update since existence is listed. These are all isos.
    3.PNG

    Select the version of windows. This will build an iso with a WIM instead of ESD
    4.PNG
    5.PNG

    Run the download script, it will build the iso. The iso will have a long name when complete, you can change this
    Okay! Falling down the rabbit hole further,

    An update is needed for UUP dump for 22H2 images due to the way they named the packages, the code has been prepared and tested.

    More ChangeLog:
    Some code will be added to both versions to clean-up after the iso is built. I.E. deletion of the wim and ISO folder contents

    The isos will now name themselves win10lite or win11lite instead of just winmod

    The original Source Code explanation video for anyone interested
    Spoiler alert for the video, We Are Never Done~!
    Fixed the EFI driver so the disks do not prompt to run.

    Going to add all the scripts into one Tool, so there will only be One version instead of separate versions for regular isos vs uupdump isos

    Removed all of the extra programs in MODWIN from the ADK that aren't being used

    Fixed 2 lines of code with issues in 22H2

    Ammend code to export the modded install.wim into an ultra compressed esd, took the iso down to 2.7g

    Code:
    dism /export-image /SourceImageFile:"C:\Users\0110\Desktop\MODWIN\ISO\sources\install.wim" /SourceIndex:1 /DestinationImageFile:"C:\Users\0110\Desktop\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity
    3
    FINALLY. Everything has been 100% tested and is working as intended. ISO Samples have been provided for every batch script and are located under the downloads section. The Win11lite created from the media creation tool is still uploading and will be added here shortly. I will work on Super Lite versions but since the whole point is to be minimalistic, in that effort, I will be using UUP images

    ---edit from a day later. I will work on explaining the manual tools tomorrow. Going to finally take a day off from the fun :) silly little headache will not let me think. So we should do something useful in that effort and use the tool to build the new scripts for win7 or 8 should be the goal and a good way of explaining things
    3
    I finally made progress in learning how to turn the batch into exactly one script, then turn it into an executable. I'm so happy I could cry! The links in my notes were God Sends!
    1669157640719.png

    Here's the source code. Vetting everything and adding final touches before release!
    Code:
    @echo off
    title [MODWIN <3]
    color 0A
    if "%1" neq "" ( goto %1)
    
    :MENU
    cls
    echo 1111   1111  000000   111111     00  00  00  111111  00      00
    echo 11 11 11 11 00    00  111  111   00  00  00    11    0000    00
    echo 11  111  11 00    00  111   111  00  00  00    11    00 00   00
    echo 11   11  11 00    00  111   111  00  00  00    11    00  00  00
    echo 11       11 00    00  111   111  00  00  00    11    00   00 00
    echo 11       11  000000   11111111   0000000000  111111  00    0000
    echo ===============================================================
    echo Brought to you by Jenneh and Cats~!   
    echo ===================================                       
    echo Options:
    echo ========
    echo 0. Build Modwin Folder
    echo 1. Run An All-In-One Removal Script
    echo 2. Source WIM and Extract
    echo 3. Mount WIM
    echo 4. Manually Get Apps, Packages, and Features
    echo 5. Mount WIM Registry (Optional: for those that need)
    echo 6. Unmount WIM, Save, and build ISO
    echo 7. Unmount WIM and Discard Changes (if you make a mistake :-D)
    echo 8. Exit
    echo =============================================
    set /p answer=Type a number above and press enter:
    if %answer%==0 goto BUILD
    if %answer%==1 goto SCRIPTS
    if %answer%==2 goto SOURCE_WIM
    if %answer%==3 goto MOUNT_WIM
    if %answer%==4 goto APP_PACK
    if %answer%==5 goto REG
    if %answer%==6 goto SAVE
    if %answer%==7 goto DISCARD
    if %answer%==8 goto EXIT
    pause
    
    :BUILD
    cls
    echo Making MODWIN's Directories Now~!
    echo =================================
    mkdir C:\MODWIN
    mkdir C:\MODWIN\ISO
    mkdir C:\MODWIN\MOD
    mkdir C:\MODWIN\PATH
    mkdir C:\MODWIN\WIM
    move oscdimg.exe "C:\MODWIN"
    echo Successio!
    pause
    goto MENU
    
    :SOURCE_WIM
    cls
    echo Does your ISO contain an ESD or a WIM?
    echo ======================================
    echo Type 1 for ESD
    echo Type 2 for WIM
    echo ===============
    set /p answer=Type a number and press enter:
    if %answer%==1 goto ESD
    if %answer%==2 goto WIM
    pause
    
    :ESD
    cls
    echo Here are your Options:
    echo ======================
    Dism /Get-WimInfo /WimFile:"C:\MODWIN\ISO\sources\install.esd"
    ==============================================================
    set /p answer=Type Source Index Number and Press Enter:
    if %answer%==1 goto ESD1
    if %answer%==2 goto ESD2
    if %answer%==3 goto ESD3
    if %answer%==4 goto ESD4
    if %answer%==5 goto ESD5
    if %answer%==6 goto ESD6
    if %answer%==7 goto ESD7
    pause
    
    :ESD1
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :ESD2
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:2 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :ESD3
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:3 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :ESD4
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:4 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :ESD5
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:5 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :ESD6
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:6 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :ESD7
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:7 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
    del :"C:\MODWIN\ISO\sources\install.esd"
    goto MENU
    
    :WIM
    cls
    echo Here are your Options:
    echo ======================
    Dism /Get-WimInfo /WimFile:"C:\MODWIN\ISO\sources\install.wim"
    echo ==========================================================
    set /p answer=Type Source Index Number and press enter:
    if %answer%==1 goto WIM1
    if %answer%==2 goto WIM2
    if %answer%==3 goto WIM3
    if %answer%==4 goto WIM4
    if %answer%==5 goto WIM5
    if %answer%==6 goto WIM6
    if %answer%==7 goto WIM7
    pause
    
    :WIM1
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :WIM2
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:2 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :WIM3
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:3 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :WIM4
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:4 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :WIM5
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:5 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :WIM6
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:6 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :WIM7
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:7 /DestinationImageFile:"C:\MODWIN\ISO\sources\install1.wim" /Compress:max /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    ren C:\MODWIN\ISO\sources\install1.wim install.wim
    goto MENU
    
    :MOUNT_WIM
    cls
    echo Mounting the WIM~!
    echo ==================
    dism.exe /mount-wim /wimfile:"C:\MODWIN\ISO\sources\install.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    goto MENU
    
    :APP_PACK
    cls
    echo Here are your Options:
    echo =======================
    echo Press 1 to see APP PACKAGES
    echo Press 2 to see PACKAGES
    echo Press 3 to see FEATURES
    echo Press 4 to return to the MENU
    echo ==============================
    set /p answer=Type a number and press enter: 
    if %answer%==1 goto APPS
    if %answer%==2 goto PACKAGES
    if %answer%==3 goto FEATURES
    if %answer%==4 goto MENU
    pause
    
    :APPS
    cls
    dism.exe /Image:C:\MODWIN\PATH /Get-ProvisionedAppxPackages >ProvisionedAppxPackages.txt   
    type ProvisionedAppxPackages.txt
    pause
    goto APP_PACK
    
    :PACKAGES
    cls
    dism.exe /Image:C:\MODWIN\PATH /Get-Packages
    pause
    goto APP_PACK
    
    :FEATURES
    cls
    Dism /Image:C:\MODWIN\PATH /Get-Features
    pause
    goto APP_PACK
    
    :REG
    cls
    echo Here are your Options:
    echo =======================
    echo Press 1 to open the SYSTEM Registry Hive
    echo Press 2 to open the SOFTWARE Registry Hive
    echo Press 3 to open the DEFAULT Registry Hive
    echo Press 4 to open the DRIVERS Registry Hive
    echo Press 5 to open the SAM Registry Hive
    echo Press 6 to UNLOAD Current Hive
    echo Press 7 to return to the main MENU
    echo =========================================
    set /p answer=Type a number and press enter: 
    if %answer%==1 goto SYSTEM
    if %answer%==2 goto SOFTWARE
    if %answer%==3 goto DEFAULT
    if %answer%==4 goto DRIVERS
    if %answer%==5 goto SAM
    if %answer%==6 goto UNLOAD
    if %answer%==7 goto MENU
    pause
    
    :SYSTEM
    cls
    echo Loading WIM's SYSTEM Registry Hive
    echo ===================================
    reg load HKLM\OFFLINE C:\MODWIN\PATH\Windows\System32\Config\SYSTEM
    pause
    regedit
    goto REG
    
    :SOFTWARE
    cls
    echo Loading WIM's SOFTWARE Registry Hive
    echo ===================================
    reg load HKLM\OFFLINE C:\MODWIN\PATH\Windows\System32\Config\SOFTWARE
    pause
    regedit
    goto REG
    
    :DEFAULT
    cls
    echo Loading WIM's DEFAULT Registry Hive
    echo ===================================
    reg load HKLM\OFFLINE C:\MODWIN\PATH\Windows\System32\Config\DEFAULT
    pause
    regedit
    goto REG
    
    :DRIVERS
    cls
    echo Loading WIM's DRIVERS Registry Hive
    echo ===================================
    reg load HKLM\OFFLINE C:\MODWIN\PATH\Windows\System32\Config\DRIVERS
    pause
    regedit
    goto REG
    
    :SAM
    cls
    echo Loading WIM's SAM Registry Hive
    echo ================================
    reg load HKLM\OFFLINE C:\MODWIN\PATH\Windows\System32\Config\SAM
    pause
    regedit
    goto REG
    
    :UNLOAD
    reg unload HKLM\OFFLINE
    echo Successio~!
    pause
    goto REG
    
    :SAVE
    cls
    echo Saving Changes to the WIM
    echo ==========================
    Dism /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase
    dism.exe /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    echo =========================================================================================================
    echo Do you want to Compress the WIM to an ESD now? This will take some time, resulting in a smaller iso size.
    echo If you do not care about file size and / or need to edit the wim again later, say no.
    echo =========================================================================================================
    echo type 1 for yes
    echo type 2 for no
    echo ========================================
    set /p answer=Type a number and press enter:
    if %answer%==1 goto COMPRESS
    if %answer%==2 goto BUILDISO
    pause
    
    :COMPRESS
    echo Compressing WIM into ESD Now~!
    echo ==============================
    dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity
    del "C:\MODWIN\ISO\sources\install.wim"
    goto BUILDISO
    
    :BUILDISO
    cls
    echo Building your ISO Now~!
    echo =======================
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -C:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\winmod.iso
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    
    :DISCARD
    cls
    echo Unmounting and discarding the changes to the WIM
    echo =================================================
    dism /Cleanup-mountpoints
    dism.exe /Unmount-Image /MountDir:"C:\MODWIN\PATH" /discard
    pause
    goto MENU
    
    :EXIT
    cls
    echo Have Fun!!
    pause
    exit /b
    
    :SCRIPTS
    cls
    echo Script Options:
    echo ================
    echo 1. Windows 11
    echo 2. Windows 10
    echo 3. UUP Windows 11 - 22H2
    echo 4. UUP Windows 11 - 22H1
    echo 5. UUP Windows 10 - 22H2
    echo 6. UUP Windows 10 - 22H1
    echo =========================
    set /p answer=Type a number and press enter:
    if %answer%==1 goto WIN11
    if %answer%==2 goto WIN10
    if %answer%==3 goto UUP1122
    if %answer%==4 goto UUP1121
    if %answer%==5 goto UUP1022
    if %answer%==6 goto UUP1021
    pause
    
    :WIN11
    cls
    echo SET IT AND FORGET IT, BOSS~!
    echo =============================
    move "C:\MODWIN\ISO\sources\install.esd" C:\MODWIN\WIM
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\install.esd" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\WIM\mod.wim" /Compress:max /CheckIntegrity
    dism.exe /mount-wim /wimfile:"C:\MODWIN\WIM\mod.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_3.2204.14815.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_4.2.27001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.53.33420.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2022.310.2333.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.2201.421.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_2021.2204.1.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.43012.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEVCVideoExtension_1.0.50361.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.2204.1141.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.12.3171.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_4.2.2.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Paint_11.2201.22.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2020.901.1724.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.PowerAutomateDesktop_10.0.3735.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.RawImageExtension_2.1.30391.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2022.2201.12.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_12008.1001.113.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Todos_2.54.42772.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.42192.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.42351.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_21.21030.25003.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2022.2202.24.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.2103.8.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2022.2201.4.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.14326.20544.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2022.106.2230.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2022.2202.6.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsNotepad_11.2112.32.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2021.2103.28.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_22204.1400.4.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28004.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.47.2385.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.622.3232.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_1.22022.147.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_11.2202.46.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.22020.10021.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.MicrosoftFamily_0.1.28.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.QuickAssist_2022.414.1758.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftWindows.Client.WebExperience_421.20070.195.0_neutral_~_cw5n1h2txyewy
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GamingApp_2021.427.138.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsTerminal_3001.12.10983.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WMIC-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-Features /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45 /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2 /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure /Remove
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features /Remove
    Dism /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase
    dism /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\mod.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity && pause
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -bC:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\win11lite.iso
    rmdir "C:\MODWIN\ISO" /S /Q
    mkdir "C:\MODWIN\ISO"
    del "C:\MODWIN\WIM\mod.wim"
    del "C:\MODWIN\WIM\install.esd"
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    
    :WIN10
    cls
    echo SET IT AND FORGET IT, BOSS~!
    echo =============================
    move "C:\MODWIN\ISO\sources\install.esd" C:\MODWIN\WIM
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\install.esd" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\WIM\mod.wim" /Compress:max /CheckIntegrity
    dism.exe /mount-wim /wimfile:"C:\MODWIN\WIM\mod.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_1.1911.21713.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_6.1908.2042.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MSPaint_2019.729.2301.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2019.904.1644.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.20875.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.22753.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2019.19071.12548.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.1906.55.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11910.1002.513.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_8.2.22942.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.19081.1301.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.12026.20112.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2019.305.632.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.53.77.0_neutral_~_kzf8qxf38zg5c
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2019.807.41.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.826.98.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.11629.20316.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2019.1111.2029.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2019.716.2316.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2019.716.2313.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_48.49.31001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.34.28001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.746
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.19041.1202
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.19041.1202
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.19041.1202
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.19041.1266
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.19041.746
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.19041.746
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.1266
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1202
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.19041.964
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.19041.1266
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.746
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Notepad-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1081
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.906
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:printing-PrintToPDFServices-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:printing-XPSServices-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WindowsMediaPlayer
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:printing-Foundation-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:printing-Foundation-InternetPrinting-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol-Deprecation
    Dism /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase 
    dism /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\mod.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity && pause
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -bC:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\win10lite.iso
    rmdir "C:\MODWIN\ISO" /S /Q
    mkdir "C:\MODWIN\ISO"
    del "C:\MODWIN\WIM\mod.wim"
    del "C:\MODWIN\WIM\install.esd"
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    
    :UUP1122
    cls
    echo SET IT AND FORGET IT, BOSS~!
    echo =============================
    move "C:\MODWIN\ISO\sources\install.wim" C:\MODWIN\WIM\mod.wim
    dism.exe /mount-wim /wimfile:"C:\MODWIN\WIM\mod.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GamingApp_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.43012.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEVCVideoExtension_1.0.50361.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Framework.1.3_1.3.24211.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Framework.1.3_1.3.24211.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Framework.1.7_1.7.27413.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Framework.2.2_2.2.29512.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Runtime.1.7_1.7.25531.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.NET.Native.Runtime.2.2_2.2.28604.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Paint_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.PowerAutomateDesktop_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.RawImageExtension_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Todos_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.UI.Xaml.2.1_2.11906.6001.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.UI.Xaml.2.3_2.32002.13001.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.UI.Xaml.2.7_7.2203.17001.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VCLibs.140.00.UWPDesktop_14.0.30704.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VCLibs.140.00_14.0.30704.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.42351.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsTerminal_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.MicrosoftFamily_2022.507.447.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.QuickAssist_2022.507.446.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftWindows.Client.WebExperience_2022.507.446.0_neutral_~_cw5n1h2txyewy
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WMIC-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.22621.1
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45 /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2 /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features /Remove
    dism.exe /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase 
    dism.exe /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\mod.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:recovery /CheckIntegrity && pause
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -bC:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\UUP1122.iso
    rmdir "C:\MODWIN\ISO" /S /Q
    mkdir "C:\MODWIN\ISO"
    del "C:\MODWIN\WIM\mod.wim"
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    
    :UUP1121
    cls
    echo SET IT AND FORGET IT, BOSS~!
    echo =============================
    move "C:\MODWIN\ISO\sources\install.wim" C:\MODWIN\WIM\mod.wim
    dism.exe /mount-wim /wimfile:"C:\MODWIN\WIM\mod.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_2.2106.2807.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_4.7.28001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.9.2002.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GamingApp_2021.427.138.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.2008.32311.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_10.2.41172.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.40978.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.2104.12721.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.6.3102.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_4.1.2.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Paint_10.2104.17.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2020.901.1724.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.PowerAutomateDesktop_10.0.561.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2021.2104.2.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SecHealthUI_1000.22000.1.0_neutral__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_12008.1001.113.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Todos_2.33.33351.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.UI.Xaml.2.4_2.42007.9001.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VCLibs.140.00_14.0.29231.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.41182.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.40831.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.32731.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_21.21030.25003.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2021.2101.27.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.2012.21.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2020.503.58.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.12827.20400.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2021.427.1821.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2021.2012.10.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2021.2012.41.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_12104.1001.113.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsTerminal_2021.226.1915.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.50.24002.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.21012.10511.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.21012.10511.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftWindows.Client.WebExperience_321.14700.0.9_neutral_~_cw5n1h2txyewy
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.22000.1
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-Features /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45 /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2 /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure /Remove
    dism.exe /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features /Remove
    dism.exe /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase 
    dism.exe /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\mod.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity && pause
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -bC:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\UUP1121.iso
    rmdir "C:\MODWIN\ISO" /S /Q
    mkdir "C:\MODWIN\ISO"
    del "C:\MODWIN\WIM\mod.wim"
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    
    :UUP1022
    cls
    echo SET IT AND FORGET IT, BOSS~!
    echo =============================
    move "C:\MODWIN\ISO\sources\install.wim" C:\MODWIN\WIM\mod.wim
    dism.exe /mount-wim /wimfile:"C:\MODWIN\WIM\mod.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_1.1911.21713.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_8.2.22942.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_6.1908.2042.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.19081.1301.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MSPaint_2019.729.2301.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.12026.20112.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2019.305.632.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2019.904.1644.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.53.77.0_neutral_~_kzf8qxf38zg5c
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VCLibs.140.00_14.0.27323.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.20875.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.22753.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2019.19071.12548.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2019.807.41.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.1906.55.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.826.98.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.11629.20316.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2019.1111.2029.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2019.716.2316.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2019.716.2313.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11910.1002.513.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_48.49.31001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.34.28001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-XPSServices-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WindowsMediaPlayer
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol-Deprecation
    Dism /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase 
    dism /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\mod.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity && pause
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -bC:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\UUP1022.iso
    rmdir "C:\MODWIN\ISO" /S /Q
    mkdir "C:\MODWIN\ISO"
    del "C:\MODWIN\WIM\mod.wim"
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    
    :UUP1021
    cls
    echo SET IT AND FORGET IT, BOSS~!
    echo =============================
    move "C:\MODWIN\ISO\sources\install.wim" C:\MODWIN\WIM\mod.wim
    dism.exe /mount-wim /wimfile:"C:\MODWIN\WIM\mod.wim" /mountdir:"C:\MODWIN\PATH" /index:1
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_1.1911.21713.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.25.20211.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2019.125.2243.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.1706.13331.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.22742.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Microsoft3DViewer_6.1908.2042.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MSPaint_2019.729.2301.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2019.904.1644.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_11811.1001.1813.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.22681.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.20875.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.22753.0_x64__8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_2019.19071.12548.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.1906.55.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_11910.1002.513.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_8.2.22942.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.1903.1152.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.4.8204.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_3.6.73.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MixedReality.Portal_2000.19081.1301.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Office.OneNote_16001.12026.20112.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2019.305.632.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SkypeApp_14.53.77.0_neutral_~_kzf8qxf38zg5c
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Wallet_2.4.18324.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2019.807.41.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2018.826.98.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.11629.20316.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2019.1111.2029.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2019.716.2316.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2019.716.2313.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28002.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxApp_48.49.31001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.46.11001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.34.28001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_2019.430.2026.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.19071.19011.0_neutral_~_8wekyb3d8bbwe
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-FodMetadata-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Migration-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MSPaint-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-PowerShell-ISE-FOD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Printing-WFS-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-QuickAssist-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-UserExperience-Desktop-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    dism.exe /Image:C:\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.19041.1
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-PrintToPDFServices-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-XPSServices-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WindowsMediaPlayer
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-Features
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:Printing-Foundation-InternetPrinting-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol-Client
    Dism /Image:C:\MODWIN\PATH /Disable-Feature /FeatureName:SMB1Protocol-Deprecation
    Dism /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase 
    dism /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
    dism /export-image /SourceImageFile:"C:\MODWIN\WIM\mod.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity && pause
    C:\MODWIN\oscdimg.exe -m -oc -u2 -udfver102 -bC:\MODWIN\ISO\efi\microsoft\boot\efisys_noprompt.bin C:\MODWIN\ISO C:\MODWIN\MOD\UUP1021.iso
    rmdir "C:\MODWIN\ISO" /S /Q
    mkdir "C:\MODWIN\ISO"
    del "C:\MODWIN\WIM\mod.wim"
    echo ===================================================
    echo All Done, Boss~! Check C:\WINMOD\MOD For Your ISO!
    echo ===================================================
    pause
    goto EXIT
    2
    Hi jenneh, when you download from uupdump, you can configure the download of ConvertConfig + CustomAppsList. Try this.
    So I had the time to finally try this and was able to try many things. My question is this, have you been able to edit any of the packages in the aria script, which has some of the same packages and more, that we removed using dism or modwin?

    As far as I can tell UUP calls this aria script from github which runs concurrently with the other script, making edits difficult as far as I have tried. Am I doing things wrong?
    Capture.PNG
    If there's not an easier way to stop the package download, maybe it's possible to rewrite the script with only needed packages and that combined with the other iso creation utilities UUP has built-in to their script, could turn "Lite" ISO creation into a one step process.

    The way they pack the isos is fascinating, so there's a lot to be learned there.

    What I tried already was running the uup_download_windows.cmd so I could obtain all the downloads, then I edited the aria2 script, saved it to a new converter folder, added my ConvertConfig.ini with modifications, ran uup_download_windows.cmd in the new iso converter folder, but it downloaded a new aria2 script, or at least named it differently, even though it was a copy of the same iso creation zip just in a different folder