Skip to content

This script create a trimmed-down Windows 11 image. PowerShell version of ntdevlabs/tiny11builder with some improvements.

Notifications You must be signed in to change notification settings

bordam/tiny11builder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny11builder, PowerShell edition

This repository contains a PowerShell rewrite of the original, batch written, ntdevlabs/tiny11builder repository.

This script will:

  • download the latest Windows 11 iso from Microsoft.
  • build a trimmed-down Windows 11 installer iso.

Two executables are included:

Also included is autounattend.xml file:

  • it bypass the need to connect to/create a Microsoft account during OOBE (Out Of the Box Experience, AKA the first startup setup wizard).
  • it automatically accept the EULA (End User Licence Agreement) so it skip this step.
  • it skip the product key step (if your PC was bought with Windows 10 or 11 on it and it has EFI/UEFI, the product key is stored in EFI/UEFI and is automatically used. Otherwise, you'll be able to set it after setup).

Run it

  1. Download this repository as zip and unzip it where you want.
  2. Open a Powershell as administrator, go to the extraction path, and run the following commands:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\tiny11creator.ps1
  1. Sit back and relax :) (it runs for 25 minutes approximately on my old-but-decent laptop). You might see some errors with RemoveWindowsPackage but it's not an issue (has to do with the order and dependencies of packages to remove).
  2. The created Windows 11 installer iso is available in c:\tiny11.iso

Optional:

  1. After setup and once connected to the internet, I recommend to install the package manager from Microsoft called winget. Run this command in PowerShell:
Add-AppxPackage -RegisterByFamilyName -MainPackage Microsoft.DesktopAppInstaller_8wekyb3d8bbwe

Then you can run one of these to get your favorite browser:

winget install Mozilla.Firefox
winget install Microsoft.Edge
winget install Opera.Opera
winget install Google.Chrome

Features

Removed apps:

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, LA57 support, OCR for en-us, Speech support, TTS for en-us, Media Player Legacy, Tablet PC Math, Wallpapers, Edge, OneDrive.

Small tweaks:

  • dark theme enabled by default.
  • some file explorer config turned on: show hidden files, show known file extensions, ...
  • taskbar aligned to the left.

Known issues:

  • Microsoft Teams is somehow still there. Feel free to create a PR if you can fix it!
  • Although Edge is removed, the desktop icon, a ghost of its taskbar pin, and some remnants in the Settings about it are still showing.

About

This script create a trimmed-down Windows 11 image. PowerShell version of ntdevlabs/tiny11builder with some improvements.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%