A tool for helping to create custom recovery ISOs using windows DISM
IMPORTANT: This script includes Generic RTM and KMS Keys these are used to set the product key when upgrading an edition of windows. THESE KEYS WILL NOT ACTIVATE YOUR MACHINE and the keys provided can be found publicly available, they are to help with installations and upgrades only.
MAIN MENU
βββ 1. Configuration Settings
β βββ 1. Set Extracted ISO Path
β βββ 2. Set Mount Path
β βββ 3. Set ISO Output Path
β βββ 4. Set Driver Path
β βββ 5. Set Package Path
β βββ 6. Set Backup Path
β βββ 7. Set Desktop Files Path
β βββ 8. Setup Wimlib (Advanced Features)
β β βββ 1. Download Wimlib (opens browser)
β β βββ 2. Set Wimlib Path (after download)
β β βββ 3. Test Wimlib Installation
β β βββ 4. Clear Wimlib Path
β β βββ 5. Return to Configuration Menu
β βββ 9. Toggle Force Unsigned Drivers
β βββ 10. Return to Main Menu
β
βββ 2. Manage Drivers (Add/Remove/Export)
β βββ 1. Add Drivers
β β βββ β’ Add to specific index
β β βββ β’ Add to all indexes
β βββ 2. Remove Drivers
β β βββ β’ Remove from specific index
β β βββ β’ Remove from all indexes
β βββ 3. Export Drivers from Current System
β βββ 4. Export Drivers from Mounted Image
β βββ 5. Return to Main Menu
β
βββ 3. Manage Packages and Features
β βββ 1. Manage for specific index
β βββ 2. Manage for all indexes
β βββ 3. Manage Current Live System
β β βββ SYSTEM PACKAGE MANAGEMENT (.cab/.msu):
β β β βββ 1. View all installed system packages
β β β βββ 2. View specific system package info
β β β βββ 3. Add system package(s)
β β β βββ 4. Remove system package(s)
β β βββ APPLICATION PACKAGE MANAGEMENT (.appx/.appxbundle):
β β β βββ 5. View all provisioned application packages
β β β βββ 6. Add application package(s)
β β β βββ 7. Remove application package(s)
β β βββ FEATURE MANAGEMENT:
β β β βββ 8. View all available features
β β β βββ 9. View specific feature info
β β β βββ 10. Enable feature(s)
β β β βββ 11. Disable feature(s)
β β βββ 12. Return to Main Menu
β βββ 4. Return to Main Menu
β β
β βββ Per-Index Management Menu (Options 1 & 2):
β βββ SYSTEM PACKAGE MANAGEMENT (.cab/.msu):
β β βββ 1. View all installed system packages
β β βββ 2. View specific system package info
β β βββ 3. Add system package(s)
β β βββ 4. Remove system package(s)
β βββ APPLICATION PACKAGE MANAGEMENT (.appx/.appxbundle):
β β βββ 5. View all provisioned application packages
β β βββ 6. Add application package(s)
β β βββ 7. Remove application package(s)
β βββ FEATURE MANAGEMENT:
β β βββ 8. View all available features
β β βββ 9. View specific feature info
β β βββ 10. Enable feature(s)
β β βββ 11. Disable feature(s)
β βββ 12. Commit changes and continue
β βββ 13. Discard changes and exit
β
βββ 4. Manage Indexes (Add/Remove)
β βββ 1. View Current Indexes
β βββ 2. Add Index
β β βββ 1. Export from another WIM file
β β βββ 2. Export from ESD file
β βββ 3. Remove Index
β βββ 4. Return to Main Menu
β
βββ 5. Manage Editions
β βββ 1. View Current Edition (Mounted Image)
β βββ 2. View Available Target Editions (Mounted Image)
β βββ 3. Upgrade Edition (Mounted Image)
β βββ 4. View Index Metadata (requires wimlib)
β βββ 5. Update Index Metadata (requires wimlib)
β βββ 6. Set Product Keys (Generic/RTM)
β β βββ 1. Set key for specific index
β β βββ 2. Set key for all indexes
β β βββ 3. View available RTM keys
β β βββ 4. View available KMS Client keys (Official)
β β βββ 5. Return to Edition Management
β βββ 7. Return to Main Menu
β
βββ 6. File Conversion (WIM/ESD)
β βββ 1. Convert to WIM
β βββ 2. Convert to ESD
β βββ 3. Recompress current format
β βββ 4. Return to Main Menu
β
βββ 7. Create ISO (UEFI/BIOS/Hybrid)
β βββ 1. Create UEFI-only ISO
β βββ 2. Create BIOS-only ISO
β βββ 3. Create Hybrid ISO (UEFI + BIOS)
β βββ 4. Detect and Recommend Best Option
β βββ 5. Return to Main Menu
β
βββ 8. View WIM/ESD Information
β
βββ 9. Manage Desktop Files
β βββ 1. Add Desktop Files to Images
β β βββ β’ Select files to add
β β βββ β’ Add to specific index
β β βββ β’ Add to all indexes
β βββ 2. Remove Desktop Files from Images
β βββ 3. Return to Main Menu
β
βββ 10. Manage Registry
β βββ 1. Apply Common Tweaks
β β βββ Tweak Selection Interface (19 toggleable options):
β β β βββ 1. [β/β] Disable Windows Search Indexing
β β β βββ 2. [β/β] Disable Telemetry/Data Collection
β β β βββ 3. [β/β] Classic Context Menu (Windows 11)
β β β βββ 4. [β/β] Disable AutoRun/AutoPlay
β β β βββ 5. [β/β] Enable Win32 Long Paths
β β β βββ 6. [β/β] Bypass TPM Requirements (Image only)
β β β βββ 7. [β/β] Bypass RAM Requirements (Image only)
β β β βββ 8. [β/β] Bypass Secure Boot (Image only)
β β β βββ 9. [β/β] Bypass CPU Requirements (Image only)
β β β βββ 10. [β/β] Disable MS Account Requirements (Image only)
β β β βββ 11. [β/β] Disable Weak SSL/TLS Protocols
β β β βββ 12. [β/β] Enable SMB Signing
β β β βββ 13. [β/β] Disable Internet Explorer 11
β β β βββ 14. [β/β] Enable Certificate Padding Check
β β β βββ 15. [β/β] Restrict Network Location Changes
β β β βββ 16. [β/β] Prevent Device Encryption (Disable BitLocker)
β β β βββ 17. [β/β] Enable AD Recovery Key Backup
β β β βββ 18. Toggle All (Select/Deselect All)
β β β βββ 19. Apply Selected Tweaks
β β β βββ 1. Apply to current system (live)
β β β βββ 2. Apply to specific index
β β β βββ 3. Apply to all indexes
β β β βββ 4. Cancel
β β βββ 20. Return to Registry Management
β βββ 2. Return to Main Menu
β
βββ 11. Mount Index
β βββ β’ Mount Read-Write (for making changes)
β βββ β’ Mount Read-Only (for viewing only)
β βββ β’ Cancel
β
βββ 12. Cleanup/Unmount
β
βββ 13. Exit