Open File Explorer.
Paste this into the Address Bar and press Enter.
%LOCALAPPDATA%\Microsoft\Media Player
The resulting Media Player folder contains all your user settings for star ratings, genre labels and organization... etc.
Copy that Media Player folder out onto a USB drive.
Then on your PC, copy that Media Player folder into the exact same location.
That process should copy over all your Windows Media Player user data to the new PC.