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!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
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
Spoiler: HOW TO USE
Run MODWIN.exe it will install MODWIN to C:\MODWIN for us. You may now Delete MODWIN.exe.
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.
Copy and paste your Windows ISO into the ISO folder of MODWIN
Option #1 has all the All-In-One removal Scripts.
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.
Modwin will then display your Source Index numbers. You may choose which one you like.
Dism will then extract the wim so that we are able to mount it with Step 3
When the WIM is fully Mounted you have access to the items in it, they will be in the PATH folder.
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
MODWIN will now display your selection cleanly
You may double click an app or package to paste it for removal
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
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
You need to disable internet when installing your isos or else microsoft update will undo your changes. If you need help with this step
Spoiler: SEE THE SIZE DIFFERENCE
SEE THE SIZE DIFFERENCE:
"Vanilla" Isos:
Modded "Lite" Isos:
Spoiler: DOWNLOAD
MODWIN.EXE
drive.google.com
ALSO ON GITHUB:
GitHub - 01101010110/MODWIN: A Tool To Make a Tiny or "Lite" Windows ISO. Allows you to Inspect and Modify Windows Images as well
A Tool To Make a Tiny or "Lite" Windows ISO. Allows you to Inspect and Modify Windows Images as well - GitHub - 01101010110/MODWIN: A Tool To Make a Tiny or "Lite" Windows ISO. ...
github.com
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
Spoiler: REF
REF:
How To Make Your Own Tiny or Lite Windows ISO
Hello Friends, Today I bring you a guide on how to properly mod your windows isos, to do anything you want :) [/SPOILER] [/SPOILER] [/SPOILER] To remove installed apps: dism.exe /Image:C:\Users\0110\Desktop\MODWINDOWZ\PATH...
forum.xda-developers.com
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!!
Spoiler: MODWIN FOR UUPDUMP ISOS
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
Spoiler: HOW TO DOWNLOAD ISOS
UUP dump
UUP dump lets you download Unified Update Platform files, like Windows Insider updates, directly from Windows Update.
uupdump.net
Select the version of windows you want to dl
Every iso update since existence is listed. These are all isos.
Select the version of windows. This will build an iso with a WIM instead of ESD
Run the download script, it will build the iso. The iso will have a long name when complete, you can change this
Spoiler: CHANGELOG
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~!
Spoiler: CHANGELOG
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
Hello Jenneh. Does the image downloaded from uupdump have newer versions of packages ?
P414DIN said:
Hello Jenneh. Does the image downloaded from uupdump have newer versions of packages ?
Click to expand...
Click to collapse
Hey there, if you specifically select the latest version of win 10 or win 11 "22h2" and look at the date it was uploaded, they will have packages as new as that date. They source everything from microsoft themselves and say the updates come from the update server, it seems that way when you run the script I just don't quite understand their sourcing method well enough yet to explain better but will get there.
Spoiler: EXAMPLE
Spoiler: OLD MODWIN SOURCE CODES PART 1
Spoiler: UUP-1021
Code:
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"
Spoiler: UUP-1022
Code:
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"
Spoiler: UUP-1121
Code:
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"
Spoiler: OLD MODWIN SOURCE CODES PART 2
Spoiler: UUP-1122
Code:
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"
Spoiler: WIN10
Code:
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"
Spoiler: WIN11
Code:
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.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\win11lite.iso
rmdir "C:\MODWIN\ISO" /S /Q
mkdir "C:\MODWIN\ISO"
del "C:\MODWIN\WIM\mod.wim"
del "C:\MODWIN\WIM\install.esd"
Spoiler: OLD MODWIN SOURCE CODES PART 3
Spoiler: TOOLS FOLDER
Spoiler: BUILDISO.BAT
Code:
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
Spoiler: CLEANISO.BAT
Code:
del "C:\MODWIN\ISO\autorun.inf"
rmdir "C:\MODWIN\ISO\support" /S /Q
rmdir "C:\MODWIN\ISO\boot\en-us" /S /Q
rmdir "C:\MODWIN\ISO\boot\fonts" /S /Q
rmdir "C:\MODWIN\ISO\boot\resources" /S /Q
del "C:\MODWIN\ISO\boot\bootfix.bin"
del "C:\MODWIN\ISO\boot\bootsect.exe"
del "C:\MODWIN\ISO\boot\etfsboot.com"
del "C:\MODWIN\ISO\boot\memtest.exe"
rmdir "C:\MODWIN\ISO\efi\microsoft\boot\cipolicies" /S /Q
rmdir "C:\MODWIN\ISO\efi\microsoft\boot\fonts" /S /Q
rmdir "C:\MODWIN\ISO\efi\microsoft\boot\resources" /S /Q
del "C:\MODWIN\ISO\efi\microsoft\boot\cdboot.efi"
del "C:\MODWIN\ISO\efi\microsoft\boot\cdboot_noprompt.efi"
del "C:\MODWIN\ISO\efi\microsoft\boot\efisys.bin"
del "C:\MODWIN\ISO\efi\microsoft\boot\memtest.efi"
del "C:\MODWIN\ISO\efi\microsoft\boot\winsipolicy.p7b"
rmdir "C:\MODWIN\ISO\sources\asz" /S /Q
rmdir "C:\MODWIN\ISO\sources\dlmanifests" /S /Q
rmdir "C:\MODWIN\ISO\sources\en-us" /S /Q
rmdir "C:\MODWIN\ISO\sources\etwproviders" /S /Q
rmdir "C:\MODWIN\ISO\sources\inf" /S /Q
rmdir "C:\MODWIN\ISO\sources\migration" /S /Q
rmdir "C:\MODWIN\ISO\sources\replacementmanifests" /S /Q
rmdir "C:\MODWIN\ISO\sources\sxs" /S /Q
rmdir "C:\MODWIN\ISO\sources\uup" /S /Q
del "C:\MODWIN\ISO\sources\acmigration.dll"
del "C:\MODWIN\ISO\sources\acres.dll"
del "C:\MODWIN\ISO\sources\actionqueue.dll"
del "C:\MODWIN\ISO\sources\adfscomp.dll"
del "C:\MODWIN\ISO\sources\admtv3check.dll"
del "C:\MODWIN\ISO\sources\aeinv.dll"
del "C:\MODWIN\ISO\sources\alert.gif"
del "C:\MODWIN\ISO\sources\appcompat.xsl"
del "C:\MODWIN\ISO\sources\appcompat_bidi.xsl"
del "C:\MODWIN\ISO\sources\appcompat_detailed.xsl"
del "C:\MODWIN\ISO\sources\appcompat_detailed_bidi.xsl"
del "C:\MODWIN\ISO\sources\appcompat_detailed_bidi_txt.xsl"
del "C:\MODWIN\ISO\sources\appcompat_detailed_txt.xsl"
del "C:\MODWIN\ISO\sources\appcompatservicing.dll"
del "C:\MODWIN\ISO\sources\appraiser.dll"
del "C:\MODWIN\ISO\sources\appraiser.sdb"
del "C:\MODWIN\ISO\sources\appraiserdatasha1.cat"
del "C:\MODWIN\ISO\sources\appraiserres.dll"
del "C:\MODWIN\ISO\sources\appraisersdblatestoshash.txt"
del "C:\MODWIN\ISO\sources\arunimg.dll"
del "C:\MODWIN\ISO\sources\arunres.dll"
del "C:\MODWIN\ISO\sources\autorun.dll"
del "C:\MODWIN\ISO\sources\background_cli.png"
del "C:\MODWIN\ISO\sources\bcd.dll"
del "C:\MODWIN\ISO\sources\bootsvc.dll"
del "C:\MODWIN\ISO\sources\cdplib.mof"
del "C:\MODWIN\ISO\sources\cdplibuninstall.mof"
del "C:\MODWIN\ISO\sources\clustercompliance.dll"
del "C:\MODWIN\ISO\sources\cmi2migxml.dll"
del "C:\MODWIN\ISO\sources\cmisetup.dll"
del "C:\MODWIN\ISO\sources\compatappraiserresources.dll"
del "C:\MODWIN\ISO\sources\compatctrl.dll"
del "C:\MODWIN\ISO\sources\compatresources.dll"
del "C:\MODWIN\ISO\sources\compres.dll"
del "C:\MODWIN\ISO\sources\cryptosetup.dll"
del "C:\MODWIN\ISO\sources\csiagent.dll"
del "C:\MODWIN\ISO\sources\cversion.ini"
del "C:\MODWIN\ISO\sources\db_msftproductionwindowssigningca.cer"
del "C:\MODWIN\ISO\sources\devinv.dll"
del "C:\MODWIN\ISO\sources\diager.dll"
del "C:\MODWIN\ISO\sources\diagnostic.dll"
del "C:\MODWIN\ISO\sources\diagtrack.dll"
del "C:\MODWIN\ISO\sources\diagtrackrunner.exe"
del "C:\MODWIN\ISO\sources\dism.exe"
del "C:\MODWIN\ISO\sources\dismapi.dll"
del "C:\MODWIN\ISO\sources\dismcore.dll"
del "C:\MODWIN\ISO\sources\dismcoreps.dll"
del "C:\MODWIN\ISO\sources\dismprov.dll"
del "C:\MODWIN\ISO\sources\du.dll"
del "C:\MODWIN\ISO\sources\facilitator.dll"
del "C:\MODWIN\ISO\sources\folderprovider.dll"
del "C:\MODWIN\ISO\sources\gatherosstate.exe"
del "C:\MODWIN\ISO\sources\generaltel.dll"
del "C:\MODWIN\ISO\sources\hwcompat.dll"
del "C:\MODWIN\ISO\sources\hwcompat.txt"
del "C:\MODWIN\ISO\sources\hwcompatPE.txt"
del "C:\MODWIN\ISO\sources\hwexclude.txt"
del "C:\MODWIN\ISO\sources\hwexcludePE.txt"
del "C:\MODWIN\ISO\sources\hwreqchk.dll"
del "C:\MODWIN\ISO\sources\hypervcomplcheck.dll"
del "C:\MODWIN\ISO\sources\iasmigplugin.dll"
del "C:\MODWIN\ISO\sources\icbexclusion.inf"
del "C:\MODWIN\ISO\sources\idwbinfo.txt"
del "C:\MODWIN\ISO\sources\iiscomp.dll"
del "C:\MODWIN\ISO\sources\imagelib.dll"
del "C:\MODWIN\ISO\sources\imagingprovider.dll"
del "C:\MODWIN\ISO\sources\input.dll"
del "C:\MODWIN\ISO\sources\itgtupg.dll"
del "C:\MODWIN\ISO\sources\lang.ini"
del "C:\MODWIN\ISO\sources\locale.nls"
del "C:\MODWIN\ISO\sources\logprovider.dll"
del "C:\MODWIN\ISO\sources\mediasetupuimgr.dll"
del "C:\MODWIN\ISO\sources\migapp.xml"
del "C:\MODWIN\ISO\sources\migcore.dll"
del "C:\MODWIN\ISO\sources\mighost.exe"
del "C:\MODWIN\ISO\sources\migisol.dll"
del "C:\MODWIN\ISO\sources\migres.dll"
del "C:\MODWIN\ISO\sources\migstore.dll"
del "C:\MODWIN\ISO\sources\migsys.dll"
del "C:\MODWIN\ISO\sources\migtestplugin.dll"
del "C:\MODWIN\ISO\sources\"mitigation.dll
del "C:\MODWIN\ISO\sources\mxeagent.dll"
del "C:\MODWIN\ISO\sources\nlsbres.dll"
del "C:\MODWIN\ISO\sources\ntdsupg.dll"
del "C:\MODWIN\ISO\sources\ntfrsupg.dll"
del "C:\MODWIN\ISO\sources\nxquery.inf"
del "C:\MODWIN\ISO\sources\nxquery.sys"
del "C:\MODWIN\ISO\sources\offline.xml"
del "C:\MODWIN\ISO\sources\offlineprofileutils.dll"
del "C:\MODWIN\ISO\sources\oscomps.woa.xml"
del "C:\MODWIN\ISO\sources\oscomps.xml"
del "C:\MODWIN\ISO\sources\osfilter.inf"
del "C:\MODWIN\ISO\sources\outofbox_windows_db.bin"
del "C:\MODWIN\ISO\sources\pnpibs.dll"
del "C:\MODWIN\ISO\sources\pnppropmig.dll"
del "C:\MODWIN\ISO\sources\product.ini"
del "C:\MODWIN\ISO\sources\rdsupgcheck.dll"
del "C:\MODWIN\ISO\sources\reagent.admx"
del "C:\MODWIN\ISO\sources\reagent.dll"
del "C:\MODWIN\ISO\sources\reagent.xml"
del "C:\MODWIN\ISO\sources\reportgen.dll"
del "C:\MODWIN\ISO\sources\reservemanager.dll"
del "C:\MODWIN\ISO\sources\rmsupg.dll"
del "C:\MODWIN\ISO\sources\rollback.exe"
del "C:\MODWIN\ISO\sources\schema.dat"
del "C:\MODWIN\ISO\sources\sdbapiu.dll"
del "C:\MODWIN\ISO\sources\segoeui.ttf"
del "C:\MODWIN\ISO\sources\servicingcommon.dll"
del "C:\MODWIN\ISO\sources\setupcompat.dll"
del "C:\MODWIN\ISO\sources\setupcore.dll"
del "C:\MODWIN\ISO\sources\setupdiag.exe"
del "C:\MODWIN\ISO\sources\setuperror.exe"
del "C:\MODWIN\ISO\sources\setuphost.exe"
del "C:\MODWIN\ISO\sources\setupmgr.dll"
del "C:\MODWIN\ISO\sources\setupplatform.cfg"
del "C:\MODWIN\ISO\sources\setupplatform.dll"
del "C:\MODWIN\ISO\sources\setupplatform.exe"
del "C:\MODWIN\ISO\sources\setupprep.exe"
del "C:\MODWIN\ISO\sources\sfcn.dat"
del "C:\MODWIN\ISO\sources\sflcid.dat"
del "C:\MODWIN\ISO\sources\sflistrs1.dat"
del "C:\MODWIN\ISO\sources\sflistw7.dat"
del "C:\MODWIN\ISO\sources\sflistw8.dat"
del "C:\MODWIN\ISO\sources\sflistw8.woa.dat"
del "C:\MODWIN\ISO\sources\sflistwb.dat"
del "C:\MODWIN\ISO\sources\sflistwb.woa.dat"
del "C:\MODWIN\ISO\sources\sflistwt.dat"
del "C:\MODWIN\ISO\sources\sflistwt.woa.dat"
del "C:\MODWIN\ISO\sources\sfpat.inf"
del "C:\MODWIN\ISO\sources\sfpatrs1.inf"
del "C:\MODWIN\ISO\sources\sfpatw7.inf"
del "C:\MODWIN\ISO\sources\sfpatw8.inf"
del "C:\MODWIN\ISO\sources\sfpatwb.inf"
del "C:\MODWIN\ISO\sources\sfpatwt.inf"
del "C:\MODWIN\ISO\sources\smiengine.dll"
del "C:\MODWIN\ISO\sources\spflvrnt.dll"
del "C:\MODWIN\ISO\sources\spprgrss.dll"
del "C:\MODWIN\ISO\sources\spwizeng.dll"
del "C:\MODWIN\ISO\sources\spwizimg.dll"
del "C:\MODWIN\ISO\sources\spwizres.dll"
del "C:\MODWIN\ISO\sources\sqmapi.dll"
del "C:\MODWIN\ISO\sources\uddicomp.dll"
del "C:\MODWIN\ISO\sources\unattend.dll"
del "C:\MODWIN\ISO\sources\unbcl.dll"
del "C:\MODWIN\ISO\sources\uninstall.xml"
del "C:\MODWIN\ISO\sources\uninstall_data.xml"
del "C:\MODWIN\ISO\sources\updateagent.dll"
del "C:\MODWIN\ISO\sources\upgloader.dll"
del "C:\MODWIN\ISO\sources\upgrade_bulk.xml"
del "C:\MODWIN\ISO\sources\upgrade_comp.xml"
del "C:\MODWIN\ISO\sources\upgrade_data.xml"
del "C:\MODWIN\ISO\sources\upgrade_frmwrk.xml"
del "C:\MODWIN\ISO\sources\upgradeagent.dll"
del "C:\MODWIN\ISO\sources\upgradeagent.xml"
del "C:\MODWIN\ISO\sources\upgwow_bulk.xml"
del "C:\MODWIN\ISO\sources\utcapi.dll"
del "C:\MODWIN\ISO\sources\uxlib.dll"
del "C:\MODWIN\ISO\sources\uxlibres.dll"
del "C:\MODWIN\ISO\sources\vhdprovider.dll"
del "C:\MODWIN\ISO\sources\w32uiimg.dll"
del "C:\MODWIN\ISO\sources\w32uires.dll"
del "C:\MODWIN\ISO\sources\warning.gif"
del "C:\MODWIN\ISO\sources\wdsclient.dll"
del "C:\MODWIN\ISO\sources\wdsclientapi.dll"
del "C:\MODWIN\ISO\sources\wdscommonlib.dll"
del "C:\MODWIN\ISO\sources\wdscore.dll"
del "C:\MODWIN\ISO\sources\wdscsl.dll"
del "C:\MODWIN\ISO\sources\wdsimage.dll"
del "C:\MODWIN\ISO\sources\wdstptc.dll"
del "C:\MODWIN\ISO\sources\wdsupgcompl.dll"
del "C:\MODWIN\ISO\sources\wdsutil.dll"
del "C:\MODWIN\ISO\sources\wicadevicefilters.xml"
del "C:\MODWIN\ISO\sources\wimgapi.dll"
del "C:\MODWIN\ISO\sources\wimprovider.dll"
del "C:\MODWIN\ISO\sources\win32ui.dll"
del "C:\MODWIN\ISO\sources\windlp.dll"
del "C:\MODWIN\ISO\sources\winsetup.dll"
del "C:\MODWIN\ISO\sources\winsetupboot.hiv"
del "C:\MODWIN\ISO\sources\winsetupboot.sys"
del "C:\MODWIN\ISO\sources\winsetupmon.sys"
del "C:\MODWIN\ISO\sources\winsetupmon.hiv"
del "C:\MODWIN\ISO\sources\wpx.dll"
Spoiler: COMPRESSWIM2ESD.BAT
Code:
dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.wim" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.esd" /Compress:recovery /CheckIntegrity
Spoiler: EXTRACTWIM.BAT
Code:
dism /export-image /SourceImageFile:"C:\MODWIN\ISO\sources\install.esd" /SourceIndex:1 /DestinationImageFile:"C:\MODWIN\ISO\sources\install.wim" /Compress:max /CheckIntegrity
Spoiler: GETAPPS.BAT
Code:
dism.exe /Image:C:\MODWIN\PATH /Get-ProvisionedAppxPackages >ProvisionedAppxPackages.txt
type ProvisionedAppxPackages.txt && pause
Spoiler: GETFEATURES.BAT
Code:
Dism /Image:C:\MODWIN\PATH /Get-Features && pause
Spoiler: GETPACKAGES.BAT
Code:
dism.exe /Image:C:\MODWIN\PATH /Get-Packages && pause
Spoiler: MOUNTWIM.BAT
Code:
dism.exe /mount-wim /wimfile:"C:\MODWIN\ISO\sources\install.wim" /mountdir:"C:\MODWIN\PATH" /index:1
Spoiler: MOUNTWIMREGISTRY.BAT
Code:
reg load HKLM\OFFLINE C:\MODWIN\PATH\Windows\System32\Config\SYSTEM
regedit
Spoiler: REMOVEINSTALLESD.BAT
Code:
del :"C:\MODWIN\ISO\sources\install.esd"
Spoiler: REMOVEINSTALLWIM.BAT
Code:
del :"C:\MODWIN\ISO\sources\install.wim"
Spoiler: UNMOUNT-DISCARD.BAT
Code:
dism.exe /Unmount-Image /MountDir:"C:\MODWIN\PATH" /discard
Spoiler: UNMOUNT-SAVE.BAT
Code:
Dism /Image:"C:\MODWIN\PATH" /cleanup-image /StartComponentCleanup /ResetBase
dism.exe /Unmount-Image /MountDir:"C:\MODWIN\PATH" /Commit
Hi jenneh, when you download from uupdump, you can configure the download of ConvertConfig + CustomAppsList. Try this.
Thanks for creating this little tool, had a quick look but cant see how/where I would be able to choose which features/apps get removed..?
Reply to b1k3rdude's comment:
Spoiler: HOW TO REMOVE
b1k3rdude said:
Thanks for creating this little tool, had a quick look but cant see how/where I would be able to choose which features/apps get removed..?
Click to expand...
Click to collapse
Hi there, thank you for asking this. Since I added more lines of code, it would be best to clarify.
The first half of the code, specifically the rmdir and del lines are what is cleaning the installer iso. This can be ignored
Its these lines in the code that remove apps packages and features
Spoiler: SHOW
Code:
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Clipchamp.Clipchamp_2.2.8.0_neutral_~_yxz26nhyzhsrt
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.549981C3F5F10_3.2204.14815.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingNews_4.2.27001.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.BingWeather_4.53.33420.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.DesktopAppInstaller_2022.310.2333.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GetHelp_10.2201.421.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Getstarted_2021.2204.1.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEIFImageExtension_1.0.43012.0_x64__8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.HEVCVideoExtension_1.0.50361.0_x64__8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftOfficeHub_18.2204.1141.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftSolitaireCollection_4.12.3171.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.MicrosoftStickyNotes_4.2.2.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Paint_11.2201.22.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.People_2020.901.1724.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.PowerAutomateDesktop_10.0.3735.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.RawImageExtension_2.1.30391.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ScreenSketch_2022.2201.12.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.SecHealthUI_1000.22621.1.0_x64__8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.StorePurchaseApp_12008.1001.113.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Todos_2.54.42772.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.VP9VideoExtensions_1.0.50901.0_x64__8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebMediaExtensions_1.0.42192.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WebpImageExtension_1.0.42351.0_x64__8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Windows.Photos_21.21030.25003.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsAlarms_2022.2202.24.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCalculator_2020.2103.8.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsCamera_2022.2201.4.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:microsoft.windowscommunicationsapps_16005.14326.20544.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsFeedbackHub_2022.106.2230.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsMaps_2022.2202.6.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsNotepad_11.2112.32.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsSoundRecorder_2021.2103.28.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsStore_22204.1400.4.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.Xbox.TCUI_1.23.28004.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGameOverlay_1.47.2385.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxGamingOverlay_2.622.3232.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxIdentityProvider_12.50.6001.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.XboxSpeechToTextOverlay_1.17.29001.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.YourPhone_1.22022.147.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneMusic_11.2202.46.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.ZuneVideo_2019.22020.10021.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.MicrosoftFamily_0.1.28.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftCorporationII.QuickAssist_2022.414.1758.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:MicrosoftWindows.Client.WebExperience_421.20070.195.0_neutral_~_cw5n1h2txyewy
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.GamingApp_2021.427.138.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-ProvisionedAppxPackage /PackageName:Microsoft.WindowsTerminal_3001.12.10983.0_neutral_~_8wekyb3d8bbwe
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-ApplicationModel-Sync-Desktop-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-OneCore-DirectX-Database-FOD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Hello-Face-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~~11.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-StepsRecorder-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-TabletPCMath-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-Wallpaper-Content-Extended-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WMIC-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-WordPad-FoD-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:OpenSSH-Client-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Handwriting-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-OCR-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-Speech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
dism.exe /Image:C:\Users\0110\Desktop\MODWIN\PATH /Remove-Package /PackageName:Microsoft-Windows-LanguageFeatures-TextToSpeech-en-us-Package~31bf3856ad364e35~amd64~~10.0.22621.525
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:printing-Foundation-InternetPrinting-Client /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:printing-Foundation-Features /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:WorkFolders-Client /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:SearchEngine-Client-Package /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:MediaPlayback /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:WCF-TCP-PortSharing45 /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:WCF-Services45 /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:NetFx4-AdvSrvs /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2 /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:MicrosoftWindowsPowerShellV2Root /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:MSRDC-Infrastructure /Remove
Dism /Image:C:\Users\0110\Desktop\MODWIN\PATH /Disable-Feature /FeatureName:printing-PrintToPDFServices-Features /Remove
If you look at the end of the line, it will tell you which app, package or feature is being removed.
You could then delete the entire line if you wanted to keep something like the old powershell.
If I can clarify further please let me know
I will think about a way to maybe echo these to the end user and then be able to select the apps packages and features for deletion. I am learning how to do these things so it will take some time but I will start on it today.
Also, this code comes from the apps, packages and feature removal list, from the written guide section here https://forum.xda-developers.com/t/how-to-make-your-own-tiny-or-lite-windows-iso.4496967/ if you wanted more in depth knowledge of the process the code is running through and how I obtained it
@P414DIN I'm kind of silly but I am not finding / figuring out how to do this specifically. Are you able to explain a little more? I wanted to explore more exactly how UUP's script connects to the updater to code it out myself but if I could see the options it could give me an idea of the backend if that makes sense
Spoiler: I tend to overthink things
and the way I was trying to build modwin was silly but I figured it out myself thanks to a good article I linked somewhere in the comments section below. These articles did help teach me things and you can laugh at my "theory" spoiler alert, it was doable but a terrible way of trying to program this.
Spoiler: PROGRAMMING NOTES FOR NOOBS LIKE ME
Just a place where I am going to store the things I had to read to learn what it is I Plan To Do. I know this would be "easier" done using python or vbs but I want to learn basic command line scripting.. kinda like how I'm learning shell scripting in android / linux, get a good grasp of it, and then in the future, break into assembly code.
Read file from command line
Lean how to print the contents of a file in Windows command prompt. Type and more commands are useful to read a file from CMD.
www.windows-commandline.com
We used this in the last guide to see the app packages available.
Code:
dism.exe /Image:C:\Users\0110\Desktop\MODWINDOWZ\PATH /Get-ProvisionedAppxPackages >ProvisionedAppxPackages.txt
type ProvisionedAppxPackages.txt
So now this step makes more sense to me. DISM was able to make a text file containing the Appx Packages and we used the type command to view that file we made.
Deleting entire lines in a text file based on a partial string match with Windows PowerShell
So I have several large text files I need to sort through, and remove all occurrences of lines which contain a given keyword. So basically, if I have these lines: This is not a test This is a ...
superuser.com
The get-content is part of a cmdlet for powershell. This is something I could use if forced to but I want to do it in cmd prompt. Saved just incase
Get-Content (Microsoft.PowerShell.Management) - PowerShell
The Get-Content cmdlet gets the content of the item at the location specified by the path, such as the text in a file or the content of a function. For files, the content is read one line at a time and returns a collection of objects, each of which represents a line of content. Beginning in...
learn.microsoft.com
How PowerShell Differs From the Windows Command Prompt
Windows 7 added PowerShell, a more powerful command-line shell and scripting language than the Command Prompt. Since Windows 7, PowerShell has become more prominent, with it even becoming the default choice in Windows 10.
www.howtogeek.com
"PowerShell is actually very different from the Command Prompt. It uses different commands, known as cmdlets in PowerShell. Many system administration tasks — from managing the registry to WMI (Windows Management Instrumentation) — are exposed via PowerShell cmdlets, while they aren’t accessible from the Command Prompt."
Delete/Add Lines In Txt File With Cmd - Computing.NET Answers Forum
Hi there, I’m writing a pretty basic script with the ‘attrib’ command to hide/show files and folders. Every time I hide a file it should write the pathname (+ date) into a .txt file. But it also should delete the pathnames of files and objects in the .txt file if they are restored. If an […]
www.computing.net
Random things that might be useful later:
Tail command for Windows (CMD)
Tail command is used from CMD to print last n lines of a text file. This command is available in Windows Resource kit and can be installed on new versions too.
www.windows-commandline.com
We can overcome the Ctrl + H part by building the code in C:\ and having the user just execute the script there.
Why I didn't do this to begin with, I have no idea. Sigh XD
Note to self, maybe make a side batch script to make the MODWIN folder portable. Something that could catch current directory and read and write over the C:\MODWIN code.
Relearning Dirty Pipe on Linux and finally understanding how it operates thanks to this talk on david bombal's show with guest alexis ahmed showed me how simple the pipe commands are and how they function, and windows has these too. Maybe pipe commands can be used to do the step I'm stuck on in my programming theory.
Pipes (Interprocess Communications) - Win32 apps
How to create, manage, and use pipes. A pipe is a section of shared memory that processes use for communication. The process that creates a pipe is the pipe server. A process that connects to a pipe is a pipe client.
learn.microsoft.com
Spoiler: BUILDING THEORY
We can shorten the code down to just these lines and add calls to batch files located in the REMOVE folder
Instead of adding the ISO deletion script to each batch, we can call it
We can add a command to copy these base batches and then remove the user inputted items
Your browser is not able to display this video.
This is a test script, showing the call command. We are calling the ISO.bat script which deletes all the uneeded files and folders on the Installer ISO.
As you can see, we were able to call a batch file within a batch file and have it run within the script
Added another folder to apps, packages, and features called LIST. The next new commands will copy our base REMOVE batches to the LIST folder in each respective directory so we have a new text to make modifications to without losing the base.
Added text files into list that contain summarized lists of apps, packages and features, to be echoed back to the user for removal selection
This will be the tricky part to do in cli. Gotta think here.
Work In Progress
@jenneh when you run the uup_download_windows.cmd script, additional files are downloaded, with which you can already configure this. Сheck it out ReadMe.html
@P414DIN Goodness, How Simple. Seriously Thank You. I lack common sense sometimes and really appreciate any and all Help XD
Spoiler: DIVING INTO UUPDUMP
Hmm, this is rather interesting. In the readme it says it uses this:
* chntpw - to modify registry of first index of boot.wim
chntpw - Wikipedia
en.wikipedia.org
"It does this by editing the SAM database where Windows stores password hashes."
Spoiler: README.HTML
Overview
Automated windows command script to process Microsoft Windows 11/10 Unified Update Platform files, allowing to build/convert them into a usable state (ISO / WIM).
You can get UUP files by performing upgrade from Windows 11/10 build to a later build (starting 15063, aka version 1703).
You can also obtain UUP canonical source using one of these projects:
UUP dump website
UUP Generation Project
How To Use
Administrator privileges are required to run the script.
Optional: temporary disable AV or protection program so it doesn't interfere with the process.
Make sure the files are not read-only or blocked.
Extract this pack to a folder with simple spaceless path to avoid troubles (example: C:\UUP).
Place the files in "UUPs" folder to be detected automatically, or drag and drop uup files directory on convert-UUP.cmd. Alternatively, you will be prompted to enter other UUP folder path.
If multiple Editions detected, you will be prompted first to select one edition, some editions, or create AIO.
To exit of the prompt or options menu just press "Enter".
Output Choice
1 - Create ISO with install.wim
4 - Create ISO with install.esd
convert UUP files to a regular ISO distribution that contains install.wim or install.esd file.
2 - Create install.wim
5 - Create install.esd
create install.wim/install.esd file only, which can be used with other ISO with the same version or for manual apply using dism, imagex, wimlib.
3 - UUP Edition info
Display info about detected editions (architecture, language, build version, build branch, editions name).
6 - Configuration Options
Change the state of configuration options.
Configuration OptionsControl conversion behavior, output and automation.
You have three ways to change the state of these options, where 0 means the option is OFF (no), and 1 means the option is ON (yes):
- edit ConvertConfig.ini under [convert-UUP] and [Store_Apps] sections
- delete ConvertConfig.ini and edit convert-UUP.cmd script directly
- use menu choice 6 (this does not include all options)
AutoStart
Start the conversion process directly without prompts.
This require placing UUP files in UUPs folder, or starting convert-UUP.cmd from command prompt with path to UUP source folder, or drag and drop UUP source folder on convert-UUP.cmd.
Set this option to 1 to create ISO with install.wim
Set this option to 2 to create ISO with install.esd
Set this option to 3 to create install.wim only
Set this option to 4 to create install.esd only
AddUpdates
Update the ISO distribution or install.wim with detected updates after conversion.
Set this option to 1 to integrate updates into wim files
Set this option to 2 to add updates externally to ISO distribution
See Add Updates Option for more details.
StartVirtual
Start create_virtual_editions.cmd directly after conversion is completed.
See Virtual Editions for more details.
wim2esd
Convert install.wim to install.esd at the end.
This option is intended to be used with AddUpdates option.
This option will be auto enabled if you selected install.esd choice and AddUpdates is ON.
Warning: creating install.esd will consume high amount of CPU/RAM, and take considerable time to complete.
wim2swm
Split install.wim into multiple install.swm files.
This option will be auto disabled if install.wim size is below 4 GB.
If both wim2esd/wim2swm are ON, install.esd takes precedence over split install.swm.
SkipISO
If you are not interested to create ISO file currently, or want to create Multi-Architecture ISO (x86/x64) later with multi_arch_iso.cmd, or intend to manually use create_virtual_editions.cmd
SkipWinRE
Do not add winre.wim to install.wim/install.esd, if you are not interested to have recovery environment or want to reduce ISO size/conversion period.. etc.
note: adding winre.wim to install.esd will consume high amount of CPU/RAM.
LCUwinre
Force updating winre.wim with Cumulative Update even if SafeOS update detected.
UpdtBootFiles
Update ISO boot files bootmgr/bootmgr.efi/efisys.bin with new files from Cumulative Update.
ForceDism
Use the official method with dism.exe for creating boot.wim, which require Windows 11/10 Host OS or ADK.
RefESD
Keep converted reference ESD files for future operations instead converting them each time.
if UUP source is Express, Reference ESDs and Edition ESDs will be copied to new folder "CanonicalUUP", practically, this convert/backup Express UUP source to Canonical.
if UUP source is Canonical, Reference ESDs will be copied to the same UUP source folder, and original CAB files will be moved to subdirectory "Original".
SkipEdge
Set option to 1 : Do not integrate Microsoft Edge Chromium with Feature Update Enablement Package or Cumulative Update.
Set option to 2 : Skip Microsoft Edge Chromium with Cumulative Update via alternative workaround.
This option works only with option AddUpdates=1 (Integrate).
AutoExit
Exit the conversion process (script) on completion without prompt.
useful option for multi batch conversions, best used with AutoStart option.
SkipApps
Do not add Store Apps for builds 22563 and later.
AppsLevel
Control added Apps for Client editions (except Team).
Set to 0 to add all referenced Apps
Set to 1 to add Store, Security Health only
Set to 2 to add level 1 apps + Photos, Camera, Notepad, Paint
Set to 3 to add level 2 apps + Terminal, App Installer, Widgets
Set to 4 to add level 3 apps + Media apps (Music, Video, Codecs, Phone Link) / not for N editions
CustomList
Enable using CustomAppsList.txt to pick and choose added Apps.
If enabled, this option takes precedence over AppsLevel option.
Add Updates OptionInfo
Starting Windows 10 version 1709, Servicing Stack Update and Latest Cumulative Update are handled and distributed with UUP source. In addition to some small dynamic updates used in upgrades.
According to that, UUP Dump will offer multiple builds for the same Windows 11/10 version. Each one will represent refreshed Feature Update or new Cumulative Update.
However, those updates are only used and applied by Windows Update, they not actual part of the UUP source itself and will not be included in the converted ISO/WIM by default.
AddUpdates option provide built-in ability to directly integrate these updates, resulting a refreshed ISO/WIM, or to add them externally.
Integrate updates mode only works with install.wim (ISO or Single), and require Windows 11/10 Host OS or Windows 11/10 ADK.
External updates mode only works with builds 17763 and later, and the updates will be installed during setup (clean install or upgrade).
Cleanup option control image cleanup for integration mode, and will delta-compress superseded components.
ResetBase option works only with Cleanup option, and will further remove superseded components.
NetFx3 option is to enable .NET 3.5 feature for both modes.
External updates mode is ment as backup procedure in case Windows 11/10 ADK is not installed, or the user want to have converted ISO faster. It is recommended to use the normal integration mode if possible.
If UUP source is build 17063 or later and multiple editions are selected, in order to reduce integration mode time, Pro/ProN editions will be created as upgrades from the already updated Home/HomeN editions, if possible.
Similarly, for Windows Server 2022, Datacenter editions will be created as upgrades from the already updated Standard editions, if possible.
Integrate updates mode may not work correctly on Windows 7 Host OS, specially with recent Windows 11/10 builds. External updates mode is recommended to use in that case.
Integrate updates mode for ARM64 UUP images only works on Windows 11/10/8.1 Host OS.
How To
Make sure UUP source contain updates (Windows10.0-KB* / Windows11.0-KB* files)
Set configuraation option AddUpdates to 1 or 2
If you set to 1 and Windows 11/10 ADK is not installed, it will be reverted to 2 (if build is supported), or turned OFF
Note
Warning: on build 18362 and later, Cleanup option will also removes the base RTM Edition packages, due Cumulative Update design change by Microsoft.
This could cause future cumulative updates to fail installation.
Nevertheless, system itself can initiate the cleanup process after installation, either with schedule tasks StartComponentCleanup or SilentCleanup, or via Disk Cleanup.
Warning: ResetBase option break "Reset This PC" feature. Full ResetBase is automatically disabled for build 18362 and later.
Virtual EditionsInfo
Starting Windows 10 build 17063, regular editions have been unified into two base editions: Home & Pro (with their variants Home N & Pro N)
Home China edition is still separate
According to that, UUP will deliver installation files for the above editions only
The following editions are now exist as "virtual upgrade editions" with base editions:
Home -> Home Single Language
Pro N -> Enterprise N, Education N, Pro Education N, Pro N for Workstations, Cloud N (build 21364 and later)
Pro -> Enterprise, Education, Pro Education, Pro for Workstations, Enterprise multi-session, IoT Enterprise (build 18277 and later), Cloud (build 21364 and later)
Therefore, the extra script is to help create these additional editions from UUP source.
How To
Supported source distribution:
- Folder (containing the extracted ISO) placed next to the script. (auto detected)
- DVD Drive, i.e. mounted iso/real dvd drive/usb drive. (auto detected)
- Direct ISO file. (you will prompted to specify one)
Optional: if you do not intend to keep base converted ISO, set convert-UUP option SkipISO to 1.
Use convert-UUP.cmd to create the source distribution.
Run create_virtual_editions.cmd and choose the desired option from choices.
Options
1 - Create all editions
create all possible target virtual editions.
2 - Create one edition
create one of the target virtual editions.
3 - Create randomly selected editions
create some of the target virtual editions.
Config OptionsControl process behavior, output and automation.
You have two ways to change the state of these options, where 0 means the option is OFF (no), and 1 means the option is ON (yes):
- edit ConvertConfig.ini under [create_virtual_editions] section
- delete ConvertConfig.ini and edit create_virtual_editions.cmd script directly
AutoStart
Start the creation process directly without prompts.
This require the source distribution to be ready (folder or drive).
Only the editions specified in AutoEditions will be created, if no edition specified (empty), it will create all possible target editions.
AutoEditions
Specify editions to auto create with AutoStart option, separate the editions with a comma ,
Leave this option empty to create all possible target editions.
Allowed values: Enterprise, Education, ProfessionalEducation, ProfessionalWorkstation, EnterpriseN, EducationN, ProfessionalEducationN, ProfessionalWorkstationN, CoreSingleLanguage, ServerRdsh, IoTEnterprise, CloudEdition, CloudEditionN
Examples:
vAutoEditions=Enterprise
vAutoEditions=Enterprise,ProfessionalWorkstation,Education
vAutoEditions=
DeleteSource
Do not keep the source editions (example: create Enterprise and delete Pro).
Preserve
Preserve and keep source distribution folder intact, the operation will be done on copied folder instead.
If source distribution is ISO file, this option has no affect.
wim2esd
Convert install.wim to install.esd at the end.
Warning: creating install.esd will consume high amount of CPU/RAM, and might take considerable time to complete.
SkipISO
Do not create final ISO file at the end.
Note:
If create_virtual_editions.cmd is started from convert-UUP.cmd, options AutoStart & wim2esd will be inherited from convert-UUP section, regardless their current state under create_virtual_editions section
meaning, the script will auto-create virtual editions if convert-UUP's AutoStart=1
and install.wim will be converted to install.esd if convert-UUP's wim2esd=1, otherwise skip conversion if convert-UUP's wim2esd=0
Multi-Architecture ISO (x86/x64)How To
Optional: if you do not intend to keep single architecture ISOs, edit convert-UUP.cmd and set SkipISO=1
Use convert-UUP.cmd to create two ISO distributions, one for x64 and another for x86, you may select the desired editions to include in each one
Run multi_arch_iso.cmd and choose the desired option from menu
Options
1 - Create ISO with 1 combined install.wim/install.esd
create a custom ISO structure.
with 1 install.wim/install.esd for all x64/x86 images, and slighlty modified bootx64.wim/bootx86.wim to allow coexistence.
2 - Create ISO with 2 separate install.wim/install.esd (Win 10)
create the same ISO structure as Media Creation Tool.
with 2 separate x64/x86 folders and install.wim/install.esd for each architecture.
Notes
To preserve source single-architecture distributions folders, edit multi_arch_iso.cmd and set Preserve=1
If the installation file is install.esd, be aware that option 1 will require high amount of CPU/RAM to unify install.esd files
multi_arch_iso.cmd can be used also to create multi-architecture ISO from any similar Windows x64/x86 ISO distributions, starting Windows 7 SP1
however, option 2 only works with Windows 11/10 setup files.
Debug ModeIntended to help into detecting errors in the script or the conversion process and create a full log of the operation.
To enable debug mode, follow these steps:
set the desired configuration options in ConvertConfig.ini (specially AutoStart).
edit convert-UUP.cmd and change set _Debug=0 to set _Debug=1 and save the changes.
to start the process: put the UUP files in UUPs folder, then run the script as administrator.
another way to start the process: drag and drop the UUP files source directory on convert-UUP.cmd
wait until the process finish and cmd window is closed.
Note: create_virtual_editions.cmd will inherit debug mode if StartVirtual option is active.
Remark
If the upgrade is done via Express UUP (multiple expanded folders in the download directory), you need to perform the UUP > ISO operation before starting the upgrade process (before first restart).
to do so, when WU prompt you to restart, start convert-UUP.cmd and paste the path to download directory, example:
C:\Windows\SoftwareDistribution\Download\07172dda91861218ecc095600216d792
Alternatively, if you are testing in VM machine or have multi boot systems, you can choose to Shut down/Restart the system without upgrading.
on Desktop, press Alt+F4 and choose an option without Update
Credits
whatever127 - UUP dump
Eric Biggers - wimlib
Igor Pavlov - 7-zip
Melinda Bellemore - SxSExpand
BetaWorld - PSFExtractor
erwan.l - offlinereg
cdob - create aio efisys.bin
Special thanks to: @Enthousiast, @s1ave77, @Ratiborus58, @NecrosoftCore, @DiamondMonday, @WzorNET
cabarc, cdimage, imagex and bcdedit are intellectual property of Microsoft Corporation.
Author: abbodi1406
Spoiler: CUSTOM APPS LIST
### UWP Store applications, for integration into builds 22563 and later
### Choose the wanted apps from below by removing # prefix
### Common Apps / Client editions all
# Microsoft.WindowsStore_8wekyb3d8bbwe
# Microsoft.StorePurchaseApp_8wekyb3d8bbwe
# Microsoft.SecHealthUI_8wekyb3d8bbwe
# Microsoft.VCLibs.140.00_8wekyb3d8bbwe
# Microsoft.Windows.Photos_8wekyb3d8bbwe
# Microsoft.WindowsCamera_8wekyb3d8bbwe
# Microsoft.WindowsNotepad_8wekyb3d8bbwe
# Microsoft.Paint_8wekyb3d8bbwe
# Microsoft.WindowsTerminal_8wekyb3d8bbwe
# Microsoft.DesktopAppInstaller_8wekyb3d8bbwe
# MicrosoftWindows.Client.WebExperience_cw5n1h2txyewy
# Microsoft.WindowsAlarms_8wekyb3d8bbwe
# Microsoft.WindowsCalculator_8wekyb3d8bbwe
# Microsoft.WindowsMaps_8wekyb3d8bbwe
# Microsoft.MicrosoftStickyNotes_8wekyb3d8bbwe
# Microsoft.ScreenSketch_8wekyb3d8bbwe
# microsoft.windowscommunicationsapps_8wekyb3d8bbwe
# Microsoft.People_8wekyb3d8bbwe
# Microsoft.BingNews_8wekyb3d8bbwe
# Microsoft.BingWeather_8wekyb3d8bbwe
# Microsoft.MicrosoftSolitaireCollection_8wekyb3d8bbwe
# Microsoft.MicrosoftOfficeHub_8wekyb3d8bbwe
# Microsoft.WindowsFeedbackHub_8wekyb3d8bbwe
# Microsoft.GetHelp_8wekyb3d8bbwe
# Microsoft.Getstarted_8wekyb3d8bbwe
# Microsoft.Todos_8wekyb3d8bbwe
# Microsoft.XboxSpeechToTextOverlay_8wekyb3d8bbwe
# Microsoft.XboxGameOverlay_8wekyb3d8bbwe
# Microsoft.XboxIdentityProvider_8wekyb3d8bbwe
# Microsoft.PowerAutomateDesktop_8wekyb3d8bbwe
# Microsoft.549981C3F5F10_8wekyb3d8bbwe
# MicrosoftCorporationII.QuickAssist_8wekyb3d8bbwe
# MicrosoftCorporationII.MicrosoftFamily_8wekyb3d8bbwe
### Media Apps / Client non-N editions
# Microsoft.ZuneMusic_8wekyb3d8bbwe
# Microsoft.ZuneVideo_8wekyb3d8bbwe
# Microsoft.YourPhone_8wekyb3d8bbwe
# Microsoft.WindowsSoundRecorder_8wekyb3d8bbwe
# Microsoft.GamingApp_8wekyb3d8bbwe
# Microsoft.XboxGamingOverlay_8wekyb3d8bbwe
# Microsoft.Xbox.TCUI_8wekyb3d8bbwe
# Clipchamp.Clipchamp_yxz26nhyzhsrt
### Media Codecs / Client non-N editions, Team edition
# Microsoft.WebMediaExtensions_8wekyb3d8bbwe
# Microsoft.RawImageExtension_8wekyb3d8bbwe
# Microsoft.HEIFImageExtension_8wekyb3d8bbwe
# Microsoft.HEVCVideoExtension_8wekyb3d8bbwe
# Microsoft.VP9VideoExtensions_8wekyb3d8bbwe
# Microsoft.WebpImageExtension_8wekyb3d8bbwe
### Surface Hub Apps / Team edition
# Microsoft.Whiteboard_8wekyb3d8bbwe
# microsoft.microsoftskydrive_8wekyb3d8bbwe
# Microsoft.MicrosoftTeamsforSurfaceHub_8wekyb3d8bbwe
# MicrosoftCorporationII.MailforSurfaceHub_8wekyb3d8bbwe
# Microsoft.MicrosoftPowerBIForWindows_8wekyb3d8bbwe
# Microsoft.SkypeApp_kzf8qxf38zg5c
# Microsoft.Office.Excel_8wekyb3d8bbwe
# Microsoft.Office.PowerPoint_8wekyb3d8bbwe
# Microsoft.Office.Word_8wekyb3d8bbwe
Spoiler: UUP BIN
For me to remember to look at after the iso is created
P414DIN said:
Hi jenneh, when you download from uupdump, you can configure the download of ConvertConfig + CustomAppsList. Try this.
Click to expand...
Click to collapse
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?
Spoiler: SHOW
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
@jenneh After creating the iso, you need to configure ConvertConfig.ini, and run convert-UUP.cmd. I liked your idea, I'll try to do something with it, but I don't promise the result))
P414DIN said:
@jenneh After creating the iso, you need to configure ConvertConfig.ini, and run convert-UUP.cmd. I liked your idea, I'll try to do something with it, but I don't promise the result))
Click to expand...
Click to collapse
Thank You. I appreciate your Time and This Share!!
Hello @jennehwatch my video
I failed to reduce the download of junk files. Without the files that are in the uup folder, you will not be able to create install, since all dependencies are already registered in professional_.esd. It seems to me that you can remove modern apps from downloading. I'll try to do it.
@P414DIN I Really Appreciate you taking the time to test. I was just thinking about that earlier, if the packages were some how chained dependencies. I will eagerly await your results!
Spoiler: TANGENT
I am paused on my own personal research in this catagory just for a few days. I am learning about AVB and how the android bootloaders work to hopefully learn how to put the arm version of windows on my shield in a non-virtualized environment. Thank You as always for sharing, looking forward to seeing more of your Work!
https://learn.microsoft.com/en-us/w...-using-full-flash-update--ffu?view=windows-11
wimlib - Main page
I don't quite know but it would seem like one could take the knowledge we gained from the wim exports and apply it to the wimlib tool for linux, and adb push wimlib to run the wim. I have to flash a rooted image to test easily on my shield, but testing now.
Edit= Well no, not quite. It takes quite a stack to get Wimlibs to run with full functionality and my shield crashes when I try to push gcc or clang directly to it. Then I thought to try termux but in order to do that I would have to install aarch64 ontop of termux to get access to the aur package manager since termux cannot natively dl what I need easily. Then that would involve the use of a vnc type app to even display a GUI which would be the same as using QEMU...
So Long story short, back to the drawing board investigating FFU windows images and figuring out how to modify my bootloader. I'm gonna see if those "lite" images can be FFU'd XD
Hehe can't win em all XD
An update is pending, I was hoping to get it out before I had to sleep but it is looking unlikely. Some of the updates include, removing the cleaning commands in all the scripts, that removed files and folders on the installer iso, and making it an optional batch that you can use for testing, fixed the build environment so ctrl + h is uneeded and some QoL tools to make iso inspection and tinkering easier. I have made a new video that I will actually talk you through the changes and how to use things, I will release that tomorrow whenever the update is complete. rebuilt SAMPLE isos will be included.
Where the trouble lies and the reason I couldn't get it out today is the Windows11 UUPDUMP image is now bootlooping on me before it makes it to the second part of the installer. I think it has something to do with how I recompressed the wim at the end and used /recovery and now I question if that line's even needed or what. I am testing through that to get the definitive answer to be able to update everything correctly tomorrow.
ShaZZam! A native Windows image deployment tool
$haZZam! A native command shell Windows image deployment tool · Project: github - Create a secure-boot compatible VHDX-Boot USB · Download: https://github.com/ShaZZam/main.zip · Tutorial: https://social.technet.microsoft.com/wiki/54560
forum.xda-developers.com
josh made a much better tool I will play with tomorrow! I will release my update still for learning's sake and hopefully his tool works as well as it looks! How exciting!
Also just ran into this program which looks really nice!
WIM Witch - A GUI Driven Solution for Image Customization - MSEndpointMgr
WIM Witch is a utility that can be used to update and modify WIM files for Windows deployment scenarios. It allows the WIM to be patched, drivers to be applied, in-box applications to be removed, and .Net 3.5 binaries to be injected. It also supports the ability to inject an Autopilot...
msendpointmgr.com
saved for notes. I had a whole thing going on here that was a non thing bc I am silly and probably shoulda slept more yesterday but oh well oh if you must know, I was so upset bc everytime i mounted install.wim it would show winpe packages, which is the same as boot.wim and i was like why is my install.wim looking like a boot.wim wahhh and I redownloaded 3 different isos, only to find out hours later I forgot I changed my mount batch to mount boot.wim and not install.wim. x,x sigh
@joshyouwaaa gosh this is really neat. and you have done the part i haven't done yet with the vhdx deployment, it looks like. literally was going to be my next project (and still is) after I learn how to do FFU images. I am really looking forward to reading your work properly after I finish this update, I am sure I will learn A Lot. Thank You so much!
Related
Please help me, I'd love to be wrong, but.....
I think I've found a major program Compatibility issue with the Sprint HTC Hero. I have found a number of programs, that when installed run just fine. But, when you reboot the phone, numerous crash errors come up, like
"The process com.android.phone could not be started"
and about 5 or 6 others. When the phone finally finishes booting, it runs just fine, but there is NO voice or data service. If you try to launch the dialpad, you get the error
"The process com.android.acore could not be started"
I have about 70 MB of free internal memory, so I do not think that is an issue.
Can someone help me out? These are some good, and very popular programs that I'd love to run, but I can't.
Or, if its some other problem can someone help me track it down?
the programs that give the errors on re-boot (so far) are:
"Java/J2ME Manager"
"Video Player"
"My Coupons"
"Gtasks"
"Handcent"
"CompSMS"
"Taskpanel X"
"Astrid"
"LocA"
I've done 2 factory resets, and still have the problem. Could there be some other app that is indirectly causing these problems? how would I go about finding it?
I installed a log collector, and then handcent, and rebooted. I immediately ran the log collector get a message with lots of this:
Jbmm10-26 15:10:25.185 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.185 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.185 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.185 I/HtcLocationService( 194): onDestroy
10-26 15:10:25.185 D/LocationManager( 194): removeUpdates: listener = com.htc.htclocationservice.HtcLocationServiceAgent [email protected]
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.195 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.195 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.195 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
any ideas???
I've been having trouble with numerous crash and acore errors whenever I reboot my phone. At first I thought it was due to certain programs being installed, but that's not the case. Its being very inconsistent.
for the background, look here:
http://androidcommunity.com/forums/f41/sprint-hero-crashes-on-re-boot-problem-app-27205/
The following are some logs generated by My Hero, after a reboot. I Collected them with Log Collector. If anyone can help me out, I'd really appreciate it.
thanks
Jbmm10-26 15:10:25.185 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.185 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.185 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.185 I/HtcLocationService( 194): onDestroy
10-26 15:10:25.185 D/LocationManager( 194): removeUpdates: listener = com.htc.htclocationservice.HtcLocationServiceAgent [email protected]
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.195 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.195 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:10:25.195 D/IQServer( 50): Reset the timeout to 3000(ms) for AlarmSet retry...
10-26 15:10:25.195 D/IQJavaJob( 50): JavaRequestAlarmSet: Java job client is not connected now!
10-26 15:10:25.195 D/IQServer( 50): JavaRequestAlarmSet is failed... Will not release wakelock[ciq-backend]!
10-26 15:13:51.703 D/NotificationFlashLightUtility getIncomingCall( 415): load fail~~~~~~~~~~
10-26 15:13:51.733 I/LockUtil( 415): 06021143 - acquire WifiLock: DIRECTPUSH
10-26 15:13:51.853 D/AndroidRuntime( 473): Shutting down VM
10-26 15:13:51.853 W/dalvikvm( 473): threadid=3: thread exiting with uncaught exception (group=0x40013140)
10-26 15:13:51.853 E/AndroidRuntime( 473): Uncaught handler: thread main exiting due to uncaught exception
10-26 15:13:51.863 E/AndroidRuntime( 473): java.lang.RuntimeException: Unable to create application com.coremobility.integration.app.CM_App: java.lang.NullPointerException
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.app.ActivityThread.handleBindApplication(A ctivityThread.java:3754)
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.app.ActivityThread.access$2500(ActivityThr ead.java:118)
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.app.ActivityThread$H.handleMessage(Activit yThread.java:1796)
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.os.Handler.dispatchMessage(Handler.java:99 )
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.os.Looper.loop(Looper.java:123)
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.app.ActivityThread.main(ActivityThread.jav a:4077)
10-26 15:13:51.863 E/AndroidRuntime( 473): at java.lang.reflect.Method.invokeNative(Native Method)
10-26 15:13:51.863 E/AndroidRuntime( 473): at java.lang.reflect.Method.invoke(Method.java:521)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.android.internal.os.ZygoteInit$MethodAndArgsCa ller.run(ZygoteInit.java:782)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.android.internal.os.ZygoteInit.main(ZygoteInit .java:540)
10-26 15:13:51.863 E/AndroidRuntime( 473): at dalvik.system.NativeStart.main(Native Method)
10-26 15:13:51.863 E/AndroidRuntime( 473): Caused by: java.lang.NullPointerException
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.telephony.TelephonyManager.getCallState(Te lephonyManager.java:643)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.CM_ConfigSysProp.Chec kProps(CM_ConfigSysProp.java:300)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.CM_ConfigSysProp.GetI nstance(CM_ConfigSysProp.java:80)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.configuration.CM_Conf iguration.getInstance(CM_Configuration.java:132)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.log.CM_Errors.intLog( CM_Errors.java:101)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.log.CM_Errors.log(CM_ Errors.java:148)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.app.vnotes.CM_VnoteApp.<init>(CM_ VnoteApp.java:327)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.app.CM_App.CM_Initial ize(CM_App.java:250)
10-26 15:13:51.863 E/AndroidRuntime( 473): at com.coremobility.integration.app.CM_App.onCreate(C M_App.java:307)
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.app.Instrumentation.callApplicationOnCreat e(Instrumentation.java:1045)
10-26 15:13:51.863 E/AndroidRuntime( 473): at android.app.ActivityThread.handleBindApplication(A ctivityThread.java:3751)
10-26 15:13:51.863 E/AndroidRuntime( 473): ... 10 more
10-26 15:13:51.953 D/KeyInputQueue( 66): DebugMonitor keycode=0 value=1
10-26 15:13:52.053 I/Process ( 66): Sending signal. PID: 473 SIG: 3
10-26 15:13:52.053 I/dalvikvm( 473): threadid=7: reacting to signal 3
10-26 15:13:52.053 D/CIQ ( 66): throwUI03
10-26 15:13:52.053 D/CIQ ( 66): processName com.coremobility.app.vnotes
10-26 15:13:52.093 E/com_htc_android_iqagent_Controller( 129): backend daemon was not ready!
10-26 15:13:52.213 W/ResourceType( 135): getEntry failing because entryIndex 1 is beyond type entryCount 1
10-26 15:13:52.213 W/ResourceType( 135): Failure getting entry for 0x7f080001 (t=7 e=1) in package 0: 0x80000001
10-26 15:13:52.223 D/EAS_DPReceiver( 415): 06021143 > SP() DP
10-26 15:13:52.263 I/ActivityManager( 66): Start proc com.newsrob for broadcast com.newsrob/.BootReceiver: pid=493 uid=10063 gids={3003}
10-26 15:13:52.263 D/CIQ ( 66): throwUI04 com.newsrob
10-26 15:13:52.263 D/CIQ ( 66): processName com.newsrob
10-26 15:13:52.263 E/com_htc_android_iqagent_Controller( 129): backend daemon was not ready!
10-26 15:13:52.483 W/ResourceType( 66): No package identifier when getting value for resource number 0x00000031
10-26 15:13:52.533 D/IQClient( 51): wait for backend daemon ready ...
10-26 15:13:52.583 I/dalvikvm( 493): Debugger thread not active, ignoring DDM send (t=0x41504e4d l=38)
10-26 15:13:52.773 W/ApplicationInfo( 66): Failure retrieving activity name
10-26 15:13:52.773 W/ApplicationInfo( 66): android.content.res.Resources$NotFoundException: String resource ID #0x31
10-26 15:13:52.773 W/ApplicationInfo( 66): at android.content.res.Resources.getText(Resources.ja va:155)
10-26 15:13:52.773 W/ApplicationInfo( 66): at android.app.ApplicationContext$ApplicationPackageM anager.getLabel(ApplicationContext.java:2211)
10-26 15:13:52.773 W/ApplicationInfo( 66): at android.app.ApplicationContext$ApplicationPackageM anager.getApplicationLabel(ApplicationContext.java :2289)
10-26 15:13:52.773 W/ApplicationInfo( 66): at com.android.server.am.AppErrorDialog.<init>(AppErr orDialog.java:47)
10-26 15:13:52.773 W/ApplicationInfo( 66): at com.android.server.am.ActivityManagerService$2.han dleMessage(ActivityManagerService.java:875)
10-26 15:13:52.773 W/ApplicationInfo( 66): at android.os.Handler.dispatchMessage(Handler.java:99 )
10-26 15:13:52.773 W/ApplicationInfo( 66): at android.os.Looper.loop(Looper.java:123)
10-26 15:13:52.773 W/ApplicationInfo( 66): at com.android.server.am.ActivityManagerService$AThre ad.run(ActivityManagerService.java:1156)
HI everyone,i port cm10 to msm8x25 devices
I encountered a problem。
if i start mm-qcamera-daemon on init.rc , then camera cant connect.
logcat
Code:
E/mm-camera( 115): kernel returned 23060073FF-SAM-S
E/mm-camera( 115): kernel returned s5k5ca
E/mm-libcamera2( 135): mm_camera_open: ctrl_fd = 26
E/mm-libcamera2( 135): Errno:22
E/mm-libcamera2( 135): mm_camera_open: opened, break out while loop
E/mm-libcamera2( 135): mm_camera_open: after while loop
E/mm-libcamera2( 135): mm_camera_open: 2
E/mm-libcamera2( 135): mm_camera_socket_create: socket_fd=-1 Permission denied
E/mm-libcamera2( 135): mm_camera_open: ds_fd = -1
E/mm-libcamera2( 135): Errno:13
E/mm-libcamera2( 135): mm_camera_socket_create: socket_fd=-1 Permission denied
E/mm-libcamera2( 135): mm_camera_open: ds_fd = -1
E/mm-libcamera2( 135): Errno:13
E/mm-libcamera2( 135): mm_camera_open: opened, break out while loop
E/mm-libcamera2( 135): mm_camera_open: after while loop for domain socket open
E/mm-libcamera2( 135): mm_camera_open: cannot open domain socket fd of 'video0' Errno = 13
E/mm-camera( 115): config_shutdown_pp Camera not in streaming mode. Returning.
if i dont start mm-qcamera-daemon on init.rc ,
i start it on adb shell,then camera is ok.
i fount /data/cam_socket0 this socket problem
when i use init.rc this socket‘s permission is 0700 , that cant connect.
When i use adb shell mm-qcamera-daemon , the permission is 777 , camera is ok。
I use camera.msm7627a from official system.
who can help me ?
thank you
Did you check uevent.rc?
forumber2 said:
Did you check uevent.rc?
Click to expand...
Click to collapse
yes.
Hi people!
I'm building CM12.1 for our Galaxy Core Prime (a.k.a core33g). This phone comes with Spreadtrum SC7730A SoC, so I make a new device tree based on the Galaxy V CM12.1 tree
For now I'm facing this error (see logcat below). Any help would be greatly appreciated
Device tree: https://github.com/koquantam/android_device_samsung_core33g
Logcat:
Code:
--------- beginning of main
I/Netd ( 178): Netd 1.0 starting
I/auditd ( 165): type=1403 audit(0.0:2): policy loaded auid=4294967295 ses=4294967295
W/init ( 137): type=1400 audit(0.0:3): avc: denied { write } for name="blkid.tab" dev="mmcblk0p23" ino=61764 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file
W/init ( 137): type=1400 audit(0.0:4): avc: denied { write } for name="etc" dev="mmcblk0p23" ino=61441 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=dir
W/init ( 137): type=1400 audit(0.0:5): avc: denied { add_name } for name="blkid.tab-bi7ND7" scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=dir
W/init ( 137): type=1400 audit(0.0:6): avc: denied { create } for name="blkid.tab-bi7ND7" scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file
W/init ( 137): type=1400 audit(0.0:7): avc: denied { setattr } for name="blkid.tab-bi7ND7" dev="mmcblk0p23" ino=61768 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file
W/init ( 137): type=1400 audit(0.0:8): avc: denied { remove_name } for name="blkid.tab.old" dev="mmcblk0p23" ino=61766 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=dir
W/init ( 137): type=1400 audit(0.0:9): avc: denied { unlink } for name="blkid.tab.old" dev="mmcblk0p23" ino=61766 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file
W/init ( 137): type=1400 audit(0.0:10): avc: denied { link } for name="blkid.tab" dev="mmcblk0p23" ino=61764 scontext=u:r:init:s0 tcontext=u:object_r:system_file:s0 tclass=file
W/logd ( 165): type=1400 audit(0.0:24): avc: denied { syslog_read } for scontext=u:r:init:s0 tcontext=u:r:kernel:s0 tclass=system
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/p2p0/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/rmnet0/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/rmnet1/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/rmnet2/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory
W/iptables( 184): type=1400 audit(0.0:25): avc: denied { create } for scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=rawip_socket
W/iptables( 184): type=1400 audit(0.0:26): avc: denied { getopt } for lport=255 scontext=u:r:init:s0 tcontext=u:r:init:s0 tclass=rawip_socket
W/init ( 188): type=1400 audit(0.0:27): avc: denied { execute_no_trans } for path="/system/bin/debuggerd" dev="mmcblk0p23" ino=30742 scontext=u:r:init:s0 tcontext=u:object_r:debuggerd_exec:s0 tclass=file
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/p2p0/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/rmnet0/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/rmnet1/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/rmnet2/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
E/Netd ( 178): Failed to open /proc/sys/net/ipv6/conf/wlan0/use_optimistic: No such file or directory
I/cm ( 179): ____ _ _ ____ _ _ ____ ____ ____ _ _ _ _ ____ ___
I/lowmemorykiller( 167): Using in-kernel low memory killer interface
W/init ( 197): type=1400 audit(0.0:28): avc: denied { execute_no_trans } for path="/system/bin/sh" dev="mmcblk0p23" ino=30825 scontext=u:r:init:s0 tcontext=u:object_r:shell_exec:s0 tclass=file
--------- beginning of system
I/Vold ( 170): Vold 2.1 (the revenge) firing up
D/Vold ( 170): Volume extSdCard state changing -1 (Initializing) -> 0 (No-Media)
I/Cryptfs ( 170): Check if PFE is activated on Boot
E/Cryptfs ( 170): Bad magic for real block device /dev/block/platform/sprd-sdhci.3/by-name/userdata
E/Cryptfs ( 170): Error getting crypt footer and key
I/cm ( 185): | \_/ |__| |\ | | | | __ |___ |\ | |\/| | | | \
W/init ( 194): type=1400 audit(0.0:29): avc: denied { execute_no_trans } for path="/system/bin/installd" dev="mmcblk0p23" ino=30768 scontext=u:r:init:s0 tcontext=u:object_r:installd_exec:s0 tclass=file
I/DEBUG ( 188): debuggerd: Jun 21 2016 14:14:41
I/auditd ( 187): Starting up
I/audit_log( 187): Previous audit logfile not detected
E/audit_rules( 187): Could not read audit rules /data/misc/audit/audit.rules: No such file or directory
I/installd( 194): installd firing up
E/cutils ( 194): Failed to read /data/.layout_version: No such file or directory
I/cm ( 195): |___ | | | | \| |__| |__] |___ | \| | | |__| |__/
D/installd( 194): Upgrading /data/media for multi-user
I/SELinux ( 194): SELinux: Loaded file_contexts from /file_contexts
D/installd( 194): Upgrading to shared /data/media/obb
D/installd( 194): Upgrading to /data/misc/user directories
W/DirectVolume( 170): Deprecated implied prefix pattern detected, please use '/devices/sprd-sdhci.0/mmc_host/mmc1*' instead
D/Vold ( 170): Volume extSdCard state changing 0 (No-Media) -> 2 (Pending)
D/DirectVolume( 170): DirectVolume::handlePartitionAdded -> MAJOR 179, MINOR 129, PARTN 1
D/Vold ( 170): Volume extSdCard state changing 2 (Pending) -> 1 (Idle-Unmounted)
E/sdcard ( 205): missing packages.list; retrying
I/cm ( 219): Welcome to Android 5.1.1 / CyanogenMod-12.1-20160621-UNOFFICIAL-core33g
I/macloader( 201): WIFI MAC is valid
D/AndroidRuntime( 203): >>>>>> START com.android.internal.os.ZygoteInit uid 0 <<<<<<
D/AndroidRuntime( 203): CheckJNI is OFF
I/art ( 203): option[0]=-Xzygote
I/art ( 203): option[1]=-Xstacktracefile:/data/anr/traces.txt
I/art ( 203): option[2]=exit
I/art ( 203): option[3]=vfprintf
I/art ( 203): option[4]=sensitiveThread
I/art ( 203): option[5]=-verbose:gc
I/art ( 203): option[6]=-Xms12m
I/art ( 203): option[7]=-Xmx256m
I/art ( 203): option[8]=-XX:mainThreadStackSize=24K
I/art ( 203): option[9]=-XX:HeapGrowthLimit=64m
I/art ( 203): option[10]=-XX:HeapMinFree=4m
I/art ( 203): option[11]=-XX:HeapTargetUtilization=0.75
I/art ( 203): option[12]=-agentlib:jdwp=transport=dt_android_adb,suspend=n,server=y
I/art ( 203): option[13]=-Xlockprofthreshold:500
I/art ( 203): option[14]=-Ximage-compiler-option
I/art ( 203): option[15]=--runtime-arg
I/art ( 203): option[16]=-Ximage-compiler-option
I/art ( 203): option[17]=-Xms64m
I/art ( 203): option[18]=-Ximage-compiler-option
I/art ( 203): option[19]=--runtime-arg
I/art ( 203): option[20]=-Ximage-compiler-option
I/art ( 203): option[21]=-Xmx64m
I/art ( 203): option[22]=-Ximage-compiler-option
I/art ( 203): option[23]=--compiler-filter=everything
I/art ( 203): option[24]=-Ximage-compiler-option
I/art ( 203): option[25]=--image-classes=/system/etc/preloaded-classes
I/art ( 203): option[26]=-Xcompiler-option
I/art ( 203): option[27]=--runtime-arg
I/art ( 203): option[28]=-Xcompiler-option
I/art ( 203): option[29]=-Xms64m
I/art ( 203): option[30]=-Xcompiler-option
I/art ( 203): option[31]=--runtime-arg
I/art ( 203): option[32]=-Xcompiler-option
I/art ( 203): option[33]=-Xmx512m
I/art ( 203): option[34]=-Xcompiler-option
I/art ( 203): option[35]=--compiler-filter=speed
I/art ( 203): option[36]=-Xcompiler-option
I/art ( 203): option[37]=--no-watch-dog
I/art ( 203): option[38]=-Duser.language=en
I/art ( 203): option[39]=-Duser.region=GB
I/art ( 203): Pruning dalvik-cache since we are relocating an image and will need to recompile
I/art ( 203): RelocateImage: /system/bin/patchoat --input-image-location=/system/framework/boot.art --output-image-file=/data/dalvik-cache/arm/[email protected]@boot.art --input-oat-location=/system/framework/boot.oat --output-oat-file=/data/dalvik-cache/arm/[email protected]@boot.oat --instruction-set=arm --base-offset-delta=-9170944
V/NatController( 178): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 178): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 178): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 178): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=1
V/NatController( 178): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=1
V/NatController( 178): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
V/NatController( 178): runCmd(/system/bin/iptables -t mangle -A natctrl_mangle_FORWARD -p tcp --tcp-flags SYN SYN -j TCPMSS --clamp-mss-to-pmtu) res=0
D/MDnsDS ( 178): MDnsSdListener::Hander starting up
D/MDnsDS ( 178): MDnsSdListener starting to monitor
D/MDnsDS ( 178): Going to poll with pollCount 1
E/memtrack( 203): Couldn't load memtrack module (No such file or directory)
E/android.os.Debug( 203): failed to load memtrack module: -2
I/SamplingProfilerIntegration( 203): Profiling disabled.
D/Zygote ( 203): begin preload
I/Zygote ( 203): Preloading classes...
I/art ( 203): Explicit concurrent mark sweep GC freed 800(36KB) AllocSpace objects, 0(0B) LOS objects, 99% free, 44KB/8MB, paused 248us total 14.056ms
I/art ( 203): Counter: 1
I/art ( 203): Explicit concurrent mark sweep GC freed 97(4KB) AllocSpace objects, 0(0B) LOS objects, 99% free, 64KB/8MB, paused 194us total 5.271ms
I/art ( 203): Explicit concurrent mark sweep GC freed 457(29KB) AllocSpace objects, 0(0B) LOS objects, 99% free, 65KB/8MB, paused 206us total 3.228ms
I/art ( 203): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 99% free, 65KB/8MB, paused 192us total 3.093ms
I/art ( 203): Explicit concurrent mark sweep GC freed 646(41KB) AllocSpace objects, 0(0B) LOS objects, 99% free, 72KB/8MB, paused 204us total 6.678ms
I/art ( 203): Explicit concurrent mark sweep GC freed 5(160B) AllocSpace objects, 0(0B) LOS objects, 99% free, 72KB/8MB, paused 195us total 3.254ms
E/sdcard ( 205): missing packages.list; retrying
I/art ( 203): Explicit concurrent mark sweep GC freed 400(22KB) AllocSpace objects, 0(0B) LOS objects, 98% free, 113KB/8MB, paused 208us total 4.908ms
I/art ( 203): Explicit concurrent mark sweep GC freed 35(1504B) AllocSpace objects, 0(0B) LOS objects, 98% free, 112KB/8MB, paused 197us total 3.411ms
E/Typeface( 203): Error opening /system/etc/fonts.xml
E/Typeface( 203): java.io.FileNotFoundException: /system/etc/fonts.xml: open failed: EACCES (Permission denied)
E/Typeface( 203): at libcore.io.IoBridge.open(IoBridge.java:456)
E/Typeface( 203): at java.io.FileInputStream.<init>(FileInputStream.java:76)
E/Typeface( 203): at android.graphics.FontListParser.parse(FontListParser.java:83)
E/Typeface( 203): at android.graphics.Typeface.init(Typeface.java:372)
E/Typeface( 203): at android.graphics.Typeface.<clinit>(Typeface.java:471)
E/Typeface( 203): at java.lang.Class.classForName(Native Method)
E/Typeface( 203): at java.lang.Class.forName(Class.java:309)
E/Typeface( 203): at java.lang.Class.forName(Class.java:273)
E/Typeface( 203): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:331)
E/Typeface( 203): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:256)
E/Typeface( 203): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:676)
E/Typeface( 203): Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
E/Typeface( 203): at libcore.io.Posix.open(Native Method)
E/Typeface( 203): at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
E/Typeface( 203): at libcore.io.IoBridge.open(IoBridge.java:442)
E/Typeface( 203): ... 10 more
E/Zygote ( 203): Error preloading android.graphics.Typeface.
E/Zygote ( 203): java.lang.ExceptionInInitializerError
E/Zygote ( 203): at java.lang.Class.classForName(Native Method)
E/Zygote ( 203): at java.lang.Class.forName(Class.java:309)
E/Zygote ( 203): at java.lang.Class.forName(Class.java:273)
E/Zygote ( 203): at com.android.internal.os.ZygoteInit.preloadClasses(ZygoteInit.java:331)
E/Zygote ( 203): at com.android.internal.os.ZygoteInit.preload(ZygoteInit.java:256)
E/Zygote ( 203): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:676)
E/Zygote ( 203): Caused by: java.lang.NullPointerException: Attempt to read from field 'long android.graphics.Typeface.native_instance' on a null object reference
E/Zygote ( 203): at android.graphics.Typeface.<clinit>(Typeface.java:479)
E/Zygote ( 203): ... 6 more
I/art ( 203): VMRuntime.preloadDexCaches starting
I/art ( 203): VMRuntime.preloadDexCaches strings total=222553 before=36374 after=36374
I/art ( 203): VMRuntime.preloadDexCaches types total=18775 before=6277 after=6288
I/art ( 203): VMRuntime.preloadDexCaches fields total=88754 before=32793 after=32834
I/art ( 203): VMRuntime.preloadDexCaches methods total=156165 before=67616 after=67738
I/art ( 203): VMRuntime.preloadDexCaches finished
I/art ( 203): Counter: 0
D/AndroidRuntime( 203): Shutting down VM
I/Netd ( 460): Netd 1.0 starting
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/p2p0/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/rmnet0/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/rmnet1/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/rmnet2/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/p2p0/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/rmnet0/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/rmnet1/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/rmnet2/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
E/Netd ( 460): Failed to open /proc/sys/net/ipv6/conf/wlan0/use_optimistic: No such file or directory
V/NatController( 460): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 460): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 460): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 460): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=0
V/NatController( 460): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=0
V/NatController( 460): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
V/NatController( 460): runCmd(/system/bin/iptables -t mangle -A natctrl_mangle_FORWARD -p tcp --tcp-flags SYN SYN -j TCPMSS --clamp-mss-to-pmtu) res=0
E/sdcard ( 205): missing packages.list; retrying
I/Netd ( 633): Netd 1.0 starting
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/p2p0/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/rmnet0/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/rmnet1/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/rmnet2/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/p2p0/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/rmnet0/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/rmnet1/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/rmnet2/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
E/Netd ( 633): Failed to open /proc/sys/net/ipv6/conf/wlan0/use_optimistic: No such file or directory
E/sdcard ( 205): missing packages.list; retrying
V/NatController( 633): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 633): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 633): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 633): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=0
V/NatController( 633): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=0
V/NatController( 633): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
V/NatController( 633): runCmd(/system/bin/iptables -t mangle -A natctrl_mangle_FORWARD -p tcp --tcp-flags SYN SYN -j TCPMSS --clamp-mss-to-pmtu) res=0
E/sdcard ( 205): missing packages.list; retrying
I/Netd ( 805): Netd 1.0 starting
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/p2p0/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/rmnet0/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/rmnet1/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/rmnet2/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/p2p0/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/rmnet0/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/rmnet1/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/rmnet2/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
E/Netd ( 805): Failed to open /proc/sys/net/ipv6/conf/wlan0/use_optimistic: No such file or directory
V/NatController( 805): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 805): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 805): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 805): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=0
V/NatController( 805): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=0
V/NatController( 805): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
V/NatController( 805): runCmd(/system/bin/iptables -t mangle -A natctrl_mangle_FORWARD -p tcp --tcp-flags SYN SYN -j TCPMSS --clamp-mss-to-pmtu) res=0
E/sdcard ( 205): missing packages.list; retrying
E/sdcard ( 205): missing packages.list; retrying
I/Netd ( 977): Netd 1.0 starting
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/default/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/lo/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/p2p0/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/rmnet0/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/rmnet1/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/rmnet2/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/sit0/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/wlan0/accept_ra_rt_table: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/default/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/ip6tnl0/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/lo/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/p2p0/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/rmnet0/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/rmnet1/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/rmnet2/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/sit0/use_optimistic: No such file or directory
E/Netd ( 977): Failed to open /proc/sys/net/ipv6/conf/wlan0/use_optimistic: No such file or directory
V/NatController( 977): runCmd(/system/bin/iptables -F natctrl_FORWARD) res=0
V/NatController( 977): runCmd(/system/bin/iptables -A natctrl_FORWARD -j DROP) res=0
V/NatController( 977): runCmd(/system/bin/iptables -t nat -F natctrl_nat_POSTROUTING) res=0
V/NatController( 977): runCmd(/system/bin/iptables -F natctrl_tether_counters) res=0
V/NatController( 977): runCmd(/system/bin/iptables -X natctrl_tether_counters) res=0
V/NatController( 977): runCmd(/system/bin/iptables -N natctrl_tether_counters) res=0
V/NatController( 977): runCmd(/system/bin/iptables -t mangle -A natctrl_mangle_FORWARD -p tcp --tcp-flags SYN SYN -j TCPMSS --clamp-mss-to-pmtu) res=0
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
E/audit_log( 187): Error writing to log file
F/appproc ( 1148): Error changing dalvik-cache ownership : Read-only file system
--------- beginning of crash
F/libc ( 1148): Fatal signal 6 (SIGABRT), code -6 in tid 1148 (app_process)
I/DEBUG ( 188): property debug.db.uid not set; NOT waiting for gdb.
I/DEBUG ( 188): HINT: adb shell setprop debug.db.uid 100000
I/DEBUG ( 188): HINT: adb forward tcp:5039 tcp:5039
E/DEBUG ( 188): Failed to find a valid tombstone, default to using tombstone 0.
E/DEBUG ( 188): failed to open tombstone file '/data/tombstones/tombstone_00': No such file or directory
I/DEBUG ( 188): Skipping tombstone write, nothing to do.
E/Netd ( 977): failed to create /data/misc/net/rt_tables (Read-only file system)
D/MDnsDS ( 977): MDnsSdListener::Hander starting up
D/MDnsDS ( 977): MDnsSdListener starting to monitor
D/MDnsDS ( 977): Going to poll with pollCount 1
E/Netd ( 977): Unable to create pid file (Read-only file system)
I use android automotive 10, imx8q, 4G ram, 32g rom, when I using usb flash driver it will crash and reboot, the log is below, someone can tell me why? thanks!
"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android:arcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android:arcel const&, android:arcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android:arcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android:arcel const&, android:arcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android:arcel const&, android:arcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)
Java:
"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)"StorageManagerService" prio=5 tid=57 Native | group="main" sCount=1 dsCount=0 flags=1 obj=0x130c3b20 self=0xe2cb861fc800 | sysTid=613 nice=0 cgrp=default sched=0/0 handle=0xe2cb8fc37d50 | state=S schedstat=( 0 0 0 ) utm=1 stm=0 core=1 HZ=100 | stack=0xe2cb8fb35000-0xe2cb8fb37000 stackSize=1039KB | held mutexes= kernel: (couldn't read /proc/self/task/613/stack) native: #00 pc 00000000000cd7a4 /apex/com.android.runtime/lib64/bionic/libc.so (__ioctl+4) native: #01 pc 000000000008a7f4 /apex/com.android.runtime/lib64/bionic/libc.so (ioctl+132) native: #02 pc 000000000005861c /system/lib64/libbinder.so (android::IPCThreadState::talkWithDriver(bool)+260) native: #03 pc 00000000000594ec /system/lib64/libbinder.so (android::IPCThreadState::waitForResponse(android::Parcel*, int*)+60) native: #04 pc 0000000000059288 /system/lib64/libbinder.so (android::IPCThreadState::transact(int, unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+184) native: #05 pc 000000000004dfe0 /system/lib64/libbinder.so (android::BpBinder::transact(unsigned int, android::Parcel const&, android::Parcel*, unsigned int)+72) native: #06 pc 0000000000149a08 /system/lib64/libandroid_runtime.so (android_os_BinderProxy_transact(_JNIEnv*, _jobject*, int, _jobject*, _jobject*, int)+152) at android.os.BinderProxy.transactNative(Native method) at android.os.BinderProxy.transact(BinderProxy.java:511) at android.os.IVold$Stub$Proxy.mount(IVold.java:1560) at com.android.server.StorageManagerService.mount(StorageManagerService.java:1808) at com.android.server.StorageManagerService.access$1600(StorageManagerService.java:188) at com.android.server.StorageManagerService$StorageManagerServiceHandler.handleMessage(StorageManagerService.java:650) at android.os.Handler.dispatchMessage(Handler.java:107) at android.os.Looper.loop(Looper.java:214) at android.os.HandlerThread.run(HandlerThread.java:67)
someone can help me?thank a lot