Skip to content

Scripts to build a trimmed-down Windows 11 image.

Notifications You must be signed in to change notification settings

y2k04/tiny11builder

 
 

Repository files navigation

tiny11builder

Scripts to build a trimmed-down Windows 11 image - now in PowerShell!
Tiny11 builder, now completely overhauled.
After more than a year (for which I am so sorry) 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.
You can now use it on ANY Windows 11 release (not just a specific build), as well as ANY language or architecture. This is made possible thanks to the much-improved scripting capabilities of PowerShell, compared to the older Batch release.
Since it is written in PowerShell, you need to set the execution policy to Unrestricted, so that you could run the script. If you haven't done this before, make sure to run Set-ExecutionPolicy unrestricted as administrator in PowerShell before running the script, otherwise it would just crash.

This is a script created to automate the build of a streamlined Windows 11 image, similar to tiny11. My main goal is to use only Microsoft utilities like DISM, and no utilities from external sources. The only executable included is oscdimg.exe, which is provided in the Windows ADK and it is used to create bootable ISO images. 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.

Also, for the very first time, introducing tiny11 core builder! A more powerful script, designed for a quick and dirty development testbed. Just the bare minimun, none of the fluff. This script generates a significantly reduced Windows 11 image. However, it's not suitable for regular use due to its lack of serviceability - you can't add languages, updates, or features post-creation. tiny11 Core is not a full Windows 11 substitute but a rapid testing or development tool, potentially useful for VM environments.

Instructions:

  1. Download Windows 11 from the Microsoft website (https://www.microsoft.com/software-download/windows11)
  2. Mount the downloaded ISO image using Windows Explorer.
  3. Select the drive letter where the image is mounted (only the letter, no colon (:))
  4. Select the SKU that you want the image to be based.
  5. Sit back and relax :)
  6. 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:

  • Clipchamp
  • News
  • Weather
  • Xbox (although Xbox Identity provider is still here, so it should be possible to be reinstalled with no issues)
  • 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

For tiny11 core:

  • all of the above +
  • Windows Component Store (WinSxS)
  • Windows Defender (only disabled, can be enabled back if needed)
  • Windows Update (Windows Update wouldn't work anyway without WinSxS, so enabling it would only put the system in a state where it would try to update but fail spectacularily)
  • WinRE

Keep in mind that **you cannot add back features in tiny11 core**!

You will be asked during image creation if you want to enable .net 3.5 support!
Known issues:
  1. Although Edge is removed, there are some remnants in the Settings. But the app in itself is deleted. You can install any browser using WinGet (after you update the app using Microsoft Store). If you want Edge, Copilot and Web Search back, simply install Edge using Winget: winget install edge.

Note: You might have to update Winget before being able to install any apps, using Microsoft Store.

2. Outlook and Dev Home might reappear after some time.

3. 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
  • improved language and arch detection
  • more flexibility in what to keep and what to delete
  • maybe a GUI???

And that's pretty much it for now! Thanks for trying it and let me know how you like it!

About

Scripts to build a trimmed-down Windows 11 image.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%