I have one PC set up a a Plex Media Server, Running Win 11 "headless",ie: no monitor, keyboard, mouse, etc. I get into it via remote desktop, or to add files it's got drives mapped to my main desktop PC.
to keep the "server" from doing what you're describing, I had to download the "windows...