Rescue Mode

How can we help?

Guides and technical documentation for your Server4You dedicated server or VPS.

Disable the Windows Firewall in Rescue Mode

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.

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

Step 1: Open the Registry Editor

Launch regedit from the rescue desktop.

On the rescue desktop, open the Registry Editor via Start → Run and type regedit.

Step 2: Load the System Registry Hive

Load your server's main registry into the rescue environment's editor.
1.In the left-hand pane, click on HKEY_LOCAL_MACHINE to select it
2.From the menu, choose File → Load Hive...
3.Navigate to your Windows system drive (its drive letter in the rescue system may differ from C:) and open the following file:
Terminal
C:\Windows\system32\config\SYSTEM
4.When prompted for a key name, enter a temporary name such as RegTemp and click OK

Step 3: Locate and Disable the Firewall

Navigate to the firewall policy settings and set EnableFirewall to 0.

In the left-hand pane, navigate to the following registry key:

Terminal
HKEY_LOCAL_MACHINE\RegTemp\ControlSet001\Services\SharedAccess\Parameters\FirewallPolicy

Inside this key you will find subkeys for the firewall profiles — typically DomainProfile, PublicProfile and StandardProfile. In each of these profile folders, find the value named EnableFirewall and set its data to 0 to disable the firewall.

Step 4: Unload the Hive

Save your changes by properly unloading the registry hive.
1.In the left-hand pane, click on your temporary key (RegTemp) to select it
2.From the menu, choose File → Unload Hive... and confirm

Skipping this step means your changes will not be written back to the registry file on disk.

Step 5: Reboot

Close the Registry Editor and cancel rescue mode via the PowerPanel.

After unloading the hive, close the Registry Editor.

Further Documentation

For more information on Windows Registry editing, refer to the official Microsoft documentation.