This was a fix to a parent's pc so I do not have the pc in front of me, but what I recall doing (and probably frowned upon).
Deleted gameplatformservices.dll (yes you cannot run the command line but you can still delete system files! lol)
Rebooted
Went into settings and turned off the xbox app.
Kind of a hack but it worked.
yes it worked for me thank you