Xbox Account Game Share Guide
How to use Xbox game share to install and play games on your console from a pre-loaded Xbox account.
The below settings may vary slightly depending on which generation console you are using.
Launch Xbox Menu

Startup your Xbox and sign in to your Xbox account. Press the Xbox button on your controller to launch the menu.
Navigate To Profile & System Tab

Navigate to the Profile & System tab using the RB and LB bumpers on your controller and select Add or switch.
Select Add New

When asked “who are you?”, select add new.
Sign In

Sign in with the pre-loaded account email address and password.
When you log in to the pre-loaded Xbox account you may be asked to enter a security code sent to the recovery email address.
To obtain the security code:
Go to this website.
Enter the first part of the recovery email address (provided with your order).
The security code email should be listed containing the security code.
Return To Profile & System Tab

Next, go back to the Profile & System tab and select Add or switch again. Then select the pre-loaded account.
Go To Settings

Now press the Xbox button on your controller again. As before, go to Profile & System, but this time select Settings.
Go To Personalization Settings

Select General in the left-hand menu and select Personalization.
Set As My Home Xbox

Now select My home Xbox.
Make this my home Xbox

Click Make this my home Xbox.
Return To Profile & System Tab

Next, go back to the Profile & System tab and select Add or switch again. Then select your main Xbox account.
Xbox Games Library

The game from the pre-loaded Xbox account will now be available for you to download and install on your main Xbox account in the games library.
Secure The Account
Finally, you must change the password and recovery details of the pre-loaded Xbox account to secure it and prevent any un-authorized access.
To do this go to: https://account.microsoft.com/security
Sign in with the pre-loaded Xbox account details, you may need to enter a security code sent to the recovery email.
Once signed in, change the recovery email address (you must be able to access the email address to receive security codes) and change or remove the recovery phone number, finally change the password.