Solved

Changing Passwords for Domain Users

Posted on 2004-09-01
4
167 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 96

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 96

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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

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…
Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
Finding and deleting duplicate (picture) files can be a time consuming task. My wife and I, our three kids and their families all share one dilemma: Managing our pictures. Between desktops, laptops, phones, tablets, and cameras; over the last decade…

737 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