Step-by-Step Guide to Removing Location-Tracking Spyware
Spyware that sends your location data can expose where you live, work, travel, or spend time. It may collect GPS coordinates from a laptop, infer location through Wi-Fi networks and IP addresses, or use browser and mobile-device permissions to monitor movement. This type of surveillance can run quietly while consuming few system resources.
The safest response is methodical. Disconnect the affected device from the internet, preserve useful evidence, remove suspicious software, review account access, and revoke unnecessary location permissions. If the infection involves stalking, harassment, domestic abuse, or threats, use a different trusted device when seeking help and avoid alerting the person controlling the spyware.
The instructions below apply mainly to Windows and macOS computers. Menu names can vary by operating system version, so focus on the security function rather than an identical label.
Isolate the Device Before Removing Spyware
Start by disconnecting Wi-Fi and unplugging the Ethernet cable. This can interrupt the transmission of GPS, Wi-Fi, browser, and IP-based location information. Do not connect removable drives or sign in to sensitive services from the suspected computer until it has been checked.
If you need to research removal steps, use a clean phone or another trusted computer. Photograph suspicious pop-ups, unfamiliar applications, and unusual login alerts rather than copying files from the infected device. Keep notes about when the activity began, which accounts may be exposed, and whether the computer is shared with someone else.
Check Location Permissions and Suspicious Applications
On Windows, open Settings > Privacy & security > Location and review which applications can access location services. Disable access for software that does not clearly need it. Also inspect Settings > Apps > Installed apps for recently added programs, unfamiliar remote-access utilities, and applications with vague publishers.
On macOS, review System Settings > Privacy & Security > Location Services. Expand the list and turn off access for unknown or unnecessary applications. Then check System Settings > General > Login Items for programs that launch automatically. Spyware may use a legitimate-sounding name, so search the developer and file location before removing a questionable item.
Do not rely on permission changes alone. A malicious program may collect approximate location through nearby wireless networks, browser data, account activity, or a hidden background service. Continue with a malware scan and persistence check even after location access appears disabled.
Run Security Scans in Safe Conditions
Update the built-in security tools and run a full scan. Windows users should use Microsoft Defender, while Mac users should install system updates and scan with a reputable, current security product. A second-opinion scanner can help identify adware, stalkerware, potentially unwanted programs, and remote-access tools missed by the first scan.
If the spyware prevents security software from opening, restart Windows in Safe Mode with Networking only when necessary. Safe Mode loads fewer third-party processes, which can make removal easier. On a Mac, use the available startup security options for the installed macOS version and avoid downloading tools from pop-ups or unverified websites.
Remove detected threats through the security product first. If a suspicious application remains, uninstall it from the normal system settings, then delete associated browser extensions and restart the computer. Avoid manually deleting random system files because this can damage Windows or macOS and leave the underlying persistence mechanism active.
Remove Persistence and Review Recovery Options
Spyware often returns because it creates startup entries, scheduled tasks, login items, services, browser extensions, or configuration profiles. In Windows, inspect Task Manager > Startup apps, Task Scheduler, and Services for entries linked to the detected threat. On macOS, examine Login Items, configuration profiles, and unfamiliar applications in the Applications folder.
Before changing advanced settings, create a backup of personal documents to a clean, trusted drive. Do not back up executable files, cracked software, unknown installers, or browser extension folders. If System Restore has been disabled or blocked, follow this System Restore guidance before attempting recovery changes.
System Restore may remove recent unwanted changes, but it is not a substitute for scanning. Some spyware survives through altered accounts, browser synchronization, or firmware-level tools, so verify that the device behaves normally after recovery and change important passwords from a clean device.
| Area to check |
Windows examples |
macOS examples |
| Location access |
Settings > Privacy & security > Location |
System Settings > Privacy & Security > Location Services |
| Startup behavior |
Startup apps, Task Scheduler, Services |
Login Items, configuration profiles |
| Browser exposure |
Extensions, notifications, saved permissions |
Extensions, notifications, saved permissions |
| Security scan |
Microsoft Defender and reputable second opinion |
Updated macOS security tools and reputable scanner |
| Final recovery |
Clean backup, updates, reset if necessary |
Clean backup, updates, erase and reinstall if necessary |
Secure Accounts and Connected Devices
Use a clean device to change the password for your primary email account first, followed by cloud storage, social networks, banking, and messaging services. Turn on multifactor authentication with an authenticator application or security key where possible. Review active sessions, trusted devices, recovery addresses, forwarding rules, and unfamiliar app authorizations.
Location spyware may not be the original infection. A phishing message could have installed a backdoor Trojan that allowed further surveillance, credential theft, or remote control. If that may have happened, review these backdoor cleanup steps and treat every account used on the computer as potentially exposed.
Check phones, tablets, smart speakers, family-sharing accounts, and vehicle applications linked to the same identity. Remove unknown tracking applications and review location sharing in Google, Apple, Microsoft, and social-media accounts. Reset passwords individually rather than reusing one new password across multiple services.
Confirm Removal and Decide When to Reset
After cleanup, reconnect the computer briefly and monitor outgoing network activity, battery or processor usage, browser behavior, and unexpected location prompts. Run another full scan after updating the operating system. Check that unfamiliar startup entries, browser extensions, and user accounts have not returned.
A complete reset or clean operating-system installation is often safer when spyware has administrator access, security tools were disabled, files remain encrypted, or the source of the infection cannot be identified. Back up only personal data, record essential license information, and reinstall applications from official sources. Apply system updates before restoring all files and accounts.
Use this checklist to reduce the chance of reinfection:
- Keep Windows, macOS, browsers, and security software updated automatically.
- Install applications only from official stores or verified developer websites.
- Deny location, camera, microphone, and accessibility permissions unless they are necessary.
- Use unique passwords with multifactor authentication and review active sessions regularly.
- Treat unexpected attachments, login pages, remote-support requests, and cracked software as high-risk.
If location data continues to leave the device after cleanup, stop using it for sensitive activity and preserve relevant logs, screenshots, and security alerts. Contact the device manufacturer, a qualified incident-response professional, or local law enforcement when personal safety or stalking is involved. Perform the scans, account reviews, and permission checks promptly so the spyware has less opportunity to continue monitoring you.