Windows come with inbuilt X-box One and Microsoft has also given a Screen recording widget along with it called Game Bar, which you can bring up using a simple shortcut Win + G. Windows 10 Game Bar The following Keyboard Shortcuts for the game bar are given in Microsoft website here Windows logo key + G: Open Game bar. Windows logo key + Alt + G: Record the last 30 seconds (you can change the amount of time recorded in Game bar > Settings). Windows logo key + Alt + R: Start/stop recording. Windows logo key + Alt + Print Screen: Take a screenshot of your game. Windows logo key + Alt + T: Show/hide recording timer. You also have the option to add your own shortcuts. To do that, open the Xbox app and go to Settings > Game DVR > Keyboard shortcuts. The following post in beta-news describes the use and usage of Game bar
Tips & Tricks for Software applications