I needed a way to change user passwords remotely or via command prompt on Windows Server 2008. The most common thing to do that is with the "net user <username> <new_password>" command, started with administrative rights.
However, after I implement this method I found that when the password is changed that way, some software start to have a problem with so called "Secure Storage". From that I understand, this secure storage is used to store saved passwords and its
tightly connected withe current user password. (the specific software I'm talking about is Eclipse)
First thing to do was to blame the software, that he was not written right and the problems is his. But I was very surprised, when I discovered that the problem do not appear if the password is changed with "Alt+Ctrl+Del -> Change Password"
method. So, in some way, both methods are changing the password in a different way.
I found a tool (wwwthep.physik.uni-mainz(dot)de/~frink/passwd/), that uses NetUserChangePassword function from
Netapi32 library, and also do the change without to cause any problems with this "Secure Storage"
So, my question is this, can someone tell me, why there is difference it the way "net user" command works and is there any another alternative native way to change the password remotely?
As I said, the two native ways I already know to change the password are from the GUI (alt+ctrl+del or Control Panel) or with the "net user" command. I want to understand why there is a difference between the two ways, why I face problems after the password
was changed with the "net user" way, but not when the password was changed via the GUI. Also is there a third way to do that. Third party tools don't work for me. I need a native way, something that exist in standard Windows installation.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site. If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.