Like
Dislike
Remote Support

Provide instant support for individual users.

Try It Free
Share

[4 Steps] How to Change Local User Password with PowerShell

Anita R. 6 Steps 120 Seconds Jul 5, 2024
Filed to: Quick Guides
ic introduction01
In this guide, you will learn the command to change local user password using powershell.
Step 1

On your Home screen, right-click and choose Open in Terminal from the menu.


open Powershell
Step 2

On the Windows Powershell window, type Get-LocalUser and press Enter.


get local user
Step 3

Then type $Password = Read-Host "Enter the new password" -AsSecureString. Now enter your new password.


change password powershell
Step 4

Lastly, type

$UserAccount = Get-LocalUser -Name "admin"

$UserAccount | Set-LocalUser -Password $Password

to apply the new password.

Note : If necessary, back up or sync all necessary app data before factory reset.

Get Started with AirDroid Remote Support Now

Download NowLearn More
Share:

You Might Also Like

  • How to Mirror Samsung Phone to Sharp TV?
  • How to Fix USB Tethering Greyed out
  • How to Turn Off Autoplay on Apple Music via Shortcuts
  • How to Disable Handoff Feature on iPhone
  • How to Mirror Xiaomi to Samsung TV?
  • How to Mirror Android to Mi TV ?
Discussion
The discussion and share your voice here.

Leave a Reply. Cancel reply

Your email address will not be published. Required fields are marked*

*

Product-related questions?Contact Our Support Team to Get a Quick Solution>
Home > Quick Guides > [4 Steps] How to Change Local User Password with PowerShell