WARNING! This script will attempt to forcefully remove the Phone Link (YourPhone/PhoneExperienceHost/CrossDeviceExperience) application, related components and registry entries from your system. While designed to be thorough, using this script may have unintended consequences or might not completely remove all traces depending on your system configuration and Windows version. Use this script at your own risk. The author is not responsible for any damage caused.
- Phone Link / Your Phone (
Microsoft.Windows.PhoneLink,Microsoft.YourPhone) - Phone Experience Host (
Microsoft.PhoneExperienceHost) - Cross Device Experience Host (
MicrosoftWindows.CrossDevice) - AppX packages for all users on the machine
- Provisioned packages so the apps are not reinstalled for new users
- Scheduled tasks related to Phone Link and Cross Device
- Startup entries in common Run registry keys (current user and machine-wide)
- Leftover folders in the current user's
%LOCALAPPDATA%\Packages - Registry leftovers for the current user, including Your Phone settings, the
ms-yourphoneprotocol handler, and related notification/background-access keys
- AppX and provisioned package removal applies to all users.
- Folder cleanup, most registry cleanup, and per-user startup entries apply to the currently logged-in user profile only.
- Machine-wide startup entries under
HKLMare also checked.
- Download the zip from Releases
- Unzip
- Run
start.bat
If you prefer a graphical, general-purpose uninstaller, Uninstalr is worth considering. It supports Microsoft Store apps and leftover scanning. This script remains focused specifically on removing Phone Link and its related components.
Major inspiration for the powershell script taken from UninstallOneDrive & UninstallTeams by asheroto.