Solved

Changing Passwords for Domain Users

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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

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…
Article by: Justin
In light of the WannaCry ransomware attack that affected millions of Windows machines, you might wonder if your Mac needs protecting. Yes, it does and here is how to do it.
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…

688 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