HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
DrEmpiricism
Optimize-Offline
PowerShell2019–2022
DrEmpiricism / Optimize-Offline

Optimize-Offline

Optimize-Offline is a Windows 10 offline image optimization framework.

5Distinct people
6Mentions
1Explicit recommenders
727GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Optimize-Offline is a Windows 10 offline image optimization framework.

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

We've been using this tool to strip out unwanted Microsoft 'features' such as Cortana. Its a powershell script you simply give it your Windows ISO and it lets you remove…

zercurity used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month6 dated mentions

Observed mentions: 2019-08-08 16:13:05 UTC to 2022-01-24 15:09:09 UTC.

0122019-08-01 00:00:00 UTC to 2019-09-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsAug 20192019-09-01 00:00:00 UTC to 2019-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-10-01 00:00:00 UTC to 2019-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2019-11-01 00:00:00 UTC to 2019-12-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2019-12-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-01-01 00:00:00 UTC to 2020-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-02-01 00:00:00 UTC to 2020-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-03-01 00:00:00 UTC to 2020-04-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2020-04-01 00:00:00 UTC to 2020-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-05-01 00:00:00 UTC to 2020-06-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2020-06-01 00:00:00 UTC to 2020-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-07-01 00:00:00 UTC to 2020-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-08-01 00:00:00 UTC to 2020-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-09-01 00:00:00 UTC to 2020-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-10-01 00:00:00 UTC to 2020-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsOct 20202020-11-01 00:00:00 UTC to 2020-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2020-12-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-01-01 00:00:00 UTC to 2021-02-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-02-01 00:00:00 UTC to 2021-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-03-01 00:00:00 UTC to 2021-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-04-01 00:00:00 UTC to 2021-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-05-01 00:00:00 UTC to 2021-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-06-01 00:00:00 UTC to 2021-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-07-01 00:00:00 UTC to 2021-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-08-01 00:00:00 UTC to 2021-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-09-01 00:00:00 UTC to 2021-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-10-01 00:00:00 UTC to 2021-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-11-01 00:00:00 UTC to 2021-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2021-12-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2022-02-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 commentsJan 2022

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 20192019-08-01 00:00:00 UTC2019-09-01 00:00:00 UTC101
Sep 20192019-09-01 00:00:00 UTC2019-10-01 00:00:00 UTC000
Oct 20192019-10-01 00:00:00 UTC2019-11-01 00:00:00 UTC000
Nov 20192019-11-01 00:00:00 UTC2019-12-01 00:00:00 UTC101
Dec 20192019-12-01 00:00:00 UTC2020-01-01 00:00:00 UTC000
Jan 20202020-01-01 00:00:00 UTC2020-02-01 00:00:00 UTC000
Feb 20202020-02-01 00:00:00 UTC2020-03-01 00:00:00 UTC000
Mar 20202020-03-01 00:00:00 UTC2020-04-01 00:00:00 UTC101
Apr 20202020-04-01 00:00:00 UTC2020-05-01 00:00:00 UTC000
May 20202020-05-01 00:00:00 UTC2020-06-01 00:00:00 UTC110
Jun 20202020-06-01 00:00:00 UTC2020-07-01 00:00:00 UTC000
Jul 20202020-07-01 00:00:00 UTC2020-08-01 00:00:00 UTC000
Aug 20202020-08-01 00:00:00 UTC2020-09-01 00:00:00 UTC000
Sep 20202020-09-01 00:00:00 UTC2020-10-01 00:00:00 UTC000
Oct 20202020-10-01 00:00:00 UTC2020-11-01 00:00:00 UTC000
Nov 20202020-11-01 00:00:00 UTC2020-12-01 00:00:00 UTC000
Dec 20202020-12-01 00:00:00 UTC2021-01-01 00:00:00 UTC000
Jan 20212021-01-01 00:00:00 UTC2021-02-01 00:00:00 UTC000
Feb 20212021-02-01 00:00:00 UTC2021-03-01 00:00:00 UTC000
Mar 20212021-03-01 00:00:00 UTC2021-04-01 00:00:00 UTC000
Apr 20212021-04-01 00:00:00 UTC2021-05-01 00:00:00 UTC000
May 20212021-05-01 00:00:00 UTC2021-06-01 00:00:00 UTC000
Jun 20212021-06-01 00:00:00 UTC2021-07-01 00:00:00 UTC000
Jul 20212021-07-01 00:00:00 UTC2021-08-01 00:00:00 UTC000
Aug 20212021-08-01 00:00:00 UTC2021-09-01 00:00:00 UTC000
Sep 20212021-09-01 00:00:00 UTC2021-10-01 00:00:00 UTC000
Oct 20212021-10-01 00:00:00 UTC2021-11-01 00:00:00 UTC000
Nov 20212021-11-01 00:00:00 UTC2021-12-01 00:00:00 UTC000
Dec 20212021-12-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
Jan 20222022-01-01 00:00:00 UTC2022-02-01 00:00:00 UTC202

What Hacker News says

6 sources
The main draw of LTSC IMO is the 10 year support period. You can continue installing the monthly updates, and not have to worry about a feature update. Those are the ones that come twice a year, and ruins your day by taking 1 hour to install, resets random settings in the process (eg. default apps or telemetry settings), randomly changes the layout/color scheme, and randomly replaces your built in apps with worse ones (https://blogs.windows.com/windows-insider/2021/12/07/redesig...). A debloating script doesn't protect you against those. as for disabling bloat in non-LTSC versions, there's various scripts floating around, eg. https://github.com/DrEmpiricism/Optimize-Offline/ or https://ameliorated.info/
In Staggering stat: 87% of U.S. teenagers have iPhones
The ecosystem of stuff is the first thing that comes to mind. Windows has never been an environment that was well suited for modern automation practices (infrastructure as code). For instance, it's not straightforward to take a database or XLS document of users and transform that into an Active Directory implementation. Here is a tool that would help with that: https://github.com/dsccommunity/ActiveDirectoryDsc Normally you would need to run this on a Windows machine ... but now I am excited at the thought of using it from my mac. I'm in the middle of doing a rollout of new network infrastructure, VPN, Firewall appliance, Hyper-V hosts, Active Directory, O365 sync, File storage, etc... for small/medium sized business. I am primarily a software/ops consultant, so I like to build infrastructure 'as data' and then use that data to assert the
Read the rest
real thing. IE, terraform apply. tl;dr – with cross platform we're closer to bringing modern ops tools into Windows land which is exciting. WSL is useful when you are on a Win box, but if you are trying to build infra from Linux/macOS you are struggling. Here is a big list of powershell crap I have starred recently on Github: - https://github.com/dsccommunity/ActiveDirectoryDsc (linked above) - https://github.com/rmbolger/Posh-ACME - https://github.com/DrEmpiricism/Optimize-Offline (not relevant to cross platform) - https://github.com/W4RH4WK/Debloat-Windows-10 (not relevant to cross platform)
In PowerShell 7.0
On Windows 10, I didn't use Mixed Reality or 3D printing or Xbox stuff or … So, I really wanted an image with non-essential items removed. I also don't like unnecessary items in my Start menu. Summary of steps are: A) Create Windows image with stuff I don't want removed B) Create Windows settings and clean up script C) Clean install using step A but do it with a local account [1] D) Clean up Windows using script from step B E) Rename PC F) Connect to Microsoft account - this will bring over settings from your other Windows PC(s) F) Install software using Chocolatey Over time, as I make further changes to my setup, I usually apply them manually and then incorporate them into either step A or step B. Steps for A: A1) Download ISO from Microsoft. For an example on how to do this, see instructions at: https://pureinfotech.com/download-windo
Read the rest
ws-10-iso-without-media-creation-tool/ A2) Create script for removing unnecessary items and then apply them to the Windows ISO image from step A1. I use: https://github.com/DrEmpiricism/Optimize-Offline to modify the Windows ISO image. A3) Use Rufus or similar tool to create bootable USB drive from image from step A2. A4) Clean install Windows. A5) When creating the image in step A2, you can add scripts that end up in c:\windows\setup\scripts. Run these scripts Steps for B: B1) Use script from https://github.com/Disassembler0/Win10-Initial-Setup-Script and customize it to your liking [1]: If you install with a Microsoft account, your user directory is the first five letters/numbers of your Microsoft account. When installing using a local account, the local account name, in its entirety is used. edit1: fixed formatting.
In Ask HN: What are the first things you do on a new Windows 10 PC? Any checklists?

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.