OpenWin installs Windows 11 the way an open-source operating system would ship: open-source apps out of the box, without most of the preinstalled apps, and with a local account instead of a Microsoft account.
On openwin.dev, OpenWin's website, you choose your
theme, browser, apps and settings, and download what Windows Setup needs to
install Windows with them: an answer file for Windows Setup (autounattend.xml)
and an $OEM$ folder with everything it installs. You add them to the official
Windows 11 installer from Microsoft, either on a USB drive or in a virtual
machine.
The website asks on pages like the ones Windows asks its own questions on after Setup, and takes on the theme you choose as you go:
- Your theme, from the ones that come with Windows: Windows (light) or (dark), Glow, Captured Motion, Sunrise or Flow. Everyone who signs in starts with its background, accent color, and light or dark mode.
- Your browser: Brave, Google Chrome or Microsoft Edge.
- The apps to remove, from the ones Windows comes with. The ones OpenWin recommends removing are already checked.
- The system packages to remove, which come with Windows itself rather than as apps, such as OneDrive. Here too, the recommended ones are checked.
- Your settings, which everyone who signs in starts with.
Then your browser puts the download together, with the latest installers, and
you save it as OpenWin.zip for a USB drive or as autounattend.iso for a
virtual machine. Before you do, See what's inside lists every file in it, with
what each one is for and exactly what's in it: the text of each file OpenWin
writes or keeps in this repository, and for the installers and OpenWin's
packages, where they come from, with the SHA-256 of each package and the files
in it. Your browser writes the files itself and asks the website only for the
installers and packages. The website has no accounts and keeps nothing about
you, only a count of the downloads each day, by file and browser. Its first page
shows how many there have been in all.
To keep your downloads out of the count, open
openwin.dev/?count=no in your browser, and
openwin.dev/?count=yes to have them counted
again. Your browser remembers which, and while your downloads aren't counted,
the website's address has ?count=no, so you can see it and bookmark it.
Once you change any of OpenWin's recommendations, the website's address has your choices in it, as a short code, and the download page has it to copy: a link that opens OpenWin with them already made, to share or keep as a preset, such as openwin.dev/?p=QiR8rjk-tuQMoCA, which has Google Chrome, the Glow theme and OneDrive kept. The code has every choice, so a preset stays as it was made, even when OpenWin's own recommendations change. Apps, system packages and settings added to the website later start as it recommends them.
Open-source apps by default
- Brave, unless you choose another browser, is the default browser and PDF
viewer, pinned to the Start menu and taskbar, and follows the Windows display
language. It skips its welcome page the first time it opens, and each user
starts with these settings, which they can change later in Brave's settings:
- No Brave VPN, Leo AI, Wallet or Rewards buttons, and no Leo AI, Brave Talk or Wallet in the sidebar.
- No Leo suggestions in the address bar or Leo items in the right-click menu, and no Brave Commands suggestions.
- A New Tab page with a clock, without sponsored images, Brave News or the Rewards, Talk and VPN widgets.
- Downloads go straight to the Downloads folder without asking where.
- Brave's anonymous usage statistics (P3A) are off.
- 7-Zip opens archives and disk images: zip, 7z, rar, tar, gz, xz, zst, iso, cab, wim, vhd(x), dmg and more.
With Google Chrome
- Google Chrome replaces Brave as the default browser and PDF viewer, in the Start menu and on the taskbar. Chrome itself keeps all its default settings.
With Microsoft Edge
- Microsoft Edge stays installed instead of Brave, as Windows ships it,
pinned to the Start menu and taskbar. It skips its welcome screens the first
time it opens and doesn't prompt you to use its recommended browser settings.
Each user starts with these settings, which they can change later in Edge's
settings:
- No Copilot button on the toolbar.
- The Downloads button is always shown.
No bloat
- Microsoft Edge is uninstalled, unless you choose it.
- The apps you choose are removed for everyone. OpenWin recommends removing these: Clipchamp, Clock, Camera, Dev Home, Family, Feedback Hub, Get Help, Microsoft 365 Copilot, Microsoft Bing, News, Outlook (new), Phone Link, Power Automate, Quick Assist, Solitaire Collection, Sound Recorder, Sticky Notes, Teams, To Do, Weather and Widgets.
- The system packages you choose have their parts replaced with empty ones, which keeps Windows Update working. OpenWin recommends removing OneDrive. Microsoft Defender can go too, with SmartScreen, phishing protection and Windows Security, whose app and page in Settings would have nothing to show, and Windows Update then doesn't install the Malicious Software Removal Tool.
- The Start menu pins only your browser, Microsoft Store, Settings, Photos, Paint, Calculator, Notepad, Snipping Tool and File Explorer, and the taskbar pins only File Explorer and your browser.
Settings you choose, which start like this
- File Explorer shows file name extensions and hidden files, and opens to This PC.
- The full right-click menu, as in Windows 10.
- Mouse acceleration is off.
- No web results in Search.
- Windows Update installs drivers, as usual. You can turn that off, except on Home editions.
- No cloud optimized content: Windows doesn't set Spotlight as your background or pin Outlook and the apps it promotes.
Easier setup
- Works on PCs without TPM 2.0, Secure Boot or 4 GB of RAM.
- Uses a local account: no Microsoft account and no internet connection needed.
- Skips the privacy settings screen, leaving its optional settings off.
- Make a Windows 11 USB drive with the Media Creation Tool.
- On openwin.dev, make your choices and download
OpenWin.zip, with On a PC, from a USB drive. - Extract it and copy
autounattend.xmland the$OEM$folder to the root of the USB drive, next tosetup.exe. - Boot the PC from the USB drive.
- Download the Windows 11 ISO from Microsoft.
- On openwin.dev, make your choices and download
autounattend.iso, with In a virtual machine. - Create the virtual machine with at least 2 CPUs and the Windows 11 ISO as its boot CD/DVD drive. Windows 11 Setup refuses machines with a single CPU.
- Add a second CD/DVD drive with
autounattend.iso. - Start the virtual machine and press a key when it says Press any key to boot
from CD or DVD. Windows Setup finds
autounattend.xmlon the second drive by itself.
Tips for some hypervisors:
- VirtualBox: turn off VirtualBox's own unattended installation when you create the machine: untick Proceed with Unattended Installation (VirtualBox 7.2 and later) or tick Skip Unattended Installation (7.0 and 7.1). Otherwise VirtualBox installs Windows with its own answer file and OpenWin is ignored. Then add the second drive in Settings → Storage.
- VMware Workstation: choose I will install the operating system later to avoid Easy Install, then add the second CD/DVD drive.
- Hyper-V: use a Generation 2 machine and add the second DVD drive to its SCSI controller.
- virt-manager / QEMU: add a second CDROM device.
- Your language, time format and keyboard.
- Which edition of Windows 11 to install, such as Home or Pro, unless the PC has a license in its firmware (see Activation).
- Where to install Windows. Setup can erase the drive you pick, so back up first.
- Your region and keyboard layout.
- On a PC without a wired connection, a Wi-Fi network. Choose I don't have internet to stay offline.
- A name and password for your account, plus three security questions if you set a password.
Setup doesn't ask for a product key. It lets you choose which edition of Windows 11 to install instead. A PC that came with Windows usually has a license in its firmware, and Setup then installs that license's edition without asking.
Windows activates on its own once it's online if the PC has a license for the edition installed, either in its firmware or as a digital license from an earlier Windows 10 or 11. Otherwise, enter a product key in Settings → System → Activation.
Everything happens in your browser, with the website on Cloudflare:
site/setup.jslists what you can choose and writes the files your choices need:autounattend.xml, the scripts that remove the apps and packages you choose (RemoveApps.cmdandRemovePkgs.cmd),OpenWin.reg, with a comment on each setting saying what it does, and the default apps and the Start menu's and taskbar's pins, which name your browser.- The rest comes from the installers and from this repository's
$OEM$folder, which the site's build bundles: the files in it that your choices need, such asRemoveEdge.cmdand your browser's settings.worker.jsstreams the installers from their official links, which don't let other websites download from them: the latest 7-Zip from its latest release on GitHub, and Brave or Chrome from the links Brave and Google keep for their latest version. site/zip.jsandsite/iso.jswrite the zip and the ISO image.- The download page's See what's inside lists the same files, from
setup.js, with what each one is for: its text, or for an installer or a package, where it comes from, and for a package, the SHA-256 it's checked against. To show what's in a package, your browser downloads it, checks it the same way and lists the files in it. - Once your download is ready, your browser tells
worker.jswhich file it made and with which browser, and that day's count for them goes up by one, as does the total that the first page shows, in a D1 database. That's all the website keeps.
Windows Setup then works as it always has with an answer file: as Windows starts for the first time, it runs the scripts and installers without a window, and then shows its own setup screens, without the ones for a Microsoft account and for privacy.
Your download always has the latest 7-Zip and Brave or Google Chrome, which your
browser downloads as it makes it: Brave and Chrome from the links Brave and
Google keep for their latest version, and 7-Zip from its latest release on
GitHub, which worker.js looks up, as the installer's name has its version. The
download names it 7z-x64.exe for any version. Edge comes with Windows and
updates itself.
The packages that remove system packages aren't in this repository either.
The site's build makes one for each, such as OpenWin-OneDrive, with
build/packages.mjs. It replaces every component of
what it removes, the parts Windows' packages are made of, with an empty one
of a higher version, so Windows removes their files and registry values, and
its own packages stay as they are. It leaves the components for each
language, which hold only the text in that language, as replacing those
would take one for every language Windows comes in. Microsoft Defender
couldn't be removed any other way: Windows 11 has it in the packages most of
Windows comes in.
The packages are signed with a certificate made for each build, which
Windows accepts once RemovePkgs.cmd adds an empty test root key to the
registry.
Changes are tested on the dev branch first.
openwin.dev is this repository's main branch, as a
Cloudflare Worker with static assets, which wrangler.jsonc
describes. To publish a copy, in the Cloudflare dashboard,
create an application from this repository with Create application → From Git
repository, with these settings:
- Build command:
node build/build.mjs - Deploy command:
npx wrangler deploy
It answers only on the domains you add in the Worker's Domains tab. For a
copy to answer on its workers.dev address too, set workers_dev to true
in wrangler.jsonc.
Cloudflare creates the D1 database for the download counts,
openwin-downloads, on the first deploy. The first page shows the total. To
see the counts by day, file and browser, open the database in the dashboard
under Storage & databases → D1 SQL database, and run this in its Console:
SELECT day, file, browser, count FROM downloads ORDER BY day DESCTo try it on your computer, with Node.js 18 or later:
node build/build.mjsnpx wrangler devDownloads you make there count in a local copy of the database, not the website's.
site/ The website's pages, and what writes your download
worker.js Streams the installers, and counts downloads
wrangler.jsonc How Cloudflare runs the website
build/ The site's build, and the packages it makes
$OEM$/ The files a download can have as they are
$$/Setup/Scripts/ RemoveEdge.cmd and RemoveSecHealthUI.cmd
$1/Users/Default/ Brave's and Edge's settings for every new user
docs/ Screenshots for this README
Each download has the files of $OEM$ that your choices need, and the ones
site/setup.js writes. Windows Setup copies $OEM$\$$ to C:\Windows and
$OEM$\$1 to C:\.
OpenWin is under the MIT License. Brave, Chrome and 7-Zip, which it installs, keep their own licenses.
- Brave by Brave Software, under the Mozilla Public License 2.0.
- Google Chrome by Google, under the Google Chrome Terms of Service.
- 7-Zip by Igor Pavlov, under the GNU LGPL with the unRAR restriction.
Windows is a trademark of Microsoft, and the pictures of its themes on the website are Microsoft's. OpenWin isn't affiliated with Microsoft, Brave Software, Google or 7-Zip.
