Test 26100.994 Windows Server 2025 Standard (Desktop Experience in Lite style with Edge without Store) amd64 en-US Code: ------------------------------------------------------------ Get Features ------------------------------------------------------------ Printing-PrintToPDFServices-Features | Enabled SearchEngine-Client-Package | Enabled WorkFolders-Client | Enabled MediaPlayback | Enabled WindowsMediaPlayer | Enabled SmbDirect | Enabled Server-Core | Enabled Microsoft-Windows-Printing-PremiumTools | Enabled WCF-Services45 | Enabled WCF-TCP-PortSharing45 | Enabled NetFx4ServerFeatures | Enabled NetFx4 | Enabled MicrosoftWindowsPowerShellRoot | Enabled MicrosoftWindowsPowerShell | Enabled Server-Psh-Cmdlets | Enabled KeyDistributionService-PSH-Cmdlets | Enabled TlsSessionTicketKey-PSH-Cmdlets | Enabled Tpm-PSH-Cmdlets | Enabled MicrosoftWindowsPowerShellV2 | Enabled ServerCore-WOW64 | Enabled Printing-Client | Enabled Printing-Client-Gui | Enabled Windows-Defender | Enabled WirelessNetworking | Enabled Xps-Foundation-Xps-Viewer | Enabled Server-Drivers-General | Enabled Server-Drivers-Printers | Enabled Server-Shell | Enabled Server-Gui-Mgmt | Enabled WindowsServerBackupSnapin | Enabled ServerMediaFoundation | Enabled RSAT | Enabled SystemDataArchiver | Enabled ServerCoreFonts-NonCritical-Fonts-BitmapFonts | Enabled ServerCoreFonts-NonCritical-Fonts-MinConsoleFonts | Enabled ServerCoreFonts-NonCritical-Fonts-Support | Enabled ServerCoreFonts-NonCritical-Fonts-TrueType | Enabled ServerCoreFonts-NonCritical-Fonts-UAPFonts | Enabled FileAndStorage-Services | Enabled Storage-Services | Enabled ServerCore-Drivers-General | Enabled ServerCore-Drivers-General-WOW64 | Enabled ------------------------------------------------------------ Code: Printing-PrintToPDFServices-Features | Enabled SearchEngine-Client-Package | Enabled ---> Code: ------------------------------------------------------------ Add Cumulative Update to ServerStandard image ------------------------------------------------------------ Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.1 Processing 1 of 1 - Adding package Package_for_RollupFix~31bf3856ad364e35~amd64~~26100.994.1.20 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------ ---> Code: ------------------------------------------------------------ Get Features ------------------------------------------------------------ Printing-PrintToPDFServices-Features | Enabled WorkFolders-Client | Enabled MediaPlayback | Enabled WindowsMediaPlayer | Enabled SmbDirect | Enabled Server-Core | Enabled Microsoft-Windows-Printing-PremiumTools | Enabled WCF-Services45 | Enabled WCF-TCP-PortSharing45 | Enabled NetFx4ServerFeatures | Enabled NetFx4 | Enabled MicrosoftWindowsPowerShellRoot | Enabled MicrosoftWindowsPowerShell | Enabled Server-Psh-Cmdlets | Enabled KeyDistributionService-PSH-Cmdlets | Enabled TlsSessionTicketKey-PSH-Cmdlets | Enabled Tpm-PSH-Cmdlets | Enabled MicrosoftWindowsPowerShellV2 | Enabled ServerCore-WOW64 | Enabled Printing-Client | Enabled Printing-Client-Gui | Enabled Windows-Defender | Enabled Xps-Foundation-Xps-Viewer | Enabled WindowsServerBackupSnapin | Enabled WirelessNetworking | Enabled Server-Drivers-General | Enabled Server-Drivers-Printers | Enabled Server-Shell | Enabled Server-Gui-Mgmt | Enabled ServerMediaFoundation | Enabled RSAT | Enabled ServerCoreFonts-NonCritical-Fonts-BitmapFonts | Enabled ServerCoreFonts-NonCritical-Fonts-MinConsoleFonts | Enabled ServerCoreFonts-NonCritical-Fonts-Support | Enabled ServerCoreFonts-NonCritical-Fonts-TrueType | Enabled ServerCoreFonts-NonCritical-Fonts-UAPFonts | Enabled FileAndStorage-Services | Enabled Storage-Services | Enabled SystemDataArchiver | Enabled ServerCore-Drivers-General | Enabled ServerCore-Drivers-General-WOW64 | Enabled SearchEngine-Client-Package | Enabled ------------------------------------------------------------ Code: ServerCore-Drivers-General-WOW64 | Enabled SearchEngine-Client-Package | Enabled
Test 26100.560 Windows 11 IoT Enterprise LTSC (OEM_NONSLP with Edge without Store) amd64 en-US [without SenseClient] Code: ------------------------------------------------------------ Remove SenseClient FoD ------------------------------------------------------------ Microsoft.Windows.Sense.Client Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------ Code: ------------------------------------------------------------ Get Capabilities ------------------------------------------------------------ App.StepsRecorder~~~~0.0.1.0 | Installed Browser.InternetExplorer~~~~0.0.11.0 | Installed DirectX.Configuration.Database~~~~0.0.1.0 | Installed Hello.Face.20134~~~~0.0.1.0 | Installed Language.Basic~~~en-US~0.0.1.0 | Installed Language.Handwriting~~~en-US~0.0.1.0 | Installed Language.OCR~~~en-US~0.0.1.0 | Installed Language.Speech~~~en-US~0.0.1.0 | Installed Language.TextToSpeech~~~en-US~0.0.1.0 | Installed MathRecognizer~~~~0.0.1.0 | Installed Media.WindowsMediaPlayer~~~~0.0.12.0 | Installed Microsoft.Wallpapers.Extended~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Intel.E1i68x64~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Intel.E2f68~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Realtek.Rtcx21x64~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Vmware.Vmxnet3~~~~0.0.1.0 | Installed Microsoft.Windows.MSPaint~~~~0.0.1.0 | Installed Microsoft.Windows.Notepad~~~~0.0.1.0 | Installed Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 | Installed Microsoft.Windows.SnippingTool~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Broadcom.Bcmpciedhd63~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63al~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63a~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwbw02~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwew00~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwew01~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwlv64~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwns64~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwsw00~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw02~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw04~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw06~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw08~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw10~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Marvel.Mrvlpcie8897~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Qualcomm.Athw8x~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Qualcomm.Athwnx~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Qualcomm.Qcamain10x64~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Ralink.Netr28x~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtl8192se~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtwlane01~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtwlane13~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtwlane~~~~0.0.1.0 | Installed OneCoreUAP.OneSync~~~~0.0.1.0 | Installed OpenSSH.Client~~~~0.0.1.0 | Installed Print.Management.Console~~~~0.0.1.0 | Installed VBSCRIPT~~~~ | Installed Windows.Kernel.LA57~~~~0.0.1.0 | Installed WMIC~~~~ | Installed Code: ======================================================================================================== 26100.560 Windows 11 IoT Enterprise LTSC (OEM_NONSLP with Edge without Store) amd64 en-US has been successfully reconstructed on 2024/6/25 ======================================================================================================== Mission took 0:12:45.96 (765.96s total) [with SenseClient] Code: ------------------------------------------------------------ Get Capabilities ------------------------------------------------------------ App.StepsRecorder~~~~0.0.1.0 | Installed Browser.InternetExplorer~~~~0.0.11.0 | Installed DirectX.Configuration.Database~~~~0.0.1.0 | Installed Hello.Face.20134~~~~0.0.1.0 | Installed Language.Basic~~~en-US~0.0.1.0 | Installed Language.Handwriting~~~en-US~0.0.1.0 | Installed Language.OCR~~~en-US~0.0.1.0 | Installed Language.Speech~~~en-US~0.0.1.0 | Installed Language.TextToSpeech~~~en-US~0.0.1.0 | Installed MathRecognizer~~~~0.0.1.0 | Installed Media.WindowsMediaPlayer~~~~0.0.12.0 | Installed Microsoft.Wallpapers.Extended~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Intel.E1i68x64~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Intel.E2f68~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Realtek.Rtcx21x64~~~~0.0.1.0 | Installed Microsoft.Windows.Ethernet.Client.Vmware.Vmxnet3~~~~0.0.1.0 | Installed Microsoft.Windows.MSPaint~~~~0.0.1.0 | Installed Microsoft.Windows.Notepad~~~~0.0.1.0 | Installed Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 | Installed Microsoft.Windows.Sense.Client~~~~ | Installed Microsoft.Windows.SnippingTool~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Broadcom.Bcmpciedhd63~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63al~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Broadcom.Bcmwl63a~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwbw02~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwew00~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwew01~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwlv64~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwns64~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwsw00~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw02~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw04~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw06~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw08~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Intel.Netwtw10~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Marvel.Mrvlpcie8897~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Qualcomm.Athw8x~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Qualcomm.Athwnx~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Qualcomm.Qcamain10x64~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Ralink.Netr28x~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtl8192se~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtwlane01~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtwlane13~~~~0.0.1.0 | Installed Microsoft.Windows.Wifi.Client.Realtek.Rtwlane~~~~0.0.1.0 | Installed OneCoreUAP.OneSync~~~~0.0.1.0 | Installed OpenSSH.Client~~~~0.0.1.0 | Installed Print.Management.Console~~~~0.0.1.0 | Installed VBSCRIPT~~~~ | Installed Windows.Kernel.LA57~~~~0.0.1.0 | Installed WMIC~~~~ | Installed Code: ======================================================================================================== 26100.560 Windows 11 IoT Enterprise LTSC (OEM_NONSLP with Edge without Store) amd64 en-US has been successfully reconstructed on 2024/6/25 ======================================================================================================== Mission took 0:10:44.75 (644.75s total) Test 26100.560 Windows Server 2025 Standard (Desktop Experience in Full style with Edge without Store) amd64 en-US [without SenseClient] Code: ------------------------------------------------------------ Remove SenseClient FoD ------------------------------------------------------------ Microsoft.Windows.Sense.Client Deployment Image Servicing and Management tool Version: 10.0.19041.844 Image Version: 10.0.26100.1 [==========================100.0%==========================] The operation completed successfully. ------------------------------------------------------------ Code: ------------------------------------------------------------ Get Capabilities ------------------------------------------------------------ App.StepsRecorder~~~~0.0.1.0 | Installed AzureArcSetup~~~~ | Installed Browser.InternetExplorer~~~~0.0.11.0 | Installed DirectX.Configuration.Database~~~~0.0.1.0 | Installed Downlevel.NLS.Sorting.Versions.Server~~~~0.0.1.0 | Installed Language.Basic~~~en-US~0.0.1.0 | Installed Language.Handwriting~~~en-US~0.0.1.0 | Installed Language.OCR~~~en-US~0.0.1.0 | Installed Language.Speech~~~en-US~0.0.1.0 | Installed Language.TextToSpeech~~~en-US~0.0.1.0 | Installed MathRecognizer~~~~0.0.1.0 | Installed Media.WindowsMediaPlayer~~~~0.0.12.0 | Installed Microsoft.Windows.MSPaint~~~~0.0.1.0 | Installed Microsoft.Windows.Notepad~~~~0.0.1.0 | Installed Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 | Installed Microsoft.Windows.SnippingTool~~~~0.0.1.0 | Installed OneCoreUAP.OneSync~~~~0.0.1.0 | Installed OpenSSH.Client~~~~0.0.1.0 | Installed OpenSSH.Server~~~~0.0.1.0 | Installed VBSCRIPT~~~~ | Installed Windows.Kernel.LA57~~~~0.0.1.0 | Installed WMIC~~~~ | Installed XPS.Viewer~~~~0.0.1.0 | Installed ------------------------------------------------------------ Code: ======================================================================================================== 26100.560 Windows Server 2025 Standard (Desktop Experience in Full style with Edge without Store) amd64 en-US has been successfully reconstructed on 2024/6/25 ======================================================================================================== Mission took 0:15:56.71 (956.71s total) [with SenseClient] Code: ------------------------------------------------------------ Get Capabilities ------------------------------------------------------------ App.StepsRecorder~~~~0.0.1.0 | Installed AzureArcSetup~~~~ | Installed Browser.InternetExplorer~~~~0.0.11.0 | Installed DirectX.Configuration.Database~~~~0.0.1.0 | Installed Downlevel.NLS.Sorting.Versions.Server~~~~0.0.1.0 | Installed Language.Basic~~~en-US~0.0.1.0 | Installed Language.Handwriting~~~en-US~0.0.1.0 | Installed Language.OCR~~~en-US~0.0.1.0 | Installed Language.Speech~~~en-US~0.0.1.0 | Installed Language.TextToSpeech~~~en-US~0.0.1.0 | Installed MathRecognizer~~~~0.0.1.0 | Installed Media.WindowsMediaPlayer~~~~0.0.12.0 | Installed Microsoft.Windows.MSPaint~~~~0.0.1.0 | Installed Microsoft.Windows.Notepad~~~~0.0.1.0 | Installed Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 | Installed Microsoft.Windows.Sense.Client~~~~ | Installed Microsoft.Windows.SnippingTool~~~~0.0.1.0 | Installed OneCoreUAP.OneSync~~~~0.0.1.0 | Installed OpenSSH.Client~~~~0.0.1.0 | Installed OpenSSH.Server~~~~0.0.1.0 | Installed VBSCRIPT~~~~ | Installed Windows.Kernel.LA57~~~~0.0.1.0 | Installed WMIC~~~~ | Installed XPS.Viewer~~~~0.0.1.0 | Installed ------------------------------------------------------------ Code: ======================================================================================================== 26100.560 Windows Server 2025 Standard (Desktop Experience in Full style with Edge without Store) amd64 en-US has been successfully reconstructed on 2024/6/25 ======================================================================================================== Mission took 0:15:19.42 (919.42s total)
I built an image from unstaged wim but my start menu not works. Around topics page 3xx gailium119 said need to add vc package to start menu to work but there is not such package esd.
To a wincore.wim adding untouched Microsoft-Windows-Foundation-Package Microsoft-Windows-EditionSpecific-Professional-Package Microsoft-Windows-EditionSpecific-Professional-WOW64-Package Microsoft-Windows-Client-Desktop-Required-Package Microsoft-Windows-Client-Desktop-Required-WOW64-Package Microsoft-Windows-Client-Features-Package Microsoft-Windows-Client-Features-WOW64-Package Microsoft-Windows-EditionPack-Professional-Package Microsoft-Windows-EditionPack-Professional-WOW64-Package Microsoft-Windows-RegulatedPackages-Package Microsoft-Windows-RegulatedPackages-WOW64-Package Microsoft-Windows-Not-Supported-On-LTSB-Package Microsoft-Windows-Not-Supported-On-LTSB-WOW64-Package Microsoft-Windows-Required-ShellExperiences-Desktop-Package Microsoft-Windows-Required-ShellExperiences-Desktop-WOW64-Package Microsoft-Windows-Client-LanguagePack-Package (en-US) Packages. All dism commands successfull but start menu never works. Explorer works. Wincore.wim around 32mb I used 22000.1 wincore.wim. I could not get 26100.1 wincore.wim to work. Working with 22000.1 build. Could it be because i havent added license files and brand the wim? Adding edition packages not enough to brand wim? Problem could be related this posts https://forums.mydigitallife.net/th...nstruction-project.80939/page-13#post-1601992 https://forums.mydigitallife.net/th...struction-project.80939/page-217#post-1682430
[Default Optional Features of ServerStandard\ServerDatacenter] Code: App.StepsRecorder~~~~0.0.1.0 AzureArcSetup~~~~ Browser.InternetExplorer~~~~0.0.11.0 DirectX.Configuration.Database~~~~0.0.1.0 Downlevel.NLS.Sorting.Versions.Server~~~~0.0.1.0 Language.Basic~~~en-US~0.0.1.0 Language.Handwriting~~~en-US~0.0.1.0 Language.OCR~~~en-US~0.0.1.0 Language.Speech~~~en-US~0.0.1.0 Language.TextToSpeech~~~en-US~0.0.1.0 MathRecognizer~~~~0.0.1.0 Media.WindowsMediaPlayer~~~~0.0.12.0 Microsoft.Windows.MSPaint~~~~0.0.1.0 Microsoft.Windows.Notepad~~~~0.0.1.0 Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 Microsoft.Windows.Sense.Client~~~~ Microsoft.Windows.SnippingTool~~~~0.0.1.0 OneCoreUAP.OneSync~~~~0.0.1.0 OpenSSH.Client~~~~0.0.1.0 OpenSSH.Server~~~~0.0.1.0 VBSCRIPT~~~~ Windows.Kernel.LA57~~~~0.0.1.0 WMIC~~~~ XPS.Viewer~~~~0.0.1.0 [Default Optional Features of ServerTurbine] Code: App.StepsRecorder~~~~0.0.1.0 | Installed Browser.InternetExplorer~~~~0.0.11.0 | Installed DirectX.Configuration.Database~~~~0.0.1.0 | Installed Downlevel.NLS.Sorting.Versions.Server~~~~0.0.1.0 | Installed Language.Basic~~~en-US~0.0.1.0 | Installed Language.Handwriting~~~en-US~0.0.1.0 | Installed Language.OCR~~~en-US~0.0.1.0 | Installed Language.Speech~~~en-US~0.0.1.0 | Installed Language.TextToSpeech~~~en-US~0.0.1.0 | Installed MathRecognizer~~~~0.0.1.0 | Installed Media.WindowsMediaPlayer~~~~0.0.12.0 | Installed Microsoft.Windows.MSPaint~~~~0.0.1.0 | Installed Microsoft.Windows.Notepad~~~~0.0.1.0 | Installed Microsoft.Windows.PowerShell.ISE~~~~0.0.1.0 | Installed Microsoft.Windows.Sense.Client~~~~ | Installed Microsoft.Windows.SnippingTool~~~~0.0.1.0 | Installed OneCoreUAP.OneSync~~~~0.0.1.0 | Installed OpenSSH.Client~~~~0.0.1.0 | Installed OpenSSH.Server~~~~0.0.1.0 | Installed VBSCRIPT~~~~ | Installed Windows.Kernel.LA57~~~~0.0.1.0 | Installed WMIC~~~~ | Installed XPS.Viewer~~~~0.0.1.0 | Installed
I wrote a batch file that allows you to install all .mum files from a directory (current, .\mum, or specify) and includes options to add and remove a context menu entry for installing from .mum files. It should record successes and failures to .txt files. I'll likely add handling of update.mum files when in a folder with other .mum files later, as well as offline image handing. Additionally attached are the .reg files, should you not want the whole batch. Spoiler: YourMUM.bat Code: :: YourMUM.bat @echo off :: Change to the directory of the batch file pushd "%~dp0" :: Request admin rights if not already running as admin >nul 2>&1 reg query "HKU\S-1-5-19\Environment" if '%errorlevel%' NEQ '0' ( (echo.Set UAC = CreateObject^("Shell.Application"^)&echo.UAC.ShellExecute "%~s0", "", "", "runas", 1)>"%tmp%\getadmin.vbs" "%tmp%\getadmin.vbs" exit /B ) else ( >nul 2>&1 del "%tmp%\getadmin.vbs" ) Title .mum installer color 0E setlocal enabledelayedexpansion :menu call :banner echo Please select an option: echo 1. Install .mum files from a directory echo 2. Add context menu for .mum files echo 3. Remove context menu for .mum files echo 4. Exit echo. set /p choice="Enter your choice: " if "%choice%"=="1" goto :option1 if "%choice%"=="2" goto :option2 if "%choice%"=="3" goto :option3 if "%choice%"=="4" goto :exit echo Invalid choice. Please try again. timeout /t 3 /nobreak >nul goto :menu :option1 call :chooseDirectory goto :menu :option2 call :banner reg add "HKEY_CLASSES_ROOT\SystemFileAssociations\.mum\shell\RunAs" /ve /d "Install with DISM" /f reg add "HKEY_CLASSES_ROOT\SystemFileAssociations\.mum\shell\RunAs" /v "HasLUAShield" /t REG_SZ /d "" /f reg add "HKEY_CLASSES_ROOT\SystemFileAssociations\.mum\shell\RunAs\command" /ve /d "cmd /k dism /online /add-package /packagepath:\"%%1\"" /f echo Context menu added for .mum files. timeout /t 3 /nobreak >nul goto :menu :option3 call :banner reg delete "HKEY_CLASSES_ROOT\SystemFileAssociations\.mum\shell\RunAs" /f echo Context menu removed for .mum files. timeout /t 3 /nobreak >nul goto :menu :chooseDirectory call :banner echo Please select a directory option: echo 1. Use the current folder echo 2. Use the "mum" subfolder in the batch file's folder echo 3. Specify a directory echo. set /p dirChoice="Enter your choice: " if "%dirChoice%"=="1" ( set dirPath=%cd% ) else if "%dirChoice%"=="2" ( set dirPath=%~dp0mum ) else if "%dirChoice%"=="3" ( set /p dirPath="Enter the directory path to search for .mum files: " ) else ( echo Invalid choice. Please try again. timeout /t 3 /nobreak >nul goto :menu ) call :installMumFiles goto :menu :installMumFiles call :banner if not exist "%dirPath%" ( echo The specified directory does not exist. timeout /t 3 /nobreak >nul goto :menu ) echo > 0-success.txt echo > 0-failure.txt for %%f in ("%dirPath%\*.mum") do ( echo Installing %%f... dism /online /add-package /packagepath:"%%f" >nul 2>&1 if !errorlevel! neq 0 ( echo Error: !errorlevel! >> 0-failure.txt dism /online /add-package /packagepath:"%%f" 2>> 0-failure.txt ) else ( echo %%f >> 0-success.txt ) ) echo Installation results have been recorded in 0-success.txt and 0-failure.txt. timeout /t 5 /nobreak >nul goto :menu :exit set "lines=echo. && echo." set "cnt=echo COUNTDOWN" > %tmp%\Rest1.vbs echo Wscript.sleep 1000 && SET R1=Start /w %tmp%\Rest1.vbs cls %lines% && echo ">---> Closing in ...3" && %cnt% 3 >> %tmp%\count.txt && %R1% && cls %lines% && echo ">---> Closing in ....2" && %cnt% 2 >> %tmp%\count.txt && %R1% && color 06 && cls %lines% && echo ">---> Closing in .....1" && %cnt% 1 >> %tmp%\count.txt && %R1% && cls del %tmp%\Rest1.vbs > nul && DEL %tmp%\count.txt > nul && exit :banner cls echo. echo ___________________________________________________ echo. echo /\_/\ ___ _ _ _ __ /\/\ /\ /\ /\/\ echo \_ _/ / _ \ ^| ^| ^| ^|^| '__^| / \ / / \ \ / \ echo / \ ^| (_) ^|^| ^|_^| ^|^| ^| / /\/\ \\ \_/ // /\/\ \ echo \_/ \___/ \__,_^|^|_^| \/ \/ \___/ \/ \/ echo. echo ___________________________________________________ echo. echo. goto :eof