How to change local administrator password

Do you want to change your local administrator password and you do not know how? This is your post.

The only thing you have to do is execute the following line in the command line as administrator:
([ADSI]”WinNT://localhost/Administrator, user”).psbase.Invoke(“SetPassword”, ‘{yournewpass}’)

That’s all!

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s