Quick answer
On a Mac, drag the app from /Applications to the Trash, or run its own uninstaller if it has one. Then remove its leftover folders in ~/Library, such as Caches and Preferences, but never com.apple. items. On Windows, use Settings > Apps > Installed apps > Uninstall, and skip registry cleaners.
On this page
Removing apps you no longer use is one step in what to delete when a Mac is full. On a PC, it is part of what fills a Windows C: drive.
Where apps and their leftovers are
Settings and data that an app wrote often stay after an uninstall. These are the places to look.
Mac
/Applicationsand~/Applications: the apps themselves, one.appbundle each.~/Library/Application Support: app data. Apple's developer guide says it can include files that contain user data.~/Library/Caches: data the app can re-create.~/Library/Preferences: settings files, named after the app's bundle ID, for examplecom.example.MyApp.plist.~/Library/Containersand~/Library/Group Containers: data of sandboxed apps, and data that apps from one developer share.~/Library/LaunchAgents: background helpers that start when you log in.~/Library/Saved Application State: the windows an app reopens at its next launch.
The ~/Library folder is hidden. In Finder, choose Go > Go to Folder, type ~/Library and press Return.
Windows
%APPDATA%(AppData\Roaming) and%LOCALAPPDATA%(AppData\Local): per-user settings, data and caches.%USERPROFILE%\AppData\LocalLow: data of apps and games that run with low rights.C:\ProgramData: data that a program shares between all users. Microsoft's known-folder list gives its default path as%ProgramData%.HKEY_CURRENT_USER\Software: per-user settings in the registry.
Which leftovers are safe to remove
Remove a leftover only after the app itself is gone. Folders are usually named after the app, its developer, or its bundle ID.
| Path | What it is | Safe to delete | What happens if you delete it | How to clean it |
|---|---|---|---|---|
/ | The app | Yes | The app is gone; documents you saved elsewhere stay | Its uninstaller, or drag it to the Trash |
~/ | App data | Careful | Local projects, libraries or downloads inside it are lost | Look inside first, then move it to the Trash |
~/ | App cache | Yes | Nothing you need; the space comes back | Move it to the Trash |
~/ | App settings | Yes | A reinstalled app starts with default settings | Move it to the Trash |
~/ | Data of a sandboxed app | Careful | Files the app kept inside its container are lost | Check for documents first |
~/ | Data shared by apps of one developer | Careful | Other apps from that developer can lose data | Remove only when all of them are gone |
~/ | Helper that starts at login | Yes | The helper no longer starts | Move it to the Trash, then restart |
~/ | Saved window state | Yes | Nothing you need | Move it to the Trash |
%APPDATA%\ and %LOCALAPPDATA%\ | Settings, data and caches | Careful | Settings and local data that exist nowhere else are lost | Delete the folder; it goes to the Recycle Bin |
C:\ | Data shared by all users | Careful | Other users of the PC lose that app's data | Delete as administrator, only for removed apps |
%LOCALAPPDATA%\ | Microsoft Store app data | No | The app resets if it is still installed | Windows removes it when you uninstall the app |
HKEY_CURRENT_USER\ | Settings in the registry | No | A wrong edit can break Windows or other apps | Leave it; it is small |
How to uninstall an app on a Mac
Use the method the developer provides first. Quit the app before you start.
- Open Finder and click Applications in the sidebar.
- If the app is in its own folder, open the folder and look for an uninstaller, such as "Uninstall
". If there is one, double-click it and follow its steps. Apps that install drivers, system extensions or background services often need it. - If there is no uninstaller, drag the app to the Trash, or select it and press Command-Delete.
- If macOS asks for a user name and password, enter those of an administrator account on the Mac.
- Choose Finder > Empty Trash.
You can also start from Storage settings. Choose Apple menu > System Settings > General > Storage, open Applications, select the app you no longer use, and click Delete. If your Mac has Launchpad, apps from the App Store show a delete button there when you press and hold an icon.
How to remove Mac leftovers by hand
- Find folders that carry the app's name. This command only lists them and deletes nothing:
find ~/Library -maxdepth 2 -iname "*appname*" 2>/dev/null- Replace
appnamewith part of the app's name or of its developer's name. - In Finder, choose Go > Go to Folder and open each folder from the list.
- Move the folders of the removed app to the Trash. Skip any folder that holds documents you still want.
- If you removed a file from
~/Library/LaunchAgents, restart the Mac. - Check that your other apps still work, then empty the Trash.
The launchd manual describes ~/Library/LaunchAgents as per-user agents provided by the user. The matching folders in /Library hold agents and daemons that an administrator installed, and they run for every user. Remove items there only with the app's own uninstaller.
What not to touch on a Mac
- Any file or folder whose name starts with
com.apple.. These belong to macOS and Apple apps. - iCloud and account caches in
~/Library/Caches, such ascom.apple.birdandCloudKit. The guide to ~/Library/Caches lists them. - Anything in
/System, and folders in/Librarythat you cannot match to the app you removed.
How to uninstall a program on Windows
- Select Start > Settings > Apps > Installed apps. On Windows 10, the page is Apps > Apps & features.
- Find the program. Select More (...) next to it, then select Uninstall.
- Confirm, and follow the program's uninstaller if it opens.
The classic Control Panel list still works. Press Windows logo key + R, type appwiz.cpl and select OK. Programs and Features opens. Select the program and select Uninstall.
To uninstall from a terminal, use WinGet. It also removes programs that you did not install with it:
winget list
winget uninstall --name "Example App"Never delete a program's folder in C:\Program Files instead of uninstalling it. Windows lists programs from values that the installer writes under an Uninstall registry key, so the entry and the program's other files stay behind.
Windows also keeps installer data that it needs for clean removals; see why C:\Windows\Installer is large.
Why Windows programs leave files behind
Microsoft's guidance tells developers of classic desktop programs to remove their files, folders and registry entries at uninstall, and to offer the option to keep the user's data. Each program does this its own way, so many leave folders in AppData and ProgramData.
Microsoft Store and other MSIX-packaged apps are different. Microsoft says that when you uninstall a package, Windows removes the package files and the AppData and registry writes it captured for that app.
To clean leftovers of a classic program:
- Check that the program is gone from Installed apps.
- Press Windows logo key + R, type
%appdata%and select OK. Look for a folder with the program's or the developer's name. - Do the same for
%localappdata%and%programdata%. - Delete only the folder of the removed program. A developer folder, such as
GoogleorMicrosoft, can also hold apps you still use. - Empty the Recycle Bin when you are sure nothing broke.
The AppData and Temp guide explains what Local, LocalLow and Roaming hold.
Why registry cleaners are a bad idea
Microsoft does not support the use of registry cleaners. Its support policy also says that Microsoft is not responsible for issues caused by a registry cleaning utility.
Microsoft's developer documentation notes that uninstallers traditionally cannot clean HKEY_CURRENT_USER for users who are logged out, so a few keys can stay. Let uninstallers and Windows manage the registry.
How KemptDesk handles this
On a Mac, the Applications page lists apps in /Applications and ~/Applications with size, last use and leftovers. Leftovers are matched by bundle ID in twelve ~/Library folders, including Application Support, Caches, Containers, Group Containers, Preferences, LaunchAgents and Saved Application State. Untick any leftover to keep it; the app and the rest go to the Trash. Apps that are part of macOS are locked. Hidden space marks app data with no installed app as Check first. On Windows, KemptDesk runs WinGet first, then the program's own uninstaller, in a visible PowerShell window. It does not delete program folders or list Windows leftovers, and never touches the registry.
Questions
Does dragging an app to the Trash uninstall it on a Mac?
Yes, for most apps. The settings, caches and data in ~/Library stay, and apps with their own uninstaller can leave helpers running unless you use that uninstaller.
Is it safe to delete Application Support folders of apps I removed?
Usually, but look inside first. Apple says Application Support can include files that contain user data, such as libraries or projects you may want to keep.
Should I use a registry cleaner after I uninstall a program?
No. Microsoft does not support registry cleaners, and leftover keys use very little space.
Why is a program still in Installed apps after I deleted its folder?
The list comes from the program's registry entry, not from its folder. Try Uninstall in Installed apps or winget uninstall; if the uninstaller is missing, install the program again and then uninstall it.
Sources
- Delete or uninstall apps on Mac (Apple Support)
- Change Storage settings on Mac (Mac User Guide)
- macOS Library directory details (Apple File System Programming Guide)
- Accessing files from the macOS App Sandbox (Apple Developer)
- launchd(8) man page
- defaults(1) man page
- Uninstall or remove apps and programs in Windows (Microsoft Support)
- Windows application development best practices (Microsoft Learn)
- Understanding how packaged desktop apps run on Windows (Microsoft Learn)
- uninstall command, WinGet (Microsoft Learn)
- Canonical names of Control Panel items (Microsoft Learn)
- Windows Installer properties for the Uninstall registry key (Microsoft Learn)
- Known folder IDs (Microsoft Learn)
- Microsoft support policy for the use of registry cleaning utilities (Microsoft Support)