Remote Desktop
You must enable Remote Desktop on the target computer.
Search for "Allow remote desktop", it's in the system properties somewhere. Turn off the checkbox for "require network auth" or whatever, so you can use u/p.
Then you can use rdesktop on ubuntu. -g lets you match the host, easy way to 4k!
WARNING: it eats Windows key, you have to use Power > Disconnect to get out!
rdesktop hostname.com -g 100% -u admin -p 12345