Skip to content

BaoIsCoding/bao11builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 

Repository files navigation

bao11builder

Scripts to build a more trimmed-down Windows 11 image - now in PowerShell! Fork of tiny11builder

Introduction :

Bao11 builder, now completely overhauled.
bao11builder is now a 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.

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. The only other 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.


⚠️ 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. This is the recommended script for regular use.
  • ⚠️ tiny11coremaker.ps1 : Not yet

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 Bypass -Scope Process

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(only Edge folder)
  • OneDrive

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:

  • The only things that remove is the Edge folder, for more stable(ornot)
  • 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.
  • Windows will not be update anymore(if you want,go to registry HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU and set NoAutoUpate value to 0)

Bao11builder is a fork from tiny11builder

Thank you for using!

Credit to NTDev and contributors

Maybe not stable🥶🥀

About

Scripts to build a more trimmed-down Windows 11 image. All belongs to NTDev

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PowerShell 100.0%