Skip to content
miticolloPublic

About

Scripts to build a trimmed-down Windows 11 image

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

21 Commits

Folders and files

Repository files navigation

IMO11

Windows 11 In My Opinion

Caution

Read all Write-Output and comments before blindly use this project! I made it following my personal taste and requirements. IMO this is not a properly debloater!

Warning

This project was only tested with Windows 11 Enterprise LTSC 2024 (index 1). If you want to use another image comment out the following line:

Set-WindowsEdition -Path "$ScratchDisk\scratchdir" -Edition 'IoTEnterpriseS'

This project was born as a (private) fork of tiny11. However, due to the number of changes I've made, it can no longer really be considered a fork.

  1. Add the Latest Cumulative Update (LCU) to the image and WinPE if there's a .msu file in LCU folder. Visit Windows 11 Update History to see which updates are available for your Windows image.
  2. Properly remove Microsoft Edge using DISM.
  3. Completely remove every disabled feature, including its payload.
  4. Remove the default wallpapers and screensavers.
  5. Remove the 32-bit versions of Notepad and PowerShell ISE.
  6. Remove the Microsoft Kernel Debugger Network Adapter (NDIS 6.20 Miniport).
  7. Some SystemApps are not registered during specialize phase.
    • For example, Legacy Print Dialog is restored!
  8. Apply a lot of custom tweaks.
    • A custom theme is automatically loaded during Active Setup.
    • Disable every service related to Xbox.
    • Completely disable automatic updates and upgrades.
    • Disable the lock screen through Group Policy.
    • Customize keys and values for some software (e.g., Windows PhotoViewer, 7-Zip, etc.).
    • ...
  9. Improve privacy and disable more telemetry.
  10. Run a custom WinPE script to format and partition the disk, then install Windows.
  11. Remove useless file from ISO and update boot files bootmgr/efisys.bin from install.esd.
  12. Active and set a default password for built-in Administrator account.

Warning

Change password in unattend.xml

<UserAccounts>
   <AdministratorPassword>
       <Value>put here your password</Value>
       <PlainText>true</PlainText>
   </AdministratorPassword>
</UserAccounts>
  1. When desktop appears, run finalize.bat to complete installation.
  2. Restore F8 and F11 functionalities during Windows boot.

There are also two important improvements.

  1. During OOBE, the ZDP and NDUP pages are skipped.
  2. Customize SetupLogoff.ps1 to run a PowerShell script before logoff from defaultuser0.
    • For example, switch the first local account from Administrator to standard!

TODO

  • Examine .inf files
  • finalize.bat: Add a prompt to install AnyDesk/RustDesk
  • finalize.bat: Add a prompt to install VLC
  • finalize.bat: Download sdelete if I'm running on VM
Edited README from tiny11

tiny11builder

Scripts to build a trimmed-down Windows 11 image - now in PowerShell!

Introduction :

Tiny11 builder, now completely overhauled.
After more than a year of no updates, tiny11 builder is now a much more complete and flexible solution - one script fits all. Also, it is a steppingstone for an even more fleshed-out solution.

This is a script created to automate the build of a streamlined Windows 11 image, similar to tiny10. The script has also been updated to use DISM's recovery compression, resulting in a much smaller final ISO size, and no utilities from external sources. Also included is an unattended answer file, which is used to bypass the Microsoft Account on OOBE and to deploy the image with the /compact flag. It's open-source, so feel free to add or remove anything you want! Feedback is also much appreciated.


⚠️ Script versions:

  • tiny11maker.ps1 : The regular script, which removes a lot of bloat but keeps the system serviceable. You can add languages, updates, and features post-creation.

Instructions:

  1. Download Windows 11 from the Microsoft website or Rufus
  2. Mount the downloaded ISO image using Windows Explorer.
  3. Open PowerShell 5.1 as Administrator.
  4. Change the script execution policy :
Set-ExecutionPolicy RemoteSigned -Scope Process -Force

Using -Scope Process you keep your original policy intact as this change only lasts for the current PowerShell session.

  1. Start the script :
C:/path/to/your/tiny11/script.ps1 -ISO <letter> -SCRATCH <letter>

You can see of the script by running the get-help command.

  1. Select the drive letter where the image is mounted (only the letter, no colon (:))
  2. Select the SKU that you want the image to be based.
  3. Sit back and relax :)
  4. When the image is completed, you will see it in the folder where the script was extracted, with the name tiny11.iso

What is removed:

Tiny11maker
  • Clipchamp
  • News
  • Weather
  • Xbox
  • GetHelp
  • GetStarted
  • Office Hub
  • Solitaire
  • PeopleApp
  • PowerAutomate
  • ToDo
  • Alarms
  • Mail and Calendar
  • Feedback Hub
  • Maps
  • Sound Recorder
  • Your Phone
  • Media Player
  • QuickAssist
  • Internet Explorer
  • Tablet PC Math
  • Edge
  • OneDrive
  • WinRE

Known issues:

  • You might have to update Winget before being able to install any apps, using Microsoft Store.
  • Outlook and Dev Home might reappear after some time. This is an ongoing battle, though the latest script update tries to prevent this more aggressively.
  • If you are using this script on arm64, you might see a glimpse of an error while running the script. This is caused by the fact that the arm64 image doesn't have OneDriveSetup.exe included in the System32 folder.

Features to be implemented:

  • disabling telemetry (Implemented in the 04-29-24 release!)
  • more ad suppression (Partially implemented in the 09-06-25 release!)
  • improved language and arch detection

And that's pretty much it for now!

About

Scripts to build a trimmed-down Windows 11 image

Resources

Stars

4 stars

Watchers

0 watching

Forks

Contributors

Languages