You could disable remote connection first
Disable Remote Desktop in Windows 8.1 and 8
In Windows 8.1, the Remote Desktop section was eliminated from the Remote tab. To regain this functionality, you download the Remote Desktop app from the Windows Store and install it on your Windows 8.1 computer. After it is installed and set up, to disable it:
Press Windows + X and select System from the list.
Click Advanced System Settings in the left sidebar.
Select the Remote tab and check Don’t Allow Remote Connections to This Computer.
Disable Remote Desktop in Windows 8 and Windows 7
To disable Remote Desktop in Windows 8 and Windows 7:
Click the Start button and then Control Panel.
Open System and Security.
Choose System in the right panel.
Select Remote Settings from the left pane to open the System Properties dialog box for the Remote tab.
Click Don’t Allow Connections to This Computer and then click OK.