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!


Leave a Reply

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

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

Facebook photo

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

Connecting to %s