For Game Bar, go to Windows settings and click "System" > "Storage". Then, scroll down to "Change where new content is saved". For Icecream Screen Recorder, go to the app's settings, open the "Save to" tab and change the output folders for videos, screenshots, and audio.