How to connect to Microsoft Windows machine using host name only via Microsoft Remote Desktop I'm using Microsoft Remote Desktop to connect to a Windows 7 laptop. Sometimes it will connect using the laptop's NETBIOS name. Other times it will only connect using the IP address of the laptop.

I'm doing this on my home office network. I have a macOS Sierra on the network and I assume I have to enable WINS or something like that.

How can I always connect to my Windows computers from my Mac using Microsoft Remote Desktop by specifying the host name only, and not having to specify the IP address?
Your best bet is to set up a static DHCP lease in your router and specify the host name.

Since you are using a home network, I am going under the assumption you are using a consumer grade "router" to connect to the Internet.  It's also your DHCP server, your DNS server (repeater), and your WiFi access point.

Somewhere in your router's setup, there is an option for static DHCP leases.  What you do is take the MAC address of your Windows machine, pick an IP address (I like to go outside the pool) and make an entry for a lease.  You can enter a hostname here as well.

The static lease means your device still get's its IP via DHCP, but the DHCP server will always hand out the same IP when requested.  Once you do that, it will cache the DNS host name.  So, from any computer on your home network, you will be able to connect to it.