Gamebar.exe is a virus-free programme. It's a real Microsoft software that takes care of the background procedures that allow the Xbox Game Bar to function. Malware that tries to pass itself off as Xbox Game Bar has been detected by a limited number of users.