If a misconfigured firewall rule is blocking access to your server, you can disable the Windows Firewall from the rescue environment by editing the Windows Registry.
Warning: Editing the Windows Registry can cause severe system damage if done incorrectly. Follow this guide carefully and only use it to regain access to your server.
Prerequisite: Your server must be booted into the Windows Rescue System and connected via VNC. The VNC session password must be exactly 8 characters long. → Starting rescue mode
On the rescue desktop, open the Registry Editor via Start → Run and type regedit.
RegTemp and click OKIn the left-hand pane, navigate to the following registry key:
Inside this key you will find subkeys for the firewall profiles — typically PublicProfile and StandardProfile. In each of these profile folders, find the value named EnableFirewall and set its data to 0 to disable the firewall.
RegTemp) to select itSkipping this step means your changes will not be written back to the registry file on disk.
After unloading the hive, close the Registry Editor.
Do not reboot from within the rescue environment. Go to your PowerPanel and cancel rescue mode — this reboots the server back into Windows with the firewall disabled, allowing you to reconnect. → Cancelling rescue mode
For more information on Windows Registry editing, refer to the official Microsoft documentation.