Admin Login

How to Change or Reset a Domain Password (and What to Do If You Forgot It)

Changing an Active Directory domain password, resetting a forgotten one, PowerShell and net user commands, and the old-password problem on remote laptops.

The password you use to sign in to a work computer is not the computer's own password. It is the password of your account in the organization's Active Directory domain, which is why it is called a "domain password". The same password usually works for email, VPN, file shares and internal applications.

This article covers what users can do first, then what IT can do.

If you know your password: how to change it

On a Windows computer on the company network (or connected to the VPN):

  1. Press Ctrl + Alt + Delete.
  2. Choose Change a password.
  3. Enter your old password, then the new password twice.

The password changes directly on the domain controller. Afterwards, update the places that remember the old password, such as your mail client, the work mail account on your phone and saved Wi-Fi. Otherwise these devices keep trying the old password and your account may get locked out.

"The password does not meet the password policy requirements"

This error means the new password does not match the organization's password policy. The usual reasons:

  • Length: shorter than the minimum the organization set.
  • Complexity: it does not contain at least three of uppercase, lowercase, digits and special characters, or it contains your username.
  • Password history: it is one of your recent passwords.
  • Minimum password age: you already changed your password today. Most organizations do not allow more than one change per day.

If you forgot your password

Without the old password, Ctrl + Alt + Delete cannot change it. There are two ways forward:

  • A self-service password reset portal: if your organization has one, you enter your username, verify yourself with a code sent to your registered phone, and set a new password yourself, without waiting for IT.
  • The IT help desk: resets your password to a temporary one that you must change at next sign-in. A secure help desk does not reset a password without verifying who you are.

For IT: how to reset a domain password

Active Directory Users and Computers: right-click the user, choose Reset Password, enter a temporary password and tick "User must change password at next logon". If the account is locked, also tick "Unlock the user's account" on the same screen.

PowerShell:

Set-ADAccountPassword -Identity ahmet.yilmaz -Reset -NewPassword (Read-Host -AsSecureString "Temporary password")
Set-ADUser -Identity ahmet.yilmaz -ChangePasswordAtLogon $true
Unlock-ADAccount -Identity ahmet.yilmaz

Command line (net user):

net user ahmet.yilmaz * /domain

The asterisk makes the command prompt for the password without echoing it. Run it on a domain-joined computer with an account allowed to reset passwords.

How to change a domain admin password

Domain administrator passwords change the same way, with two differences:

  • These accounts should not be reset through a self-service portal or the help desk. Another domain administrator should make the change from a secure admin workstation.
  • If the account is used by services or scheduled tasks (it should not be, but it often is), those will stop when the password changes. Check where the account is used before changing it.

A remote laptop will not accept the new password

After a password change, a laptop outside the company network still remembers the old password, because it signs in with the last known password when it cannot reach a domain controller. To fix it:

  1. Sign in to the laptop with the old password.
  2. Connect to the VPN with the new password.
  3. Lock the session with Windows + L and unlock it with the new password.

This makes the laptop update the password it remembers.

With PRESS

PRESS is a self-service password reset portal that runs on the organization's own server. When users forget their domain password, they verify themselves with a one-time code sent to the phone registered in Active Directory and set a new password themselves. The organization's password policy is checked on screen as they type. A locked account can be unlocked without changing the password.

Try the portal in the live demo

Evaluate PRESS in your own environment.

Through the live demo you can explore the user portal and the admin panel directly.