[Last Call] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 507
  • Last Modified:

Changing a local account password at Windows 2003 command prompt

From my Linux server, I could ssh into a remote Win 2003 server (but
not Remote Desktop or VNC to it).

I'm required to login remotely to change the password of a local
Windows account on that Win 2003 server.  Is there any way to
do this?

Let me know if there's any freeware or tool that could be installed
if WIn 2003 doesn't support this
4 Solutions
sunhuxAuthor Commented:

I forgot to mention I don't have administrator access & the account which I
have access is only a common account used for ftp.  If I have direct access
to the remote Windows server, login in & press Ctrl-Alt-Del would allow a
non-admin user to change his own password.  My problem is how can I
achieve this without administrator privilege.

With admin privilege, google returns various links but they're not what I wanted:
sunhuxAuthor Commented:

I guess the command wont work
net user my_nonprivileged_account  new_password
A non-administrator can not reset another local user's password, remotely or locally, full stop (it could work locally with Power User privileges).
Resetting another user's password can not be delegated to another user in a workgroup/local user setup, this is only possible for doimain accounts.
Anyway, when logged on locally (or to a telnet or whatever console), an Administrator (or Power User) can use
net user SomeUser *
to set the password.
Remotely, a tool like PsPasswd should do the trick (yes, administrative permissions are required ...).
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

sunhuxAuthor Commented:

I did not forget my Windows non-privileged login password, so can't I
change my own login id's password?  

In Linux/UNIX, I can issue "passwd my_own_id" to change my id's
password even if my id doesn't have admin priv, so I'm looking for
an equivalent in Windows command line.  Is there any or I'm asking
for something that does not exist?
sunhuxAuthor Commented:

I don't need to reset another local user's password, it's my
own login id's password that I need to change every 90 days
net user yourlocalusername *
You will get a prompt for a password and then to retype.
Can you explain this issue better so I can help you.
did not pay too much attention to "the 90 day", you can modify the local security policy to expire the password which is usually 42 days and can be changed. you would however have to make sure that the account does not have password never expires selected and password can not be changed.
net user <yourlocalusername>
To see the current settings on your account.
To remove the password expires: never use

using WMI to manipulate the password expiration setting: Administrative rights might be needed/required
sunhuxAuthor Commented:

I guess the solution basically evolves around using the command :
  net user yourlocalusername *

Looks like I have to negotiate with that remote organization (that
owns the Win 2003 ssh server) to grant my local login id on their
Win 2003 server "Power Users" or "Administrator" privilege.

That organization is military-related, so it's going to be an uphill
task: they have hardened their Win2003 box to the extent that
Remote Desktop/VNC services are not allowed
if you want to change your own user password from windows command line .below is the comand
net user username new_password

Open in new window

Not sure if it will word on a "user" (Non admin) or not.try it ..
sunhuxAuthor Commented:

Featured Post

NFR key for Veeam Agent for Linux

Veeam is happy to provide a free NFR license for one year.  It allows for the non‑production use and valid for five workstations and two servers. Veeam Agent for Linux is a simple backup tool for your Linux installations, both on‑premises and in the public cloud.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now