VK Cloud logo
Updated at December 20, 2023   05:58 AM

Connecting to a Windows VM

The recommended way to connect to a Windows VM is via the RDP (Remote Desktop Protocol).

1. Check the possibility of connecting via RDP

Make sure that the following conditions are met:

  • the virtual machine is running and the OS boot process has finished;

  • remote access via RDP protocol (TCP port 3389) is allowed in the VM network settings;

  • the VM has an external (“floating”) IP address available for connection.

Instead of an external IP address, you can use the fully qualified domain name of the virtual machine (FQDN). Properly configured DNS records are required to connect using a fully qualified domain name.

If RDP connection to the VM is not possible or unavailable, use the VNC console.

2. Prepare the credentials

To connect to a VM via RDP, you need to know the operating system user name and password.

On the VK Cloud platform, when creating a Windows virtual machine in the operating system, a user is created with the name Admin and a generated password. Use this username and password if the VM was created on a private network. If the VM was created on the ext-net network, before the first connection set a new password.

If the password has been lost, reset or recovery it.

3. Connect to the VM

In Linux, use the Remmina utility to connect via RDP.

  1. Download and install the Remmina client:

    sudo apt-add-repository ppa:remmina-ppa-team/remmina-nextsudo apt-get updatesudo apt-get install remmina remmina-plugin-rdp libfreerdp-plugins-standard
  2. Launch the Remmina client.

  3. Create a new connection:

    1. In the application window, select the protocol: RDP.

    2. Click New connection profile.

    3. In the window that opens, specify the parameters:

      • Name: connection name (for example, VM name).
      • Server: the external IP address or the FQDN of the virtual machine.
      • Username.
      • Password.
  4. Click Save and Connect to connect to the VM. The new connection will be saved in the list.