Skip to content

Latest commit

 

History

History
249 lines (160 loc) · 10.2 KB

File metadata and controls

249 lines (160 loc) · 10.2 KB
title excerpt updated
How to activate and use Windows rescue mode
Find out how to use the OVHcloud rescue system for Windows to troubleshoot your dedicated server
2025-01-28
<style> details>summary { color:rgb(33, 153, 232) !important; cursor: pointer; } details>summary::before { content:'\25B6'; padding-right:1ch; } details[open]>summary::before { content:'\25BC'; } </style>

Objective

Rescue mode is a tool provided by OVHcloud that allows you to boot into a temporary operating system for the purpose of diagnosing and resolving issues on your server.
The functionality of rescue mode in general is described on our guide page:

How to activate and use rescue mode

The option Windows customer rescue system is only available for dedicated servers that have a Windows Server operating system installed. The following conditions apply:

  • The rescue system for Windows (rescue-customer-windows) runs in a virtual machine (VM) launched from the customer rescue system (rescue-customer, based on Debian GNU/Linux).
  • The server disks are attached to the VM with passthrough, so it is possible to access them.
  • Other server components will not be accessible (CPU, RAM, network card, RAID card).
  • The network is mounted with passthrough but without direct access to the network card. The VM carries the IP address and the MAC address of the bare metal server.

Warning

Backing up your data should be the first step in rescue mode if you do not already have recent backups available.

If you have any services still online, rescue mode will interrupt them as the machine is being rebooted into the auxiliary rescue environment.

This guide explains how to boot a server into the Windows customer rescue system.

Requirements

Instructions

Activating rescue mode for Windows

Log in to your OVHcloud Control Panel, open the Bare Metal Cloud{.action} section and then Dedicated servers{.action}.

Click on your server's name to open the General information{.action} tab.

In the General information box, click the button ...{.action} next to Boot. Click on Edit{.action} in the context menu.

Modify boot mode{.thumbnail}

On the page Change the netboot, select Boot in rescue mode{.action}.

Select Windows customer rescue system{.action} in the drop-down menu.

Modify boot mode{.thumbnail width="800"}

The rescue mode notification email including its login details will be sent to the contact email address of your OVHcloud account. To use a different email address, enter it in the field Send new login details to the following email address.

Click Next{.action}.

In the Summary step, click Confirm{.action}.

Summary{.thumbnail}

You should now have a notification regarding the Netboot setting in the General information{.action} tab.

Netboot{.thumbnail}

The final step is to restart the server. Click the button ...{.action} next to "Status" in the Service status box, then click Restart{.action}. Click Confirm{.action} in the popup window.

Reboot{.thumbnail}

This "hard reboot" will take a few minutes to complete. You can check the current status in the tab named Tasks{.action}.

[!primary]

After you have finished your actions in rescue mode, remember to change the Netboot setting back to Boot from the hard disk{.action} before restarting the server.

Accessing your server in rescue mode

Once you have received the email informing you that rescue mode is enabled, you can log on to the Windows rescue mode system and access your server.
This email is also available in your OVHcloud Control Panel as soon as it is sent. Click on the name associated with your NIC handle (Customer ID) in the menu bar in the top right-hand corner, then select Service emails{.action}.

To establish a remote session to the Windows rescue mode system, you will need these credentials:

  • IP address of the server
  • Username of the temporary admin account (Administrator)
  • Password for the temporary admin account

You can use the following connections methods to access your server via the Windows rescue mode system:

  • Remote Desktop Protocol (RDP)
  • KVM over IP (if your server allows it)
  • OpenSSH (official Windows Server component)

RDP

/// details | Unfold this section

To connect, use the Remote Desktop Connection client of Windows or any compatible application.

rdp connection{.thumbnail}

///

KVM

/// details | Unfold this section

From the KVM login screen, you can select a different keyboard language.

KVM Login Screen{.thumbnail width="800"}

KVM Language Screen{.thumbnail width="800"}

You can change the accessibility options and enable the virtual keyboard:

KVM accessibility Screen{.thumbnail width="800"}

KVM keyboard screen{.thumbnail width="800"}

You can find further information in our guide: How to use the IPMI console with a dedicated server

///

SSH

/// details | Unfold this section

Open the command line application on your local device and enter the following command:

ssh Administrator@SERVER_IP

Example:

Enter the temporary rescue mode password when prompted. Example:

[email protected]'s password:
administrator@WINRESCUEOVH C:\Users\Administrator>

Find more information on SSH connections in our SSH introduction guide.
You can also use any SSH connection tool, such as PuTTY.

///

Importing disks to access your files

Once logged in to the Windows customer rescue system, you need to import (mount) the Windows server's disks before you can access the file system.

/// details | Unfold this section

Warning

The following exemplary instructions and screenshots will illustrate the mounting process based on a server with two mirrored disks (RAID1). The details displayed by the Disk Management tool depend on your server's disk configuration.
For additional information, consult the official Microsoft documentation.

If you require professional assistance with server administration, consider the details in the Go further section of this guide.

Windows disk management{.thumbnail}
Right-click on the Start Menu{.action} button and open Disk Management{.action}.
Windows disk management{.thumbnail width="700"}
Disk 0 contains the rescue system (volume C:). The disks of your Windows server will be displayed as Offline.
Windows disk management{.thumbnail}
Right-click on each disk and select Online{.action} from the context menu.
Windows disk management{.thumbnail}
The server disks are now recognized by the rescue system as Foreign, a status indicating in this case that the attached disks belong to a different operating system.
Windows disk management{.thumbnail}
Right-click on a disk and select Import Foreign Disks...{.action} from the context menu.
Windows disk management{.thumbnail}
If applicable, select the disks to import. Click OK{.action}.
Windows disk management{.thumbnail}
Click OK{.action}.
Windows disk management{.thumbnail}
In this example, the two disks of the server are mirrored, therefore the status Resynching will be displayed. This is the normal process; the resynchronisation will continue once the server is rebooted into its installed OS.
Windows disk management{.thumbnail}
To access your files, right-click on the Windows partition of your Disk 1 and select Open{.action} from the context menu.

///

Recommended utilities

[!primary]

Additional software is not preinstalled on the rescue mode system. Below is a list of recommended tools, available from the respective website of their developers.

Software Description
CrystalDiskInfo Disk diagnostics tool
7-Zip Archive management tool
FileZilla FTP client

Exiting rescue mode

In the OVHcloud Control Panel, change the boot mode back to Boot from the hard disk{.action} and confirm.

Netboot Disk{.thumbnail width="800"}

Then use the Restart{.action} function in your OVHcloud Control Panel.

Go further

How to activate and use rescue mode

How to change the admin password on a Windows dedicated server

For specialized services (SEO, development, etc.), contact OVHcloud partners.

If you would like assistance using and configuring your OVHcloud solutions, please refer to our support offers.

Join our community of users.