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

x
  • 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
0
sunhux
Asked:
sunhux
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:
http://www.google.com.sg/#hl=en&source=hp&biw=977&bih=451&q=change+Windows+password+command+line&aq=f&aqi=g1g-j6g-b1&aql=&oq=&fp=f6dca07b1a737f5e
0
 
sunhuxAuthor Commented:

I guess the command wont work
net user my_nonprivileged_account  new_password
0
 
oBdACommented:
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 ...).
http://technet.microsoft.com/en-us/sysinternals/bb897543
0
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?
0
 
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
0
 
arnoldCommented:
net user yourlocalusername *
You will get a prompt for a password and then to retype.
0
 
eteranCommented:
Can you explain this issue better so I can help you.
0
 
arnoldCommented:
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
http://www.eggheadcafe.com/software/aspnet/32310919/how-to-change-password-expiration-settings-with-command-line.aspx
0
 
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
0
 
subhashchyCommented:
if you want to change your own user password from windows command line .below is the comand
net user username new_password
{Enter}

Open in new window


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

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