-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Phone Link Application ID in config/tweaks.json. #2514
Update Phone Link Application ID in config/tweaks.json. #2514
Conversation
I just looked in WinGet and none of them seem to be any packages. |
Hello, @Real-MullaC! I double-checked, and the application ID you mentioned is part of the WPFTweaksDeBloat function. Microsoft.YourPhone is not an installable app; it's a system-level app meant to be removed when you select "Remove All MS Store Apps" in the "Tweaks" tab. I hope this clarifies things! |
The tweaks file is used to run Winget commands to install and unistall apps. And I have had a look and none of the variables you entered and deleted are within WinGet. |
Hi @Real-MullaC, The application IDs you’re asking about are handled by the To clarify:
I’ve attached the relevant output of I hope this helps further clarify things! |
If you looked more closely into the fellow scripts you will find Winget is used for them. To uninstall the packages. |
Hi @Real-MullaC, I understand your point, but I’d like to clarify that WinGet is not used for uninstalling .appx/.appxbundle or .msix/.msixbundle packages. The WPFTweaksDeBloat function in this script operates through PowerShell commands like Remove-AppxPackage/Remove-AppxProvisionedPackage to handle these types of packages, which are not managed by WinGet. For uninstalling applications managed by WinGet, the tool is indeed utilized, but this does not apply to .appx/.appxbundle or .msix/.msixbundle files, which are handled separately using the Appx PowerShell module. Given the complexity of this subject, I think it would be best if another reviewer with more knowledge of the project takes a look at the changes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @Cryostrixx
After further looking into your changes, and checking if AppX IDs match with what's found on Windows 10 & 11... I can say that indeed the new ID for YourPhone
App is found in AppX Packages List, plus the AppX ID Microsoft.CommsPhone
is either a deprecated package, or a simple typo made while making this list, therefore removing it from this list is best course of action, at least IMHO.
For anyone who want to verify this as well, run the follow command inside a PowerShell Terminal running as Admin:
Get-AppxPackage -AllUsers | where { $_.Name -Like "*Phone*" }
The output should be something like:
RunspaceId : A-GUID-HERE
Name : Microsoft.YourPhone
Publisher : CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US
PublisherId : 8wekyb3d8bbwe
Architecture : X64
ResourceId :
Version : 1.24062.101.0 <-- This could be different depending on the version of installed 'YourPhone' app
PackageFamilyName : Microsoft.YourPhone_8wekyb3d8bbwe
PackageFullName : Microsoft.YourPhone_1.24062.101.0_x64__8wekyb3d8bbwe
InstallLocation : C:\Program Files\WindowsApps\Microsoft.YourPhone_1.24062.101.0_x64__8wekyb3d8bbwe
IsFramework : False
PackageUserInformation : {S-AN-ID-DIFFERENT-FROM-ONE-PC-TO-ANOTHER [YOUR-PC-NAME\YOUR-USERNAME]: [Installed|Uninstalled]}
IsResourcePackage : False
IsBundle : False
IsDevelopmentMode : False
NonRemovable : False
Dependencies : {Microsoft.VCLibs.140.00.UWPDesktop_14.0.33728.0_x64__8wekyb3d8bbwe, Microsoft.WindowsAppRuntime.1.5_5001.178.1908.0_x64__8wekyb3d8bbwe,
Microsoft.VCLibs.140.00_14.0.33519.0_x64__8wekyb3d8bbwe, Microsoft.YourPhone_1.24062.101.0_neutral_split.language-ar_8wekyb3d8bbwe…}
IsPartiallyStaged : False
SignatureKind : Store
Status : Ok
Thanks for your contribution to WinUtil, and my apologies for any inconvenience(s) you may've faced during the review process...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fantastic
Pull Request
Title
Update Phone Link Application ID in config/tweaks.json.
Type of Change
Description
Change ID Microsoft.WindowsPhone to Microsoft.YourPhone and remove invalid ID Microsoft.CommsPhone in the WPFTweaksDeBloat function.
This fixes an issue where Phone Link was not getting uninstalled correctly when debloating the system using the Remove ALL MS Store Apps tweak.
Testing
Tested the change locally by running the compiled script and confirming that the Phone Link (Your Phone) application was correctly removed.
Impact
This change ensures the WPFTweaksDeBloat function uninstalls the correct Phone Link application and eliminates the redundant Microsoft.CommsPhone entry.
Issue related to PR
None.
Additional Information
None.
Checklist