Open port for Remote Desktop Windows Server 2012

Create Firewall Rules in Windows 7 thru Windows Server 2012 R2  to allow RDP and ICMP traffic for you have to open “Windows Firewall with Advanced Security” control panel applet.  You can get here by typing “firewall” in the search box near the start button and selecting it from the list (likely on top) or you can go to control panel.

Tested on: Windows 7, Windows 8, Windows Server 2018, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2

Start – Control Panel – System and Security – Windows Firewall – Advanced Settings

Note: You could also get to control panel from the Windows-X drop down menu

Open port for Remote Desktop Windows Server 2012

This will bring up the Windows Firewall with Advanced Security Screen. 

Click on Inbound Rules

Open port for Remote Desktop Windows Server 2012

The easy way to allow Ping is to enable the existing ICMP rules.

Enable ICMP (PING) Existing Rule(s)

You could scroll down and select File and Printer Sharing (Echo Request – ICMPv4-in) – Right Click and Select Enable Rule (Notice you will have one for multiple networks, you can enable the only the Domain network if you are in a domain environment or enable both if you want to enable on private networks also.

Notice there are ICMPv4 and ICMPv6.  If you are using (or plan on using) IPv6 on your network, I would encourage you to “enable” the IPv6 rules as well.

You could also Create a Rule from Scratch but if you do that the default action will be to enable all ICMP traffic instead of just enabling echo requests.  If you want to do that… Create a new rule click on New Rule in the Actions pane (upper right corner) or right click on Inbound Rule and select New Rule.  Select Custom – All Programs – for Protocol select ICMPv4. If you only want to do Echo Requests you will have to click on Customize, select Specific ICMP Types and Enable only Echo Request.  Scope leave at Any Action Leave at Allow the connection. Profile Select the networks you want to have it enabled  (usually Domain) and turn off the ones you do not want to have (usually public). Finally on the Name page of the wizard give it a name like (Allow Ping) and click Finish.   If you scroll to the top of the inbound rules, you should see your new rule there.

Enable Remote Desktop (mstsc) Existing Rule

You could scroll down and select Remote Desktop (TCP-In) – Right Click and Select Enable Rule (Notice you will have one for multiple networks, you can enable the only the Domain network if you are in a domain environment or enable both if you want to enable on private networks also. 

Open port for Remote Desktop Windows Server 2012

If you want to manually create your own rule, you would use the Predefined: Remote Desktop application or open the TCP Port 3389.

If you want to do Remote Administration on your Hyper-V Server you might also want to check out

Install and Configure Hyper-V Tools for Remote Administration.

If you have System Center Virtual Machine Manager (SCVMM) and you want to enable management of that the easy way to do it is to mount the SCVMM ISO or insert  the DVD and run the client application.  It can enable Hyper-V if needed and it can also setup all your firewall rules for you.

If your box is actually the SCVMM machine it is far more complicated. Check out SCVMM and Network Ports We Use for Communication

Cách bật Remote Desktop Window Server 2012

Lỗi không remote desktop được

Open port for Remote Desktop Windows Server 2012
Lỗi không remote desktop được

Ở đây mình dùng Window server 2012

Open port for Remote Desktop Windows Server 2012

Window Server 2012

Bật Remote Desktop

Bước 1:

Remote Desktop là một tính năng cho phép người quản trị có thể dùng để kết nối tới máy tính từ xa để quản lý. Remote Desktop không phải một máy khách mà là một tính năng có trong các phiên bản của hệ điều hành WindowsWindows Server 2012 cũng không ngoại lệ.
Để kích hoạt Remote Desktop trên Windows Server 2012 bạn thực hiện như sau:

  1. Đăng nhập vào Windows với tài khoản quản trị và mở Server Manager từ Taskbar hoặc Start Screen.
    Open port for Remote Desktop Windows Server 2012
  2. Trong cửa sổ Server manager, click Local Server
  3. Trong cửa Local Server, click Disable của Remote Desktop ở khung bên phải.
    Open port for Remote Desktop Windows Server 2012
  4. Khi cửa sổ System Properties mở ra, click Allow Remote Connection to this computer sau đó click Apply và click Ok.
    Open port for Remote Desktop Windows Server 2012
  5. Theo mặc định, tài khoản administrator local có quyền truy cập vào máy chủ từ xa. Ngoài ra, bạn cũng có thể thêm tài khoản có thể Remote bằng cách chọn Select Users… để cung cấp thêm những tài khoản sẽ được truy cập từ xa.

    Bước 2: Allow Remote connection to computer

    Open port for Remote Desktop Windows Server 2012
    Allow Remote connection to computer

    Bước 3:

    Mở Port 3389 FireWall Inbound để máy ngoài có thể truy cập vào

    Open port for Remote Desktop Windows Server 2012
    mở port 3389 firewall
    Open port for Remote Desktop Windows Server 2012
    mở port 3389 firewall
    Have fun!
    -soiqualang_chentreu

How do I open port 3389 on Windows Server 2012?

Click on Windows Firewall With Advanced Security. At Windows Firewall With Advanced Security, click on Inbound Rules >> New Rule. At New Inbound Rule Wizard, Select Port Radio button and click Next. Select TCP/UDP & specify the port you wish to open in Specific Local Ports box OR check All local ports & click Next.

How do I open a port for Remote Desktop?

You can open the Remote Desktop Connection client by going to Run –> mstsc. Simply put, the default port for using the Remote Desktop Protocol is 3389. This port should be open through Windows Firewall to make it RDP accessible within the local area network.

What port must be open for Remote Desktop?

Remote Desktop Protocol (RDP) is a Microsoft proprietary protocol that enables remote connections to other computers, typically over TCP port 3389.

How do I enable RDP on Server 2012?

Open the System Properties: For Windows Server 2012 to Windows Server 2016: ... .
In Computer Information, click Configure Remote Desktop:.
In the System Properties dialog box, under Remote Desktop, click one of the following options: ... .
Review the information in the Remote Desktop dialog box, and then click OK twice..