No software is required to do this only Sound recorder.
On your task bar down in the bottom right corner there should be a Speaker, right click it and click recording devices. Once done this right click and tick Show Disabled Devices. And a recording device called Stereo mix should pop up disabled. To enable it right click it and click Enable. Once done this, search the music you want to record on youtube or anywhere and open up Sound Recorder and record the music while the music is playing.
For a video explanation, Click the link below.
https://www.youtube.com/watch?v=D6A0bYE8VTk
On your task bar down in the bottom right corner there should be a Speaker, right click it and click recording devices. Once done this right click and tick Show Disabled Devices. And a recording device called Stereo mix should pop up disabled. To enable it right click it and click Enable. Once done this, search the music you want to record on youtube or anywhere and open up Sound Recorder and record the music while the music is playing.
For a video explanation, Click the link below.
https://www.youtube.com/watch?v=D6A0bYE8VTk