Please note that our forum is a public platform, and we will modify your question to hide personal information in the description. Kindly ensure that you hide any personal or organizational information the next time you post an error or other details to protect personal data.
Based on the screenshots, the Xbox app is currently configured to install games to C:\XboxGames. The files appearing on F: may be leftover drive-registration data rather than the actual game installation.
As a first step, open the Xbox app and select Profile picture > Support > Drive compatibility tool, complete the checks, and restart the PC. If available, also run Gaming Services Repair Tool > Start Troubleshooting.
I would avoid reinstalling Windows for now. Could you confirm whether the actual game files and storage usage appear on F:, or whether only the empty XboxGames folder and.GamingRoot file return?