Solved

Changing Passwords for Domain Users

Posted on 2004-09-01
4
164 Views
Last Modified: 2010-04-13
Wed September 01, 2004 9:10 AM  
     
 

Hello.

I am trying to use cusrmgr and net user to change the passwords i am having problems
with both..

net user username password /mydomainname
for this i am getting syntax is wrong.

cusrmgr -u usern -P pass -m //mydomainname
for this i am getting error rx 000555

Do i have to have any special permissions on the domain or anything...

Any help is greatly appreciated.

Thanks,,  
0
Comment
Question by:schinni
  • 2
4 Comments
 
LVL 12

Expert Comment

by:valicon
ID: 11959508
Your syntax is almost correct try this for net user:

net user joseph * /domain

When you are prompted to type a password for the user, type the new password, not the existing password. After you type the new password, the system prompts you to retype the password to confirm. The password is now changed.

You can also use the following command:

net user joseph 123456 /domain
             
As for cusrmgr, your last part of the syntax is wrong:

cusrmgr -u usern -P pass -m //mydomainname  <-- needs to be \\mydomainname

Read this:
http://www.winnetmag.com/Windows/Article/ArticleID/24555/24555.html





0
 
LVL 95

Accepted Solution

by:
Lee W, MVP earned 75 total points
ID: 11959543
Yes, you must have permission to change a user's password.  Open Active Directory and right click on the domain name (second line on the left panel).  Select "Delegate Control".  A Wizard will appear.  Press Next, then Add the users and/or groups who you want to have the ability to change other people's passwords.  Select "Create a custom task to delegate", click next, Select "Only the following objects in the folder" and scroll WAY down to the bottom and select "User Objects" then click next. In the next screen, scroll down a little and check "Reset Password".  Then click Finish - that ought to do it.  Then try those commands.
0
 
LVL 95

Expert Comment

by:Lee W, MVP
ID: 11959550
That is, assuming you were trying to change a password from a non-admin account. Otherwise, valicon probably has the answer.
0
 
LVL 18

Expert Comment

by:exx1976
ID: 11960471
Or, you could just use VBS to do accomplish the same task for you with a pretty little GUI...  :)
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Learn how the use of a bunch of disparate tools requiring a lot of manual attention led to a series of unfortunate backup events for one company.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now