We've just finished setting up a brand new instance of Windows Server 2016
. It's a dedicated server at a local hosting provider. They left our old server up to give us time to migrate things over.
Everything is migrated now, and I decided to test something on the old server that I want to implement on the new server - I changed the RDP listening port. Now, I facepalmedly didn't take note of the 'note' about configuring the firewall to allow the new port. So essentially I'm now locked out of the old server. Which is not a problem - I was just about to give the provider instructions to nuke it anyway.
The problem is, I'm now too scared to configure the new server's RDP listening port. Would someone be kind enough to offer some advice so that I can avoid a calamity.
I need to a) ensure my config steps are correct and proofread, and b) have a contingency plan.
Regarding a), is this correct:
- (Ask provider to allow the specified port. Old server wasn't behind an external firewall so I didn't need this step.)
- Change RDP listening port as described above.
- Create a 'New Rule' in Windows Firewall's 'Inbound Rules' to allow the TCP port that I specify above.
- Restart server and pray.
Regarding b), what are some things I can do to avoid being locked out? I'm thinking:
- Enable something like LogMeIn beforehand, and disable it once I've made the change successfully.
- Add an RDP listening port instead of changing it, and remove the original listening port once I've made the change successfully.
- Ask the hosting provider to take some sort of image of the disk in case I need to restore it (I really don't want to do this).
edit: We have web apps successfully set up and using ort 443, so my LogMeIn plan should theoretically be a good fail-safe, right?