Solved

Changing Passwords for Domain Users

Posted on 2004-09-01
4
162 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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Illustrator's Shape Builder tool will let you combine shapes visually and interactively. This video shows the Mac version, but the tool works the same way in Windows. To follow along with this video, you can draw your own shapes or download the file…

746 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