Windows Gamebar Record Desktop and not a window

Solution 1:

The game bar only records a window and not the desktop. I want the game bar to record my desktop.

At this time, this is not supported (i.e. it can only record individual applications).

When a window is being recorded and I minimize the window the recording stops. I want the recording to continue, how can this be achieved?

This The Verge article from April 2020 states:

Open up the application window you want to record. It may help to close or minimize other windows to avoid accidentally recording the wrong one.

This would seem to imply that recording minimized windows is, again, unsupported at this time.