I use OBS. It's mainly a streaming software, but it can also record either the screen, the game, or multiple windows at once (if you want to show your d2stats window for example). It just needs a bit time of setting up, but once you're done with that, it should work just fine. The advantage is that you are not limited in any way, like for example when you use bandicam, which is limited to 10 minutes or something like that. It also doesn't use much RAM, so it should work on any PC.