Reset Windows Password on OVH

We have a handful of Windows Servers with password expiry policies. This is a short cheatsheet for anyone else encountering ERRCONNECT_PASSWORD_EXPIRED.

Error

xfreerdp +clipboard /u:admin /p:$(pass servers/windows/revenni) /w:1920 /h:1080 /v:xxx.xxx.xxx.xxx:3389
[07:29:36:722] [11626:11627] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[07:29:36:723] [11626:11627] [INFO][com.freerdp.client.x11] - Property 273 does not exist
[07:29:37:285] [11626:11627] [ERROR][com.freerdp.core] - freerdp_set_last_error ERRCONNECT_PASSWORD_EXPIRED [0x0002000E]
[07:29:37:286] [11626:11627] [ERROR][com.freerdp.core.rdp] - rdp_recv_callback: CONNECTION_STATE_NLA - nla_recv_pdu() fail
[07:29:37:286] [11626:11627] [ERROR][com.freerdp.core.transport] - transport_check_fds: transport->ReceiveCallback() - -1

Software Required on debian

apt-get install xfreerdp2-x11 openjdk-11-jre icedtea-netx

Process

  1. Login to OVH’s control panel
  2. Navigate Dedicated Servers -> <server> -> IPMI
  3. Inside the Remote KVM section, click From a Java applet (KVM).
  4. Download the .jnlp file
  5. Run javaws.sh <jnlp-file>
  6. Once you login you’ll be prompted to change the password.

Illustration of Vince

Vince Hillier is the President and Founder of Revenni Inc. He is an opensource advocate specializing in system engineering and infrastructure. Outside of building solid infrastructure that doesn't break the bank, he's interested in information security, privacy, and performance.