A PowerShell version of tiny11builder.
This is a script to automate the build of a streamlined Windows 11 image or modify currently running Windows 11. Many privacy related and other tweaks are applied as well, please read this entire document before use.
Note on usage: to right-click and 'run with PowerShell', you must enable PowerShell scripts to run without signing in Windows developer settings. Not ideal. The other way: open a terminal and run .\ps_tiny11.ps1
Like tiny11builder, oscdimg.exe is included for creating the ISO.
Also included is an unattended answer file, which is used to bypass the MS account on OOBE and apply HKCU registry tweaks.
I've tried to improve privacy a fair bit, but it only scratches the surface.
I recommend using O&O ShutUp10++ to do a better job.
Protip: Use Microsoft Store to install Firefox after you install Windows.
Tested on Windows 11 version 22H2 (22621.2428) amd64 and (22621.1702). Other builds should mostly work.
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,
LA57 support,
OCR,
Speech support,
TTS,
Media Player Legacy,
Tablet PC Math,
Wallpapers,
Edge,
OneDrive
Remove Windows 11 hardware requirements,
Disable Teams,
Disable Sponsored apps,
Enable local accounts,
Disable reserved storage,
Disable chat icon,
Disable new right click context menu,
Disable Search icon in taskbar,
Disable Windows tips,
Disable Explorer ads,
Disable lockscreen ads,
Disable Windows Platform Binary Table (untested)(source),
Dark mode
Disable Windows Defender SmartScreen,
Disable Windows Defender cloud protection,
Turn off routine remediation (ask user what to do when malware is found),
Turn off cloud consumer account state content,
Turn off Automatic Download and Update of Map Data,
Turn off cloud optimized content,
Turn off Microsoft consumer experiences,
Lowest telemetry setting,
Do not allow sending intranet or internet history,
Limit Diagnostic Log Collection,
Limit Dump Collection,
Turn off desktop gadgets,
Turn off collection of InPrivate Filtering data,
Disallow Microsoft Edge to pre-launch at Windows startup, when the system is idle, and each time Microsoft Edge is closed,
Disallow Microsoft Edge to start and load the Start and New Tab page at Windows startup and each time Microsoft Edge is closed,
Disable news and interests on the taskbar,
Disable Cloud Search,
Disable Cortana,
Don't search the web or display web results in Search,
Disable Cortana above lock screen,
No auto-restart with logged on users for scheduled automatic updates installations,
Disable widgets,
Disable "Improve inking and typing recognition" AKA text input data collection,
Don't launch privacy settings experience on user logon,
Disable Windows Error Reporting
business.bing.com,
c.bing.com,
th.bing.com,
c-ring.msedge.net,
fp.msedge.net,
I-ring.msedge.net,
s-ring.msedge.net,
dual-s-ring.msedge.net,
creativecdn.com,
edgeassetservice.azureedge.net,
r.bing.com,
a-ring-fallback.msedge.net,
fp-afd-nocache-ccp.azureedge.net,
prod-azurecdn-akamai-iris.azureedge.net,
widgetcdn.azureedge.net,
widgetservice.azurefd.net,
dmd.metaservices.microsoft.com,
functional.events.data.microsoft.com,
browser.events.data.msn.com,
self.events.data.microsoft.com,
v10.events.data.microsoft.com,
telecommand.telemetry.microsoft.com,
www.telecommandsvc.microsoft.com,
checkappexec.microsoft.com,
ping-edge.smartscreen.microsoft.com,
data-edge.smartscreen.microsoft.com,
nav-edge.smartscreen.microsoft.com,
edge.microsoft.com,
windows.msn.com,
iecvlist.microsoft.com,
msedge.api.cdp.microsoft.com,
manage.devcenter.microsoft.com,
config.teams.microsoft.com,
teams.live.com,
teams.events.data.microsoft.com,
statics.teams.cdn.live.net,
arc.msn.com,
ris.api.iris.microsoft.com,
api.msn.com,
c.msn.com,
ntp.msn.com,
srtb.msn.com,
fd.api.iris.microsoft.com,
staticview.msn.com
Top of ps_tiny11.ps1 contains apps, packages, files and folders to remove, and hostnames to be blocked. Comment out lines that you want to skip with '#'.
installwim_patches.reg contains the tweaks, comment out unwanted ones by adding ';' in front of them, they're labeled.
I'm not 100% sure, still testing. I've tested offline/online on hardware and many times in VM, nothing seems to be broken. Disabling Windows Platform Binary Table may or may not work. When using Xbox controller a window will pop up on game start pointing you to Microsoft Store to install Xbox crap.
I have code in there that should convert install.esd to install.wim, but it doesn't seem to do shit, so it's commented out. Don't use ESD compression if you want to use this script.
31-10-2023:
07-11-2023:
10-12-2023: