TechBuzzPro

How to Automatically Archive Useless Apps on Windows PC

· 5 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Windows has no built-in 'auto-archive' feature that silently moves unused apps off your drive, but you can achieve the same result with a two-part routine: use Storage Sense to keep temporary and unused files in check, and use a scheduled PowerShell script to move or uninstall apps you have not touched in a set period. The practical approach is to identify unused apps by last-used date, then either uninstall them or move their installers and portable folders to an archive drive. This guide covers the safe, official methods only.

What You'll Need

  • A Windows 10 or Windows 11 PC with administrator rights.
  • An external drive or a second internal drive for archived installers and portable app folders (optional but recommended).
  • Access to PowerShell (built into Windows) and Task Scheduler (also built in).
  • About 15 minutes for the initial setup.

Menu labels can differ slightly between Windows 10 and Windows 11, and between builds, so treat the exact wording as a guide rather than a guarantee.

Step-by-Step

  1. Turn on Storage Sense first. Open Settings > System > Storage (Windows 11) or Settings > System > Storage (Windows 10). Find Storage Sense and turn it on. Click its settings link and enable automatic cleanup of temporary files, and set Downloads to be cleared only if you are comfortable losing old downloads. Storage Sense does not archive apps, but it removes the clutter that makes unused apps hard to spot.
  2. List installed apps and their last-used dates. Open PowerShell as administrator (right-click Start, choose Terminal (Admin) or Windows PowerShell (Admin)). Run: Get-ChildItem 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer\UserAssist' -Recurse | Get-ItemProperty | Select-Object Name, LastWriteTime. This gives registry-based last-touch times for programs you have launched. It is not perfect, but it is the closest built-in signal. For a cleaner list of installed programs, run Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | Select-Object DisplayName, InstallDate.
  3. Decide on a threshold. Pick a period such as 90 or 180 days. Anything not launched in that window is a candidate. Do not include system components, drivers, antivirus, or anything you are unsure about.
  4. Uninstall the clearly unused apps. Open Settings > Apps > Installed apps (Windows 11) or Settings > Apps > Apps & features (Windows 10). Sort by name or size, click the three-dot menu next to an app, and choose Uninstall. Confirm only for apps you recognise. This is the safest form of archiving because it frees space immediately and leaves no orphaned files.
  5. Archive portable apps by moving their folders. Portable apps (no installer) live in a folder you chose. Close the app, then move its folder to your archive drive. Create a shortcut back if you might use it again. Do not move folders inside Program Files or Windows; those belong to installed apps and will break if moved.
  6. Create a scheduled cleanup script. Save the following as Archive-UnusedApps.ps1 in a folder such as C:\Scripts: a short script that lists installed apps with their install dates and writes them to a CSV on your archive drive. Keep the script read-only: it should report, not delete. Automatic deletion by script is risky because registry entries and app data are easy to misread.
  7. Schedule the script with Task Scheduler. Open Task Scheduler, choose Create Basic Task, name it, set it to run monthly, choose Start a program, and point it to powershell.exe with arguments -ExecutionPolicy Bypass -File C:\Scripts\Archive-UnusedApps.ps1. Tick 'Run with highest privileges'. This gives you a monthly report you can review in a few minutes.
  8. Review the report and act. Open the CSV, sort by install date, and uninstall anything you have not used. Repeat monthly. The automation is in the reporting; the uninstall stays manual so you never lose something important.

Common Mistakes

  • Deleting app folders instead of uninstalling. Removing a folder under Program Files leaves registry entries and can break updates. Always uninstall through Settings > Apps.
  • Trusting last-used dates blindly. Some apps run in the background and update their timestamp without you opening them. Cross-check with your own memory before removing anything.
  • Archiving system components. Never move or uninstall Microsoft Visual C++ Redistributables, .NET runtimes, or drivers. They are dependencies for other apps.
  • Letting a script delete automatically. A script that uninstalls based on a date can remove something you need. Keep the script to reporting only.
  • Forgetting portable app data. Some portable apps store settings next to the executable. Move the whole folder, not just the .exe.

Tips

  • Keep a simple text log of what you archived and where, so you can find it later.
  • Use the archive drive for installers too: move old setup files there instead of deleting them, in case you need to reinstall offline.
  • Run the report before a big Windows update; it is a good time to clear space.
  • If you use a laptop with limited storage, set Storage Sense to run weekly rather than monthly.

Troubleshooting

  • The PowerShell command returns nothing. Run PowerShell as administrator and check the path exists. On some builds the UserAssist key is under a different subkey; browse HKCU:\Software\Microsoft\Windows\CurrentVersion\Explorer to confirm.
  • Task Scheduler says the task ran but no CSV appears. Check the script path and that the account running the task has write access to the archive drive. Test the script manually first.
  • An app will not uninstall. Restart the PC and try again. If it still fails, use the app's own uninstaller from its install folder, then remove leftovers manually only after confirming the app is gone from Settings.
  • You archived something you still need. Reinstall from the official source or move the portable folder back. Do not restore by copying files into Program Files.

Frequently Asked Questions

Does Windows have a built-in auto-archive for apps?

No. Windows can uninstall apps and clean temporary files, but it does not automatically archive unused applications. You need a manual or scripted routine.

Is it safe to uninstall apps I have not used in months?

Usually yes, if you recognise them and they are not system components, drivers, or runtimes. When in doubt, leave it installed.

Can I schedule uninstalls automatically?

You can, but it is not recommended. A scheduled script that uninstalls based on dates can remove something important. Use scheduling for reports, not deletions.

What is the difference between archiving and uninstalling?

Uninstalling removes the app and its registry entries. Archiving moves the app's files to another drive so you can restore them later. For installed apps, uninstalling is the cleaner option.

Will Storage Sense remove my apps?

No. Storage Sense deletes temporary files, recycle bin contents, and optionally old downloads. It does not uninstall applications.

Can I archive Microsoft Store apps?

Store apps are managed by Windows and cannot be moved like portable folders. You can uninstall them from Settings > Apps, and reinstall from the Store later.