Run gpedit.msc
Local Computer Policy -> Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Licensing
"Use the specified RD license servers" = %myservername%
"Set the Remote Desktop licensing mode" = set your desired option