By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: I rebuilt my Windows setup in minutes using Winget’s export and import commands
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > I rebuilt my Windows setup in minutes using Winget’s export and import commands
Computing

I rebuilt my Windows setup in minutes using Winget’s export and import commands

News Room
Last updated: 2025/09/30 at 6:03 AM
News Room Published 30 September 2025
Share
SHARE

If you’ve ever set up a new Windows PC or reinstalled Windows on your existing one, you know that it can be a big chore. Hunting down installers, clicking through installation wizards, and then setting up each program again—all this makes setting up Windows a big hassle.

Thankfully, Windows has a trick up its sleeve. Some Winget hacks can transform how you use your PC, but they can also make setting up Windows a breeze.

Creating a Winget software snapshot

Back up your entire app setup in seconds

WInget is more than just an installation tool. It’s essentially a time machine for your software setup. You can create a JSON snapshot of all your installed applications with a single command. Then you can use said snapshot to reinstall all those programs using another command on the same or different computers.

Creating a snapshot requires using the export command. Here’s what you need to run:

winget export -o C:backupmy-apps.json --accept-source-agreements
Screenshot by Yadullah Abidi | No Attribution Required.

And that’s about it. This command will create a JSON file in your desired location that contains every application that Winget can manage on your system. The –accept-source-agreements flag automatically handles license agreements to avoid any issues during reinstalls.

Winget only exports applications available in its repository. This means you won’t get legacy or problematic software in your export—just clean, manageable packages that can be reliably reinstalled.

The downside of this is that some of your programs may not make the cut and would have to be reinstalled manually. This usually includes any apps downloaded from the Microsoft Store and several enterprise applications. Winget’s coverage has expanded dramatically in recent years, and it includes most mainstream applications, but you still might have to get a few applications yourself.

Winget JSON file open in Notepad.
Screenshot by Yadullah Abidi | No Attribution Required.

The resulting JSON file is quite readable and follows a clear schema listing package identifiers, source information, and metadata about each program. As you can probably guess, the file can be manually edited to customize the installation list further. This means you only need to create the snapshot once. Any programs can be added or removed at a later time as per your requirements.

Rebuilding Windows with a single command

Skip the reinstall hassle and get everything back fast

When it’s time to rebuild your Windows installation, simply move your JSON export file to an accessible location on your current or new computer and run this command:

winget import -i C:backupmy-apps.json --ignore-versions --accept-package-agreements --accept-source-agreements
Winget import command on Command Prompt.
Screenshot by Yadullah Abidi | No Attribution Required.

Winget will start downloading and installing every application from your export file instantly. The –ignore-versions flag ensures you get the latest version of the program instead of the one saved when the export file was created. Additionally, the –accept-package-agreements and –accept-source-agreements accept any agreements on your behalf, requiring no input during the installation process.

This has become my standard procedure for quickly setting up new Windows machines or cloning my installations. It’s also quite consistent across different machines, and none of the installations I’ve attempted so far have failed. Applications appear with their default configurations, ready to go when you are.

Network timeouts can interrupt larger imports, but Winget handles the situation by skipping failed installations and moving on to the next one. In such cases, you can just run the import command again, and Winget will get any applications that failed to install on the first run.

Last but not least, you might sometimes run into permissions issues with certain installers. Fixing this is as simple as running the import command from an administrator-level Command Prompt or PowerShell window.

Optimizations for power users

Tweaks to save time and run installs smarter

While basic import and export commands will do most of the work, you can optimize Winget further to add some extra functionality. For example, if you need version-specific snapshots, feel free to include the –include-versions flag in your import commands.

Winget JSON file open in Notepad.
Yadullah Abidi /
Credit: Yadullah Abidi /

As mentioned before, the JSON files created by the import command can be manually edited. However, you can also combine multiple JSON files by editing them manually or using PowerShell. This lets you create modular setups with one JSON that contains base applications, while others include extras for a specific purpose.

Finally, Winget commands integrate perfectly with PowerShell scripts. This means you can write scripts that take regular exports to make sure you’ve got the latest snapshots at hand if something goes wrong. The same logic extends to deployment scripts, where you can automate entire PC setups with just a few lines of code.

Winget is the way to go

Microsoft’s package manager beats manual installs

Using Winget has changed how I think about Windows setups. The tool has made software installation a routine, and if required, an automated task, which is a big help considering how much of a chore it previously was.

I can spin up virtual machines identical to my current Windows installation or be productive on entirely new machines within minutes rather than hours. I sometimes do a clean Windows install during my annual maintenance procedure for Windows laptops, and Winget makes the process far easier than before.

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article Apple @ Work Podcast: Going back to the practitioner role – 9to5Mac
Next Article Huge WhatsApp revamp lets you find lost texts with pals & adds new photo type
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

Opera wants its new Neon browser to automate everything in your life
Computing
Lancashire Council signs £4.3m agentic AI deal – UKTN
News
Microsoft’s new Security Store is like an app store for cybersecurity
News
We Asked Audio Pros to Blind Test Headphones. The Results Were Surprising
Gadget

You Might also Like

Computing

Opera wants its new Neon browser to automate everything in your life

4 Min Read
Computing

Kenya digital exports face test as US tariffs loom

7 Min Read
Computing

Converged AI Workspace: The Future of Productivity With

19 Min Read
Computing

The 23 Laws of Marketing – Law 23: Marketing Is Mind Control | HackerNoon

8 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?