How do I enable the Xbox game bar on Windows 10?

How to enable the Windows 10 Game Bar
  1. Open the Settings menu by clicking the cogwheel in the Start Menu.
  2. Select Gaming in the Settings Menu.
  3. Select Game Bar.
  4. Make sure it’s set to On as pictured above.