It sounds like you are experiencing some issues with using dual displays on your Asrock H470 Mini-PC running Windows 10 64-bit. I'll try to address your questions:
1. To ensure that your primary HDMI display stays as the primary display after expanding the view, you can try adjusting the display settings in Windows. Here's how you can do it:
a. Right-click on your desktop and select "Display settings" from the context menu.
b. In the Display settings window, scroll down to the "Multiple displays" section.
c. Select the display that you want to be the primary display (in this case, the HDMI display).
d. Scroll down to the "Multiple displays" section and check the box next to "Make this my main display."
e. Click on the...