Computer Name validation for Remote Users in Windows Server 2019 under Workgroup environment

Nitin Parab 1 Reputation point
2021-07-07T08:06:43.347+00:00

I am using Windows Server 2019 under WORKGROUP environment, I need to allow particular computer only (by computer name) connect to my server using remote desktop option .

Remote Desktop
Remote Desktop
A Microsoft app that connects remotely to computers and to virtual apps and desktops.
4,229 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jenny Yan-MSFT 9,321 Reputation points
    2021-07-08T02:03:26.297+00:00

    Hi,

    Usually remote connection is desired to restrict access to users and not computers with options provided via group policy or the UI screen.

    Per shearching, some users are discussing about the settings of Windows Firewall rule, which has the choice to restrict remote computers.

    I did a quick test by creating Windows Firewall inbound rule of "incoming TCP port 3389 on an Always Secure ".

    However, it is only managed in domain environement because when in workgroup, there is no method to add other computer name when the location is dedicated to the remote computer.
    112724-1.png
    112816-2.png

    Therefore, it seemed that we are unable to restirct via computer names when in Workgroup when configuring Firewall rule.

    But if your devices have fixed IP address, you may try to restrict the remote access by IP address, which could be modified below:
    112725-3.png

    ----------

    Hope this helps and please help to accept as Answer if the response is useful.

    Thanks,
    Jenny

    0 comments No comments

  2. Nitin Parab 1 Reputation point
    2021-07-08T05:38:29.727+00:00

    Thanks for your reply but I am looking above query in WORKGROUP environment and with Client Computer Name. Please let me know if this will possible with any other way like any code or any other free utility, as earlier I used some utility (SecuredRDP - 2X) on Windows Server 2003 but that will not working on Windows Server 2019.