Solved

Changing Passwords for Domain Users

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

820 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