Baked into Windows 10 is an Xbox app, which allows you to stream Xbox One games to your PC, shop at the Xbox Store, and record your gaming activity. It's that last item that interests us. The app's Game DVR function can capture your gaming activity, but you can also capture virtually any type of screen activity in Windows 10 and save it as a video clip. Here's how it works.
1- Locate and run the Xbox app
2- With the Xbox app running, jump to the app you want to record and press the 'Windows' key with the letter 'G' (Win + G) to open the Game Bar.
3- Tell the Xbox recording app that you want to open the Game Bar.
4-Once the Game Bar is loaded choose your action, either Screenshot (for a single image capture) or Start Recording (for capturing video).
While you're recording, a small, red recording notification bar will sit at the top of the screen. You can use this to reopen the Game Bar to stop recording. However, I've had this notification bar disappear on me a few times. If this happens, just hit Win + G again to bring the Game Bar back up and stop the recording.
When the Game Bar is loaded it exposes some additional keystrokes for recording and screen capture. You can use these to quickly perform the Game Bar Actions:
Win+Alt+PrtScn - Screen capture
Win+Alt+R - Screen recording
When recording it done, you can find the completed recording file in File Explorer, under This PC\Videos\Captures\. Screen image captures are also saved in this same "Videos\Captures" folder.