@MSMG ,In ToolKit 13.5 line 2713: Getting Getting Information for Unattended file It should be: Getting Information for Unattended file
Hello. Windows 11 22H2 Build 22621.1105. Settings--> Apps--> Optional features--> Add an optional feature: Failed to install component 'Wireless display'. What did I remove with MSMG that I shouldn't have touched? Or is it all due to the fact that I used MSMG 13.4, although I should have 13.2?
Cosmetic bug in: Toolkit_2023-07-31.cmd pause>nul|set /p=Press any key to continue...ey to continue... (x27) Maybe adding a check for empty value would help to avoid this: [8] TOOLS - [1] WIM Manager: [F] Split Enter WIM Image Split File Size in MB: CTRL+C Spliting Source WIM Image [Install.wim]... Error: 87 The /FileSize: option is missing a required argument. = but install.wim is still deleted rather than canceling...
Please, can you do a test by adding a space between the p and the equal sign? And place from the equals sign to the ellipsis between double quotes. Code: pause >nul| set /p "=Press any key to continue . . ." I await the result of your test for this detail. Thanks man! adding statement for empty, if you put anything in the field may still pass and delete the wim file. about the Code: call :DeleteFile "%InstallWim%" should be: Code: if exist "%DVD%\Sources\*.swm" call :DeleteFile "%InstallWim%"
In each version of the toolkit there is a range of different supported ISO build versions. You need to start with the right ISO version.
You must tell us your procedures so that we can help you. Did you extract an wim from esd image? Did you integrate something? Did you convert install.wim back to esd?
@kokos76 I'm sorry, it's not a range. (translation problems). It is specified exactly which ones are supported.
Thank you for your time! Used v13.2 and still can't install the "Wireless Display" component. When installing Windows from the original ISO, there are no problems. Here is what I removed. Removed components are marked with "-". And applyed tweaks (Customize - Apply Tweaks Menu) marked as "+" Spoiler: What i did =============================================================================== MSMG ToolKit - Remove Internet Components Menu =============================================================================== (1) + Edge Chromium Browser | Depends on: Edge WebView (2) + Edge WebView | Needed for: News and Interests Widgets App (3) + Internet Explorer =============================================================================== MSMG ToolKit - Remove Multimedia Components Menu =============================================================================== (A) - First Logon Animation (B) - Game Explorer | Needed for: Microsoft Games (C) - Lock Screen Background (D) - Screen Savers (F) + Sound Themes (G) - Speech Recognition | Needed for: Cortana, Ease of Access & OOBE (H) - Wallpapers (I) - Windows Media Player (J) + Windows Photo Viewer (K) + Windows Themes (L) - Windows TIFF IFilter (OCR) (M) - Windows System Assessment Tool =============================================================================== MSMG ToolKit - Remove Network Components Menu =============================================================================== (1) - Offline Files (2) - Open SSH (3) - Remote Desktop Client (4) - Remote Differential Compression (RDC) (5) - Simple TCP/IP Services (6) - Telnet Client (7) - TFTP Client (8) - Wallet Service | Needed for: Microsoft Pay (9) - Windows Mail | Needed for: Windows Mail App =============================================================================== MSMG ToolKit - Remove Privacy Components Menu =============================================================================== (A) - Assigned Access (B) - Customer Experience Improvement Program (CEIP) (C) - Face Recognition (D) - Kernel Debugging | Depends on: Windows Error Reporting (E) - Location Service (F) - Picture Password (G) - Pin SignIn Support (H) - Unified Telemetry Client (Asimov) | Depends on: Windows Error Reporting (I) - WiFi Network Manager (WiFi Sense) (J) - Windows Error Reporting (K) - Windows Insider Hub =============================================================================== MSMG ToolKit - Remove Remoting Components Menu =============================================================================== (2) - MultiPoint Connector (3) - OneDrive Desktop Client (4) - Remote Assistance (5) - Remote Desktop Server (6) - Remote Registry (7) - Work Folders Client =============================================================================== MSMG ToolKit - Remove Windows Apps Menu (11 пунктов) =============================================================================== (01) - Alarms & Clock (02) + App Installer (03) - Calculator App (04) - Camera (05) - Clipchamp Video Editor (06) - Cortana | Depends on: Speech Recognition (07) - Family (08) - Feedback Hub (09) - Films & TV (10) - Gaming App (Xbox App) | Depends on: Xbox Console Companion Back-end Client (11) - Get Help (12) + Google's VP9 WebM Video Codec Plugin (13) + High Efficiency Image File (HEIF) Codec Plugin (14) + High Efficiency Video Codec (HEVC) Plugin (15) - Maps | Depends on: Map Control (16) - Media Player (17) - My Office (18) - News (19) - Notepad App (20) - Paint (21) - People | Depends on: People Bar (22) - Phone Link (23) - Photos (24) - Power Automate Desktop (25) - Quick Assist (26) + Raw Image Extension (27) - Screen Sketch (28) - Solitaire Collection | Depends on: Xbox Live (29) - Sticky Notes (30) + Store Experience Host | Depends on: Windows Store App (31) - Terminal (32) - Tips - Windows tips and tutorials App (33) - Todos (34) - Voice Recorder (35) - Weather (36) + Web Media Codec Plugin (37) + WebP Image Codec Plugin (38) + Windows Web Experience Pack - News and Interests Widgets App | Depends on: Edge WebView (39) - Windows Mail App | Depends on: Windows Mail (40) + Windows Store App | Depends on: Windows Store Back-end Client, Xbox Identity Provider (41) - Xbox Game Bar Plugin | Depends on: Xbox Console Companion Back-end Client (42) - Xbox Game Bar |Depends on: Xbox Console Companion Back-end Client (43) + Xbox Identity Provider | Depends on: Xbox Console Companion Back-end Client (44) - Xbox Game Speech Window | Depends on: Xbox Console Companion Back-end Client (45) - Xbox UI | Depends on: Xbox Console Companion Back-end Client ********************************************************************************************** Powershell "Get-AppxProvisionedPackage -Path C:\m\Mount\Install\4|? PackageName -Match 'WebExperience'|Remove-AppxProvisionedPackage" =============================================================================== MSMG ToolKit - Remove System Components Menu (13 pcs) =============================================================================== (A) + Accessibility Tools (C) - Device Lockdown (Embedded Experience) (D) - Ease of Access Cursors | Depends on: Accessibility Tools (E) - Ease of Access Themes | Depends on: Accessibility Tools (F) - Easy Transfer (G) + File History (H) + Magnifier | Depends on: Accessibility Tools (I) + Manual Setup (InPlace Upgrade) (J) - Narrator | Depends on: Accessibility Tools (K) + Notepad : | Needed for: Open With Dialog (L) + On Screen Keyboard | Depends on: Accessibility Tools (N) + Projected File System (ProjFS) (O) - Security Center | Depends on: Windows Defender (P) + Steps Recorder (Q) - Storage Spaces (R) + System Restore | Depends on: Windows Backup (S) + Windows Backup (T) + Windows Firewall (U) - Windows Subsystem For Linux (V) + Windows To Go (W) + Wordpad =============================================================================== MSMG ToolKit - Remove System Apps Menu (16 pcs) =============================================================================== (01) + AAD Broker Plugin - Credential Handler for Microsoft Azure Logon | Needed for: Microsoft Account, Windows Store (02) + Accounts Control - App to add Microsoft Account for Microsoft Apps | Needed for: Windows Store (03) - Add Suggested Folders to Library Dialog (04) + App Resolver UX - Modern Open With Dialog (05) - Assigned Access Lock App - Windows Kiosk Mode | Depends on: Assigned Access (06) - Async Text Service - Messaging extensions for People and Maps Apps (07) - Bio Enrollment - Windows Hello Setup (08) - Calling Shell App - App to host call progress on shell (09) + Capture Picker - A system picker UI control to select an item on the screen to capture | Needed for: Screen snip (10) - CBSPreview - App for Camera Barcode Scanner (11) - Content Delivery Manager - Automatic installation of sponsored or promoted apps, suggestions and Ads | Needed for: OOBE & Microsoft Account (13) - Credential Dialog Host - Authentication (Sign-in) shell support for Windows Hello (14) - ECApp - Modern UI Dialog App for Eye Movement Control | Depends on: WindowsMixedReality (15) + Edge Classic Browser (16) - Edge Developer Tools Client - An extension to edge containing tools for web developers | Depends on: Edge (17) - File Explorer - Modern File Explorer App (18) + File Picker - Modern File Picker Dialog (19) - Lock App - Container App for Apps and Messages on the Lockscreen (20) + Map Control (21) - Narrator Quick Start - QuickStart Guide for Narrator (22) - NcsiUwpApp - Network Connectivity Status Indicator (NCSI) (23) - OOBE Network Captive Portal - Captive Network Portals support during OOBE-Phase of Windows (24) - OOBE Network Connection Flow - Connection Flow Network Portals support during OOBE-Phase of Windows (25) - Parental Controls - App for Parental Controls (26) - People Experience Host - People Bar (People Hub) (27) + Pinning Confirmation Dialog (29) + Print Dialog - Modern Print Dialog | Needed for: Printing (31) - Retail Demo Content (33) - Secure Assessment Browser - Special Windows Mode for Exams (Take Test App) | Depends on: WebView2SDK (34) - Setting Sync - Sync settings between your Windows PCs and devices (35) + Skype ORTC (36) - Smart Screen - Windows Defender SmartScreen Functionality for Modern Apps (37) - Webcam Experience (38) + WebView2 Runtime (39) + Win32 WebView Host - Desktop App Web Viewer (40) - Windows Defender App (41) - Windows Mixed Reality (42) + Windows Reader (PDF) | Depends on: Edge (43) + Windows Store Back-end Client (44) + Xbox Console Companion Back-end Client (45) - Xbox Game Callable UI - Xbox Live (46) + XGpu Eject Dialog - Modern Dialog App for safe removal of external GPUs ****************************************************************************************************** Removed WaasMedic with my custom ps2 script based on westlife`s RepackWIMPS ************************************************************************************************** (4)Customize - (5) Remove Default Inbox Apps Association XML ****************************************************************************************************** (4)Customize - (8)Apply Tweaks Menu: (+=done) +(A) Disable Automatic Driver Updates through Windows Update +(B) Disable Automatic Download and Install of 3rd Party Apps +(C) Disable Automatic Download and Install of Microsoft Teams App +(D) Disable Automatic Windows Upgrade +(E) Disable Cortana App +(F) Disable Microsoft Reserved Storage Space for Windows Updates +(G) Disable Windows 11 Installer Hardware Check +(H) Disable Windows Defender (I) Disable Windows Firewall +(J) Disable Windows SmartScreen +(K) Disable Windows Update (L) Enable DISM Image Cleanup with Full ResetBase +(M) Enable Fraunhofer MP3 Professional Codec (N) Enable Windows Classic Context Menus +(O) Enable Windows Local Account +(P) Enable Windows Photo Viewer +(Q) Force .NET Programs to Use Newest .NET Framework +(R) Hide Taskbar Chat Icon +(S) Hide Taskbar Cortana Icon +(T) Hide Taskbar Meet Now Icon +(U) Hide Taskbar News and Interests +(V) Hide Taskbar Search Bar +(W) Hide Taskbar Task View Icon +(X) Hide Taskbar Widgets Icon ************************************************
1. hmm, that cosmetic part - i think i might have messed up something when i did DIFF compare of 2023-07-31 version = ignore... 2. Assuming i understand what you referred to - it still requires echo. to ensure carriage return: pause>nul|set/p "=Maybe press any key to continue . . ."&echo. OR echo. (here or after) pause>nul|set/p "=Maybe press any key to continue . . ." echo. = same effect. Without it would remain on same row.. ------- if "%C_DesktopAppInstaller%" equ "+" if "%C_DesktopAppInstaller%" neq "*" ( set "C_DesktopAppInstaller=-" ) else ( set "C_DesktopAppInstaller=+" ... ) ~ that IF check fails turn on when "-" - since treats as: IF A ( if B else C ) Probably should be: if "%C_DesktopAppInstaller%" equ "+" ( if "%C_DesktopAppInstaller%" neq "*" set "C_DesktopAppInstaller=-" ) else (
@MSMG, all from: Code: if /i "%%#" neq "A" for %%# in (!MenuChoice!) do ( to: Code: if /i "!MenuChoice!" neq "A" for %%# in (!MenuChoice!) do ( This can be removed: Code: if /i "!MenuChoice!" equ "X" goto :SelectWindowsComponentsMenu As you already put it as: Code: if /i "%%#" equ "X" goto :SelectWindowsComponentsMenu In :WIMSplit it is already done. But in :WIMMerge there is the possibility of occurrence of the same issue. so, from: Code: call :RemoveFile "%DVD%\sources\*.swm" to: Code: if exist "%InstallWim%" call :RemoveFile "%DVD%\sources\*.swm"
No, I dont had to extract, because my iso came with .wim by default. Not integratwd anything, removed some components, and applied tweaks. Maybe the converting is missing, thats why so big the iso
@mateszabo2001, Open your .iso and check the size of the folders and the .wim inside - I recommend using 7-Zip, the details are nicely displayed there. Normally the Sources folder should be around 4GB and install.wim around 3.5 - 4.5 GB. depending on how many Editions there are. If the install.wim appears to be too large, open it and check what is consuming too much space in it. The Editions (numbered folders) inside the install.wim should be between 10-15 GB each, depending on how many components were removed. These are unpacked sizes, and the packed size of an Edition folder should be the around half of its normal size. Once you have checked, we will have a better idea what was going on.
Export or optimize install.wim with wimlib ; optimize ; Code: wimlib-imagex optimize install.wim Export; Code: wimlib-imagex export "install.wim" all "install_Exportado.wim" --compress=LZX I believe that I have gathered everything that was integrated and removed it, and in the end it will have its size reduced, I hope I have helped
How many Editions do you have and which ones have you changed? Ex: If you have 5 Editions and you change only the Pro without removing the others with Trim, the optimization will detect the differences and not reduce the size of the final install.wim. If you change all Editions, the final result will be effective with size reduction. What @Bira said is already done by Toolkit with wimlibimagex optimize without Trim and wimlibimagex export if with Trim. Perhaps the pause issue affected it in some way. Download the fixed version of Toolkit.cmd that MSMG posted today.
@MSMG, This: if "%C_DesktopAppInstaller%" neq "*" Should it completely disable option 3? If so, it will still run "else". I did these tests a while ago in other codes. from: Code: if "%%#" equ "3" ( if "%C_DesktopAppInstaller%" neq "*" if "%C_DesktopAppInstaller%" equ "+" ( ) else ( ) ) to: In order not to execute the else, the neq "*" must be in the scope of the if "%%#" equ "3": Code: if "%%#" equ "3" if "%C_DesktopAppInstaller%" neq "*" ( if "%C_DesktopAppInstaller%" equ "+" ( ) else ( ) )