Hardware and tech reviewer Patrick Campanale recently detailed at How-To Geek how he finally broke out of that loop using a tool already sitting inside modern Windows builds: WinGet, the Windows Package Manager. Instead of spending hours babysitting installers on every new review unit, Campanale used WinGet's export and import commands to boil his entire software provisioning routine down to two core terminal commands and a pair of curated JSON files stored on his network-attached storage (NAS).
It is a remarkably clean trick, and it works just as well for an everyday Windows user migrating to a new PC as it does for an IT pro imaging test laptops. Still, as Microsoft's official WinGet documentation makes clear, treating winget export as a blind "clone my PC" button comes with a few important caveats you should understand before firing off an unattended install.
The Setup Bottleneck: Why Manual App Installs Eat Your Evening
In his December 1, 2026 walkthrough for How-To Geek, Campanale laid out a scenario familiar to anyone who bounces between machines. Every review desktop or laptop arriving at his desk requires two distinct layers of software before real work can begin:
- Daily driver productivity tools: Obsidian (where he writes his articles), 1Password, Google Chrome, Claude, Spark, Affinity, Canva, Discord, WhatsApp, Telegram, Slack, Asana, and Todoist.
- Benchmarking and diagnostics: Geekbench 6, Novabench, Cinebench, HWiNFO, SystemInfo, DiskSpd, Steam, and several other testing utilities.
Keeping old installer executables on a USB stick only solves half the problem. Many installers are outdated the moment you save them, meaning you either spend time updating apps right after installing them or go back to every vendor website and the Microsoft Store to pull fresh binaries. Either way, you are locked to the chair clicking through license agreements and privacy prompts.
WinGet flips that dynamic on its head. Built into Windows 11, modern versions of Windows 10 (version 1809 / build 17763 and later), and Windows Server 2025 as part of the App Installer component `, WinGet acts as a native command-line package manager—broadly similar in concept toapt` on Ubuntu or Homebrew on macOS.
Step One: Harvesting Your Software List With winget export
The magic starts on a PC that already has your favorite software installed. You do not even need to have installed those apps through WinGet originally. By running:
winget export -o apps.json
WinGet scans the applications currently installed on your machine and attempts to match them against packages available in its configured repositories (such as the WinGet community repository and the Microsoft Store) ``. On Campanale's main desktop, that single scan matched 106 packages and wrote their identifiers into a structured JSON file.
What winget export Actually Captures—and What It Misses
Before you treat apps.json like a full system backup, remember what WinGet is actually doing under the hood:
- It is a package-list match, not an image backup: WinGet matches Windows Add/Remove Programs entries against repository manifest metadata. If an obscure utility, legacy enterprise tool, or custom driver isn't indexed in a configured source,
winget exportwill skip it and display a warning rather than capturing it. - Versions are omitted by default: According to Microsoft Learn documentation for the
exportcommand,winget exportdoes not lock in specific version numbers unless you explicitly add the--include-versionsflag. Without `--include-versions`, importing that JSON later automatically pulls the **latest available version**. For daily drivers, getting fresh versions automatically is a feature; for strict benchmarking environments where matching exact app builds matters,--include-versionsis worth considering. - Cryptic Microsoft Store IDs need decoding: Store apps don't always show up with human-friendly names in the JSON file. Campanale noticed an inscrutable Store identifier—
XP8K17RNMM8MTN—lurking in his export. Runningwinget show --id XP8K17RNMM8MTNrevealed its metadata, confirming it was **Canva**,. Whenever you see an alphanumeric `XP...` or `9N...` string in your JSON, `winget show --id <PackageIdentifier>` is your fastest way to verify what it actually is before deploying it.
Why Splitting and Pruning Your JSON Matters
A raw export from a lived-in desktop is rarely something you want to dump wholesale onto a clean laptop. Odds are your 106-package dump includes hardware-specific RGB utilities, old printer drivers, or one-off apps you tested six months ago and forgot to uninstall.
Campanale's smart move was editing the exported JSON "with a fine-toothed comb" and splitting it into two purpose-built files stored on his NAS:
- A daily driver JSON containing his core communications, password management, and writing tools.
- A benchmarking kit JSON tailored specifically to performance testing.
Microsoft explicitly notes that the exported JSON is meant to be edited in any text or code editor so you can strip out unwanted entries before importing ``. Splitting lists by role—work, gaming, benchmarking, or general family use—keeps new builds lean.
Step Two: Batch Installing With winget import
Once your curated JSON file is copied over to the target PC, deployment takes a single line in an elevated (Administrator) Terminal or Command Prompt:
winget import -i apps.json --accept-package-agreements --accept-source-agreements --ignore-unavailable
Here is what each piece of that command does ``, and why the elevation and flags matter:
| Command Element | Purpose & Behavior | Practical Caveat |
|---|---|---|
-i apps.json | Points WinGet to your curated JSON package manifest . | Packages are installed **serially** (one after another), not simultaneously. | |
--accept-package-agreements | Automatically accepts EULAs/license prompts presented by packages ``. | Applies to the package license itself; some custom installers may still show optional UI steps if not fully silent. |
--accept-source-agreements | Accepts repository source terms (such as the WinGet source or Store) without pausing ``. | You skip reviewing source agreements interactively, so ensure only trusted sources are configured. |
--ignore-unavailable | Prevents missing or delisted packages from throwing an error and halting the queue . | Can mask a skipped app—always check the terminal summary afterward to see what was missed or already present. | |
| Elevated Terminal (Admin) | Eliminates User Account Control (UAC) elevation pop-ups for system-wide installers. | Only run scripts and package lists you have personally audited and trust. |
Extra Flags Worth Knowing
Depending on how you maintain your machines, Microsoft's import documentation highlights a few other switches that pair nicely with this workflow ``:
--no-upgrade: Skips upgrading an app if an earlier version is already present on the destination PC ``.--ignore-versions: If you exported with--include-versionsfor archival purposes, adding this flag during import tells WinGet to ignore those pinned versions and grab the newest release anyway ``.--disable-interactivity: Suppresses interactive prompts at the WinGet client level ``, though keep in mind that individual third-party EXE installers still dictate how quietly they behave.
Step-by-Step: Building Your Own Two-Command Rebuild Kit
If you want to replicate Campanale's setup for your next Windows 11 upgrade or PC purchase, follow this verified workflow:
- Confirm WinGet is active on your current PC: Open Windows Terminal or PowerShell and run
winget --version. (On brand-new Windows accounts where Store registration hasn't finished yet, Microsoft notes WinGet can take a moment to register via App Installer.) - Export your baseline inventory: Run
winget export -o raw-apps.json. Take note of any terminal warnings flagging local programs WinGet could not match to a repository. - Audit and decode the JSON: Open
raw-apps.jsonin Notepad or VS Code. Remove bloatware, OEM hardware utilities, and apps you no longer use. If you spot cryptic Microsoft Store IDs, runwinget show --id <ID>to identify them ``. - Decide on version strategy: Keep the default JSON if you always want the latest releases, or re-run with
--include-versionsif your workflow depends on exact software builds ``. - Back up the curated file off-device: Save your cleaned JSON file (or split role-based files) to a NAS, OneDrive, or a bootable USB toolkit.
- Deploy on the target Windows PC: Open Terminal as Administrator, navigate to the folder holding your JSON, and run
winget import -i apps.json --accept-package-agreements --accept-source-agreements --ignore-unavailable``. - Inspect the post-run log: When the serial queue finishes ``, scan the output for any packages marked unavailable or skipped, then manually install any unmatched specialty tools.
Where winget import Stops—and winget configure Begins
As Campanale rightly points out, winget import only handles installing applications. It will not sign you into 1Password, sync your Obsidian vault, or flip Windows Explorer settings the way you like them.
If you want full machine-state automation—including Windows tweaks like dark mode or showing file extensions alongside software packages—Microsoft offers winget configure ,. Instead of a flat JSON list of apps, winget configure reads a YAML configuration file (.winget) powered by PowerShell Desired State Configuration (DSC) ,, —including the streamlined DSC v3 schema available on WinGet 1.11 and later.
Why didn't Campanale use it? Simply put, return on time invested. Authoring and maintaining DSC YAML manifests makes tremendous sense for enterprise IT teams, developer onboarding (Microsoft Dev Box or team Git repos) ,, and strict reproducible environments . For a hardware reviewer—or a home user setting up a fresh laptop once every couple of years—maintaining DSC modules is overkill compared to keeping a lightweight JSON file on a NAS. And if you ever do experiment with `winget configure`, take Microsoft's warning to heart: never run a third-party `.winget` configuration file without reading every line and verifying the trustworthiness of its PowerShell DSC resources first.
The Bottom Line
WinGet's export and import workflow will not replace enterprise imaging tools like Intune or Autopilot, nor will it magically migrate your local AppData profiles. What it will do is eliminate the tedious, click-heavy tax of provisioning a new Windows machine. With ten minutes spent pruning a JSON export today, your future self gets to type a single command, walk away for a cup of coffee, and come back to a Windows desktop that is actually ready for work.
References
- One WinGet export turned my hours-long laptop setup into two commands How-To Geek · 2026-12-01T12:00:15+00:00
- `export` Command | Microsoft Learn learn.microsoft.com
- `install` Command | Microsoft Learn learn.microsoft.com