Windows 7 CHANGE Windows Password with Command Prompt

Hello Experts,

There is a difference between changing the Windows password and resetting the Windows password. The main difference is knowing the original password versus not knowing. If you know the password you can do a CTRL + ALT + DELETE and Change Password. If you don't know, you can go to Computer Management and right click on the user and reset the password. I know you can also do this with Command Prompt using Net User command. The question is can you CHANGE the password using Command Prompt. That is to say that entering the old password in Command Prompt. The reason I need to change vs reset is because Reset the password breaks the windows CryptoKey and certain apps don't work correctly anymore.

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Kanti PrasadCommented:

To change a user's password at the command prompt, log on as an administrator and type:

net user user_name * /domain

The below links will help you
NVITEnd-user supportCommented:
> ...Reset the password breaks the windows CryptoKey
Are you talking about EFS protected files?
triphenAuthor Commented:
@Kanti Prasad - This is exactly what I dont want. This is a password RESET. I need a password CHANGE.
Active Protection takes the fight to cryptojacking

While there were several headline-grabbing ransomware attacks during in 2017, another big threat started appearing at the same time that didn’t get the same coverage – illicit cryptomining.

triphenAuthor Commented:
@NewVillageIT (NVIT) - Yes exactly, the CryptoKey is also used for EFS files.
NVITEnd-user supportCommented:
OK. AFAIK, the only way is for the user to change his password via ctrl-alt-del. Changed any other way, the EFS files can't be accessed.

Another way...
- If you previously exported the user's EFS private key from the user's account, you may import the key back into the account and recover access to the encrypted files.
- If you did not export the private key and you have defined a Data Recovery Agent (DRA) prior to encrypting the files, you may regain access to EFS files as the Data Recovery Agent.
triphenAuthor Commented:
That sucks! I need to change a bunch of passwords and I was hoping to build a script to do this.
triphenAuthor Commented:
The link doesn't really say anything....did I miss something?
There's a command line tool that not many people know and which is no longer available online. I could send you a link of a cached website however. It's called passwd.exe and it can indeed change the pw using the old password, something that net.exe cannot do.
(source code is there, too).
Edit: here's a download:

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
triphenAuthor Commented:
This is EXACTLY what I needed. Thank you!!!!!!
triphenAuthor Commented:
Followup question....

It doesn't seem to support BLANK or NULL passwords either changing from or changing to. Any experience with that?
No experience with that, we use passwords. I see no way it works. But the source code is in the zip file, you might be able to modify it.
triphenAuthor Commented:
ok thank you!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.