Changing the Windows password during first login

Last change on 2021-04-27 • Created on 2020-05-18 • ID: RO-7EA97

Changing the Windows password during first login

If you get the following error message the first time that you access Windows after installation,

Error de

then your client has been negotiating with the server for network level authentication.

However, network level authentication is executed before a remote desktop session has even been created.

That means that you cannot perform the forced password change during the first login.

Temporarily disabling network level authentication

To make the password change take place despite this, you must first temporarily disable network level authentication.

To do this, first, create a RDP file:

Disable network layer auth 1

Disable network layer auth 2

By right-clicking on the file, you can then select Open with. Do this to open the file with Notepad:

Disable network layer auth 3

Disable network layer auth 4

You then need to add the following lines to the bottom of the file:

username:s:Administrator
authentication level:i:2
enablecredsspsupport:i:0

and then you need to save the file.

Disable network layer auth 5

By double-clicking on the edited RDP file, you can now connect to your server and change the password.

From there on you can access your server with network level authentication enabled again.

Table of Contents