AppData and ProgramData in Windows 11: What’s Safe to Clean and What to Leave Alone

Uninstalling an app rarely removes every trace of it, and the places where traces stay are mostly two hidden folders: AppData and ProgramData. This guide explains what AppData and ProgramData actually hold, how to tell a real leftover folder from one Windows or another app still needs, and how to clean up without losing saved games, licences or settings. It follows Windows 11, with notes for Windows 10 where the steps differ.
Last reviewed: November 22, 2026. Steps were compared with Microsoft documentation; nothing was run on a real PC.
Quick answer
- Uninstall the app first, from Settings > Apps > Installed apps. Never delete an app's folder by hand while the app is still installed.
- After the uninstall, leftover folders in Program Files, AppData and ProgramData are usually small. Most people do not need to remove them.
- If you do check, delete only folders that clearly carry the removed app's name, and only after copying anything personal out of them.
- Never delete the whole AppData or ProgramData folder, anything in Windows or System32, or any folder you cannot identify.
- Measure the result with free space in File Explorer before and after, so you know whether it was worth it.
In this guide
- Why uninstalled programs leave files behind
- The places leftovers hide
- How to open the hidden folders
- Step 1: uninstall properly first
- Step 2: check for leftovers safely
- Protect saved games, licences and profiles
- Use Storage settings and Cleanup recommendations
- When cleaner software helps
- The problem with aggressive registry cleaners
- If a program will not uninstall
- Check how much space you really recovered
- What you should never delete
- Frequently asked questions
- How this guide was checked
- Sources
Why uninstalled programs leave files behind
There is no single rule that every app follows when it is removed. Several different things can stay behind, and most of them are there on purpose.
- Your own settings and data. Many apps keep your preferences, saved projects or logins so they are still there if you reinstall.
- Shared files. Microsoft's Windows Installer documentation says a file can stay after an uninstall if another installed app or feature still uses it, or if Windows Resource Protection guards it.
- Caches and logs. Apps write temporary data that a careless uninstaller does not clear.
- Badly written uninstallers. Some simply miss folders they created.
Microsoft's installer guidance says a package should leave no useless parts behind, so leftovers are not meant to be the normal result. But Microsoft does not publish a rule that leftover folders must be deleted, and it does not offer a built-in tool that finds them. That is why this job needs care: Windows cannot tell you which folders are truly dead.
Do leftovers matter?
Usually not much. Most leftover folders hold a few megabytes. They matter in three cases: a game or editor left gigabytes of cache, you want to reinstall an app from scratch because it misbehaves, or your drive is nearly full. If none of those applies, the safest choice is to leave them alone. Leftover services and scheduled tasks are a separate matter; see our guide to leftover services and scheduled tasks.
The places leftovers hide
Leftovers sit in a handful of known places. Microsoft documents their locations as known folders. What each one is used for is described in general terms below, because Microsoft's location page does not explain the purpose of each folder.
| Place | Typical location | Commonly holds | Clean it? |
|---|---|---|---|
| Program Files | C:\Program Files and C:\Program Files (x86) | The app's program files | Only an empty folder of an app you removed |
| AppData\Local | C:\Users\your name\AppData\Local | Caches, logs and settings for this PC only | Only folders named for a removed app |
| AppData\Roaming | C:\Users\your name\AppData\Roaming | Settings and data that follow your account | Check carefully; this is where profiles and saves often live |
| AppData\LocalLow | C:\Users\your name\AppData\LocalLow | Lower-trust data, often from browsers and some games | Only folders named for a removed app |
| ProgramData | C:\ProgramData | Data shared by every account on the PC | Only a folder clearly named for a removed app; leave Microsoft folders |
| Saved Games and Documents | Your user folder | Game saves and your files | No, these are your files |
Store apps keep their data in a Packages folder inside AppData\Local. Treat that folder as off limits: Windows manages it, and for an app you removed through Settings, Windows normally handles the cleanup itself.
How to open the hidden folders
AppData is hidden by default, so you will not see it until you ask File Explorer to show hidden items. ProgramData is also normally hidden.
File ExplorerViewShowHidden items
- Open File Explorer and go to This PC > Local Disk (C:) > Users > your user name.
You should see your personal folders, such as Documents and Downloads.
- Select View > Show > Hidden items.
You should see a slightly faded folder called AppData appear. If you do not, check that you are inside your own user folder.
- Open AppData. Inside are Local, LocalLow and Roaming.
Shortcuts also work. Press Windows + R and type %appdata% to open Roaming, or %localappdata% to open Local. For ProgramData, type C:\ProgramData into the File Explorer address bar.
Switch it off again
Hidden folders are hidden for a reason. Once you have looked, untick Hidden items so you do not delete something by accident later.
Step 1: uninstall properly first
Every safe clean-up starts with a proper uninstall. Deleting an app's folder by hand leaves its entry in the installed-apps list and can leave the app half-working. Use the route Microsoft documents.
- Close the app Quit it fully, including any icon in the system tray.
- Open Installed apps Settings > Apps > Installed apps.
- Uninstall Select More next to the app, then Uninstall.
- Follow the prompts Choose to keep or remove your data if the app asks.
- Restart Restart the PC so locked files are released.
You should see the app disappear from the Installed apps list. Microsoft notes that some apps cannot be removed from Settings; for those, use Control Panel > Programs > Programs and Features, and some apps built into Windows cannot be uninstalled at all. On Windows 10, the same list is under Settings > Apps > Apps & features, and Windows 10 standard support ended on October 14, 2025.
If the app offers a choice to keep or delete its settings, choose to keep them if you may reinstall, and delete them if you are sure you are finished with the app. If the uninstall fails, jump to the troubleshooting section below, or see our guide on how to uninstall programs completely in Windows.
Step 2: check for leftovers safely
After the restart, you can look for folders the uninstaller missed. The aim is to find only folders that are clearly dead, and to leave everything else alone.
How to tell a leftover folder from a live one
Use this decision tree for each folder you find. If any answer is unclear, stop and leave the folder.
- Is the folder named after an app you have already uninstalled and restarted since?
- No: leave it. It may belong to an app or to Windows.
- Yes: go to the next question.
- Is the same publisher still installed (for example another app by the same company)?
- Yes: leave it. Publishers often share one folder between apps.
- No: go to the next question.
- Could the folder hold your own work, saves, licence or profile?
- Yes or not sure: copy the folder to a backup location first, then continue only if you are sure you do not need it.
- No: go to the next question.
- Is it a few megabytes or less?
- Yes: leaving it costs almost nothing, so you can safely skip it.
- No: it is worth removing. Right-click it and choose Delete, which moves it to the Recycle Bin so you can undo.
Where to look, in order
- Open
C:\Program FilesandC:\Program Files (x86). Look for an empty folder named after the removed app.You should see few or no files inside. If the folder holds files and you have uninstalled the app, the uninstaller may have failed; try the repair steps in the troubleshooting section before you delete.
- Open
%localappdata%and look for a folder with the app's or publisher's name. - Open
%appdata%and do the same. This is the folder most likely to hold settings and saved data, so be most careful here. - Open
C:\ProgramDataand look for a folder with the app's name. Leave the folder named Microsoft and any folder whose owner you cannot name.
Sort each folder by size or open its Properties to see how much space it uses before you decide. Our article on what fills the C: drive and what is safe to delete shows other ways to find the big items.
Do not use "delete everything from this publisher"
A folder named after a company can hold data for several of its apps. If you delete it while one of them is still installed, that app can lose its settings or stop opening. Remove a publisher folder only when every app by that publisher is gone.
Protect saved games, licences and profiles
This is the part that causes real regret. Some apps store things you cannot easily recreate in the same folders that look like clutter.
- Saved games. Microsoft's game development guidance tells developers to put saves in the Saved Games folder rather than AppData, but not every game follows it. Some keep saves in Roaming or Local, and some sync to a cloud account. Before you delete a game's folder, check the game's own cloud-save setting and look in Saved Games and Documents.
- Licences and activation. We could not find an official Microsoft page on where third-party licences live. Many apps tie a licence to your account online, but some keep a licence file in AppData or ProgramData. If you may reinstall, copy the folder out before deleting and keep your licence key or account details.
- User profiles. Browsers, mail clients and editors keep profiles in Roaming or Local. Deleting a profile folder removes bookmarks, saved logins or mail settings.
- Projects and databases. Some apps keep working files in ProgramData or AppData rather than Documents.
The two-minute backup
Before you delete any folder that might hold your data, copy it to a folder on another drive or a USB stick. Keep it for a few weeks. If nothing is missed, delete the copy. For a fuller safety net, see our guide on backing up your Windows PC. If your files sync with OneDrive, our OneDrive sync guide explains what is and is not synced. If your Desktop or Documents folder has moved or gone missing, see how to restore its default location.
If a corrupted user profile is why you are poking around in AppData, read how to fix a corrupt user profile before you delete anything.
Use Storage settings and Cleanup recommendations
For most people, the safer route is the one Windows provides. It shows what takes space and removes only categories Windows considers removable.
- Open Settings > System > Storage.
You should see a bar showing what uses your drive, and a list of categories.
- Select Cleanup recommendations. Microsoft lists categories such as Temporary files, Large or unused files, Files synced to the cloud and Unused apps, with the space each would save.
You should see a size next to each category. Review the items before you tick them.
- Under Unused apps, choose any you no longer want and select the option to remove them.
- Select Clean up only when you are happy with what is ticked.
You can also open Settings > Apps > Installed apps and sort by size to find large apps. Community reports say the sizes shown there do not always add up to the total on the Storage page, so treat the list as a guide, not an exact figure. Storage Sense is a related tool that Microsoft says is off by default and works on the system drive; if it does not run, see Storage Sense not working, and for how it compares with Disk Cleanup see Storage Sense vs Disk Cleanup. The wider list of safe options is in how to free up disk space on Windows 11, and the older Disk Cleanup tool is covered in using Disk Cleanup step by step.
When cleaner software helps
A computer cleaner or PC cleaner program promises to find leftover files for you. Sometimes it can save time, and sometimes it is unnecessary. A fair test is simple.
| Situation | Do you need a cleaner? |
|---|---|
| You removed one app and want its leftovers gone | No. Uninstall it properly and check the few folders yourself. |
| You want to free space on a nearly full drive | Not first. Cleanup recommendations and Storage settings do the safe part for free. |
| You have dozens of old apps and no time to check each | Maybe. A reputable uninstaller can help, but read every item it proposes. |
| A tool promises to make the PC faster by cleaning the registry | No. See the next section. |
If you do use a tool, treat its list as suggestions, not instructions. Our checklist for judging them is in PC cleaner software: a 10-point safety checklist, the red flags are in unsafe system cleanup software, and the big picture is in our PC cleaner overview for Windows 10 and 11. The built-in options are covered in six built-in Windows 11 tools. If a cleaner reports removals but your free space does not move, see why cleaner counts can differ from real space.
The problem with aggressive registry cleaners
Leftover files often come with leftover registry entries, and that is where cleaner software gets aggressive. Many tools offer to delete hundreds of registry entries in one click.
The risk is that the tool cannot know which entries an app, a driver or Windows still uses. A wrong deletion can stop a program opening, break a file association or, in the worst case, stop Windows starting. Microsoft's old support policy page on registry cleaning utilities no longer shows its text, so we cannot quote its current wording. What we can say is that a few leftover entries do no harm, and that deleting the wrong ones can.
Our rule
Do not delete registry keys by hand to remove leftovers, and do not accept a cleaner's "fix all" for the registry. If a tool offers a backup, a restore point is still not a guarantee. Read our article on registry cleaners for Windows 11 before you decide.
If a program will not uninstall
When the Uninstall button fails, is greyed out or an error appears, work through these steps in order. Stop as soon as one works.
- Restart and try again. A pending update or a running process can block it.
You should see the normal uninstall run. If it does not help, go to the next step.
- Use Repair or Reset. Microsoft's page on programs that block installing or removing says to try Settings > Apps > Installed apps > the app > Advanced options > Repair, then Reset, then uninstall.
You should see the options if the app supports them. Reset deletes the app's data, so use Repair first.
- Try Control Panel. Open Control Panel > Programs > Programs and Features and uninstall from there.
- Run the vendor's own removal tool if the publisher offers one. Download it only from the publisher's site.
- Run the Microsoft install and uninstall troubleshooter if it is available for your version.
Messages such as Installer error 1603 or 1605 have their own fixes in Windows 11 app not uninstalling: 9 fixes by error message. If the failure comes with other system errors, repairing system files with SFC and DISM can help. Do not take ownership of protected folders or delete files from Program Files by force: that is how a half-removed app becomes a broken one.
Check how much space you really recovered
Measure before you start and after you finish, the same way each time.
- Open File Explorer and select This PC. Write down the free space under Local Disk (C:).
- Do the clean-up. Empty the Recycle Bin if you deleted folders, because items in it still take space.
- Restart, open This PC again and read the free space.
- For a single folder, right-click it, choose Properties and compare Size with Size on disk. Size on disk is what the folder actually takes on the drive.
How to read your result
Free space went up by a useful amount
- The clean-up was worth it. Keep your backup of anything personal for a few weeks.
It barely changed
- Leftovers were small, which is normal. The space is probably used elsewhere.
- See why a clean-up sometimes frees no space and why the C: drive keeps filling up.
If the folders you tried to delete will not go, they may be in use. See why temporary files will not delete.
What you should never delete
Print or save this checklist. The sourced items come from Microsoft's documentation; the rest is our general safety advice.
- Anything inside the Windows, System32, SysWOW64 and WinSxS folders. Microsoft says deleting parts of WinSxS can stop Windows booting and updating.
- The Program Files folder of any app you still use.
- The AppData folder of any app you still use, and the AppData folder itself.
- The ProgramData folder itself, and ProgramData\Microsoft.
- Package Cache inside ProgramData, which installers may need for repair or uninstall. Our guide to the Windows Installer cache folder explains why cleaners should leave it alone.
- AppData\Local\Packages, the data of Store apps.
- Documents, Desktop, Pictures, Saved Games and your OneDrive folder.
- The Windows.old folder unless you have decided you will not go back to the previous Windows. See how to remove it safely.
- Registry keys, drivers and services you cannot identify.
- Any folder you cannot name the owner of. When in doubt, leave it.
For files that Windows itself creates after updates, use the built-in routes described in what Windows Update leftovers are safe to remove and in our explainer on the WinSxS folder. To clear browser and app caches, see how to clear cache in Windows 11.
Frequently asked questions
Folders and safety
Is it safe to delete the AppData folder?
No, not the whole folder. It holds settings and data for the apps you use, and deleting it can reset or break them. Delete only specific folders that belong to apps you have removed.
Is it safe to delete ProgramData?
Not as a whole. It is shared by every account and holds data Windows and installers use. Remove only a folder clearly named for an app you uninstalled, and leave ProgramData\Microsoft.
Do I need to delete leftover folders after uninstalling?
Usually not. They are small, and Microsoft does not say they must be removed. Check only if space is tight or you want to reinstall the app from scratch.
Will deleting an app's AppData folder remove my saved games or licence?
It can, if the app keeps them there. Many games use the Saved Games folder or a cloud account, but not all do. Back up the folder first.
Tools and results
How do I see the AppData folder in Windows 11?
In File Explorer, open your user folder, then select View > Show > Hidden items. Or press Windows + R and type %appdata%.
Are registry cleaners safe?
We do not recommend them for leftover cleanup. A tool cannot know what Windows or an app still needs, and one wrong deletion can cause problems that are hard to trace.
Should I use a PC cleaner to remove leftover program files?
You can do the job safely without one using Settings and a few folder checks. If you use one, review each item and avoid anything that touches the registry or system folders.
Why did my free space not change?
Leftover folders are often tiny, and the Recycle Bin still holds deleted items until you empty it. Measure with free space in File Explorer, and look at what actually fills the drive.
How this guide was checked
The uninstall steps, Cleanup recommendations, hidden-items route and known-folder locations follow Microsoft Support and Microsoft Learn pages. What each AppData folder commonly holds, and the advice on deleting leftover folders, come from general experience and non-Microsoft guides, and we mark them as such. We found no official Microsoft page on licence files or on the Packages folder. Nothing here was run on a real PC, and no space savings were measured.
For more help, see the PC repair guides on PC Repair Atlas.
Sources
- Microsoft Support: Uninstall or remove apps and programs in Windows
- Microsoft Support: Free up drive space in Windows
- Microsoft Learn: KNOWNFOLDERID (known folder locations)
- Microsoft Learn: Removing stranded files
- Microsoft Support: Fix problems that block programs from being installed or removed
- Microsoft Support: Manage drive space with Storage Sense
- Microsoft Support: Windows 10 support has ended