Following online suggestions for getting PhoneLink working i got to the reinstall phase and uninstalled with powershell but when I go to reinstall I get the error message c:\whatevermanifest not found ...
the folders :
Microsoft.YourPhone_0.0.13313.0_neutral_split.scale-125_8wekyb3d8bbwe
and
Microsoft.YourPhone_1.24032.123.0_neutral_~_8wekyb3d8bbwe
exist in c:\WindowsApps
and i have done
dism /online /cleanup-image /restorehealth etc to restore system files
so at some point or another PhoneLink seems to be in limbo not a store app (or at least can not find it ) or it seems a system program either i.e Not in C:\windows\SystemApps\ ...hence dism not getting it restored
this is the goto command for reinstalling everything (even the crap i really do not want and variations on it for just Microsoft.YourPhone
Get-AppxPackage -AllUsers| Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
and it errors out
OS is 22H2
The original problem was the program will not generate either a pin or QR code