Cherry Servers

How to Access a Windows Server from Windows and Linux, and Change User Passwords

In this guide, we'll walk through how to access a Windows server from both a Windows PC and a Linux machine using Remmina. After successfully accessing the server, we will cover how to change a user password for yourself, or for another user if you have administrative privileges, through Computer Management, PowerShell, and the Command Prompt.

#Instructions to Access a Windows Server

#Step 1: Accessing the Windows Server

A server running a Windows OS can be accessed from any system using their native access methods. This step will cover accessing your Windows server via Windows and Linux machines.

#From Windows Using Remote Desktop Connection (RDP)

  1. Open Remote Desktop Connection.

    • Option 1 - Press Windows + R to open the Run dialog, type "mstsc", and press Enter to open Remote Desktop Connection.
    • Option 2 - Click on the Start menu and search for "Remote Desktop Connection" in the search bar. Select the Remote Desktop Connection application from the search results.
  2. Enter the Windows Server IP Address.

    In the Computer field, input the IP address or hostname of the Windows server. You may also click Show Options and enter your username for convenience. Then click "Connect".

  3. Enter Credentials.

    A prompt will appear requesting your username and password. If you receive a certificate warning, click may safely select “Yes” to proceed.

  4. You are now logged into the Windows Server and can interact with its desktop.

#From Linux Using Remmina

  1. Install Remmina (if not already installed).

    • On Ubuntu/Debian, install using:
    Command Line
    sudo apt install remmina remmina-plugin-rdp
    
    • On Fedora, use:
    Command Line
    sudo dnf install remmina
    
    • On Arch Linux, use:
    Command Line
    sudo pacman -S remmina
    
  2. Launch Remina.

    Open Remmina from your applications menu or run remmina from the terminal.

  3. Select RDP and Enter the IP Address.

    In the main Remmina window, select RDP from the protocol dropdown. Enter the IP address or hostname of the Windows Server in the field next to the RDP dropdown, and press Enter.

  4. Enter credentials.

    After pressing Enter, a pop-up window will appear asking for your username and password. Enter your credentials in the field provided. Click "OK", and "Accept" on the Certificate Warning, if prompted.

  5. Access the server.

    Once connected, you will have full access to the Windows Server desktop.

#Step 2: Change a User's Password on the Windows Server

Once logged into the Windows Server, whether from Windows or Linux, you can change any user's password, as long as you have administrative privileges.

#Method 1: Change Password Using Computer Management

  1. Open Computer Management.

    Press Windows + X and select Computer Management from the menu.

  2. Access Local Users and Groups.

    In the Computer Management window, expand Local Users and Groups on the left. Click on "Users" to see the list of users on the server.

  3. Select the user:

    Find the user whose password you want to change, right click the username and select "Set Password".

  4. Set the new password:

    A warning will appear explaining potential data loss if the user has encrypted data. Click "Proceed". Enter the new password and click "OK" to confirm the change.

#Method 2: Change Password Using PowerShell

  1. Open PowerShell. Press Windows + X and select Windows PowerShell (Admin).

  2. Use the command to change the password: Enter the following command to change the password. Replace "target_username" with the user’s name and follow the prompt to input the new password:

    Command Line
    $username = "target_username"
    
    $newPassword = Read-Host -AsSecureString "Enter the new password for $username"
    
    Set-LocalUser -Name $username -Password $newPassword
    
  3. Password change complete.

    The password will be updated after you enter the new password and confirm.

#Method 3: Change password using Command Prompt

  1. Open Command Prompt.

    Press Windows + X and select Command Prompt (Admin) or search for "cmd".

  2. Change the password.

    Run the following command, replacing "username" with the user’s name and "newpassword" with the desired password:

    Command Line
    net user username newpassword
    
  3. Password Change Complete:

    You’ll see a confirmation message that the command was successful.

    OutputThe command completed successfully.
    
No results found for ""
Recent Searches
Navigate
Go
ESC
Exit
We use cookies to ensure seamless user experience for our website. Required cookies - technical, functional and analytical - are set automatically. Please accept the use of targeted cookies to ensure the best marketing experience for your user journey. You may revoke your consent at any time through our Cookie Policy.
build: 920a9a1ae.1622