Cannot RDP to server after enabling Windows Firewall

SirDarknight

Distinguished
Jun 5, 2013
116
1
18,685
I use Windows 10 on my dedicated server, earlier today while I was connected, I stupidly re-enabled my firewall and it cut me off, now I cannot connect anyhow. The server support doesn't provide software support. So, is there anything I can do?
 
Solution
Is the server on your LAN or not? I cant tell from your posting. If it is you could try tools like PSExec and use the command "psexec \\REMOTECOMPUTERNAME cmd", Which would open up a CMD prompt on the server (doing so with your credientials but you can specify other creds if needed, and do the following command "NetSh Advfirewall set allprofiles state off"

Or for something simpler use this
http://searchenterprisedesktop.techtarget.com/photostory/4500257332/Top-Windows-command-line-commands/6/Check-Windows-Firewall-status-with-netsh-advfirewall-show-allprofiles

To then fix the issue you will need to allow traffic on port TCP 3389 inbound from whatever LAN's need to access the server.
Is the server on your LAN or not? I cant tell from your posting. If it is you could try tools like PSExec and use the command "psexec \\REMOTECOMPUTERNAME cmd", Which would open up a CMD prompt on the server (doing so with your credientials but you can specify other creds if needed, and do the following command "NetSh Advfirewall set allprofiles state off"

Or for something simpler use this
http://searchenterprisedesktop.techtarget.com/photostory/4500257332/Top-Windows-command-line-commands/6/Check-Windows-Firewall-status-with-netsh-advfirewall-show-allprofiles

To then fix the issue you will need to allow traffic on port TCP 3389 inbound from whatever LAN's need to access the server.
 
Solution


Nope, it's a server from Hetzner, it's located in Finland and I live in Asia.

 
Well that is a security problem waiting to happen. Running windows RDP over the internet is insecure enough, but leaving firewall completely down for an internet facing server is like taping the keys of your car to the outside driver window.

Since you said their support will not go in and disable the firewall for you then you are going to have to either restore from a backup (if this is even an option, and if a backup was actually ever made), or go through whatever process you need to do to completely wipe the server and start over.

After you do get yourself back up and running you need to create a rule to allow RDP instead of leaving the firewall off. You dont remove the doors because you dont have a key to the locks that came on the house, you replace the locks.
Frankly you should be using VNC or something like Teamviewer for remote connection anyways as windows RDP is highly insecure.
 


But I DO have a firewall provided by my server.
 


According to what you wrote in your post you leave it off "I stupidly re-enabled my firewall".
Any logical conclusion based off of that information is that you leave your internet hosted server with firewall off.