Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 help and support Forum Windows 8 Forum Vista Tutorials

Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Forums > Tutorials

Vista - Password - Prevent or Allow to Change

Comment
 

Password - Prevent or Allow to Change

How to Prevent or Allow a User to Change their Password in Vista and Windows 7
Published by Brink
07-13-2008
Password - Prevent or Allow to Change

How to Prevent or Allow a User to Change their Password in Vista and Windows 7

information   Information
This will show you how to Allow or Prevent a selected User Account from being able to change their password from within User Accounts in the Control Panel (Classic View).
Note   Note
By default in Vista and Windows 7, users are allowed to change their passwords.

EXAMPLE: "Windows cannot change the password" Message
NOTE: This is the message a user will get after trying to change their password if their option to change password is set to disabled.
Name:  Message.jpg
Views: 11224
Size:  21.4 KB



METHOD ONE

Through Local Users and Groups
1. Open the Local Users and Groups manager.

2. In the left pane, click on Users. (See screenshot below)

3. In the middle pane, right click on the user account you want to do this with and click on Properties.
lusrmgr.jpg
4. To Prevent the Selected User from Changing their Password
A) Check the User cannot change password box. (See screenshot below step 6)

B) Go to step 6.
5. To Allow the Selected User to Change their Password
A) Uncheck the User cannot change password box. (See screenshot below step 6)
NOTE: This is the default setting.
6. Click on OK. (See screenshot below)
properties.jpg
7. Close the Local Users and Groups manager window.



METHOD TWO

Through a Elevated Command Prompt

NOTE: This method is for all Vista and Windows 7 editions. This method was provided by Dwarf. Thank you Dwarf.
1. Open a elevated command prompt.

2. To Check the Change Password Status for a User
A) In the elevated command prompt, type the command belowand press Enter. (See screenshot below)
NOTE: Substitute user name in the command belowwith the user name in quotes that you want to see the change password status of.
net user "user name"
B) To the right of User may change password, you will see either Yes (allow) or No (prevent) for that user name. (See screenshot below)
check_status.jpg
3. To Prevent the Selected User from Changing their Password
A) In the elevated command prompt, type the command belowand press Enter. (See screenshot below)
NOTE: Substitute user name with the user name in quotes that you want to prevent from be able to change their password.
net user "user name" /Passwordchg:no
B) If the command was successful, you will now get a successfully completed message. (See screenshot below)
prevent_user.jpg
C) Verify the change with step 1.

D) Go to step 5.
4. To Allow the Selected User to Change their Password
A) In the elevated command prompt, type the command belowand press Enter. (See screenshot below)
NOTE: Substitute user name with the user name in quotes that you want to allow to change their password.
net user "user name" /Passwordchg:yes
B) If the command was successful, you will now get a successfully completed message. (See screenshot below)
allow_user.jpg
C) Verify the change with step 1.
5. Close the elevated command prompt.
That's it,
Shawn







Published by
Brink's Avatar
Administrator

Join Date: Apr 2007
Location: Texas, USA
Posts: 29,548
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute
Brink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond reputeBrink has a reputation beyond repute

Tutorial Tools

Applies to
All Vista Versions
64 Bit & 32 Bit

07-16-2008  
PainlessTorture


Windows Vista™ Ultimate x64
Northern Ireland
 
 

Re: Password - Prevent or Allow to Change

Why is your username not there?

My System SpecsSystem Spec
07-16-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Password - Prevent or Allow to Change

Hi Fmjc001,

It is: User_Name

I made mine to this so folks will know where to look for their user name instead.

Shawn
My System SpecsSystem Spec
07-16-2008  
PainlessTorture


Windows Vista™ Ultimate x64
Northern Ireland
 
 

Re: Password - Prevent or Allow to Change

Oh, Ok. When i change my username I get all sorts of messages about security errors and policies lol.

Just thought you had a special computer for making tutorials or something

Thanks for the reply
My System SpecsSystem Spec
07-17-2008  
lgpatton


Vista Home Premium
 
 

Re: Password - Prevent or Allow to Change

I have not had my computer very long and have only had access to the internet for about 2 weeks. my son helped setup the internet and at the same time we changed the password. now both of us have forgotten the password he put in the system. it should not be as difficult to get into the computer as this is proving to be. I do not like Vista. someone needs to think about what the everyday person who will be using the system and make a backdoor of some kind for people like me who have very busy lifes and might forget a stupid password!!!!!!!
My System SpecsSystem Spec
07-17-2008  
PainlessTorture


Windows Vista™ Ultimate x64
Northern Ireland
 
 

Re: Password - Prevent or Allow to Change

Quote: Originally Posted by lgpatton View Post
I have not had my computer very long and have only had access to the internet for about 2 weeks. my son helped setup the internet and at the same time we changed the password. now both of us have forgotten the password he put in the system. it should not be as difficult to get into the computer as this is proving to be. I do not like Vista. someone needs to think about what the everyday person who will be using the system and make a backdoor of some kind for people like me who have very busy lifes and might forget a stupid password!!!!!!!
Can you not use another account to change the password?
My System SpecsSystem Spec
07-17-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Password - Prevent or Allow to Change

Hi lgpatton,

Method Three in this tutorial will show you how to reset the password and gain access to the administrator account again. Afterwards, you can use Method One to reset the other account's password from the administrator account.

Reset User Account Password

Hope this helps,
Shawn
My System SpecsSystem Spec
08-01-2008  
mike_mty


VISTA HOME BASIC 32BITS
 
 

Re: Password - Prevent or Allow to Change

is this possible in all vista versions? when i click on advanced option i got a message saying "this computer is not runing home basc and that this complement can not be used with this version...i ..but my computer is runing home basic
My System SpecsSystem Spec
08-01-2008  
Brink


Vista x64 Ultimate SP2, Windows 7 Ultimate x64 SP1
Texas, USA
 
 

Re: Password - Prevent or Allow to Change

Hi Mike,

My apologies. lusrmgr.msc is only available for the Vista Business, Ultimate, and Enterprise editions.

Shawn
My System SpecsSystem Spec
11-30-2008  
Dwarf


Windows Vista Ultimate 32-bit & 64-bit both SP2
Doncaster, UK
 
 

Re: Password - Prevent or Allow to Change

Here is an addition to the above Tutorial. The method here works for ALL versions of Vista.
Click on the start orb and type cmd into the search box and press and hold Ctrl, Shift and then press enter/return. You will need to provide administrative credentials to continue. At the prompt , type the following: net user dwarf followed by enter/return. Here is what I get for this command:
Name:  Capture.JPG
Views: 10848
Size:  37.2 KB
Notice the line User may change password. This is currently set to No.
Again at the command prompt, type the following and press enter/return: net user dwarf /Passwordchg:Yes. Here is what I get with that command:
capture1.jpg
Finally, repeating this command: net user dwarf
Name:  Capture2.JPG
Views: 10814
Size:  35.9 KB
Notice the line User may change password is now set to Yes.
If you wish to prevent the changing of a password, use this command: net user dwarf /Passwordchg:no
capture3.jpg
Note that I have used my user name Dwarf throughout this explanation. You will, of course, need to substitute the correct user name here.
My System SpecsSystem Spec
Comment

 Password - Prevent or Allow to Change problems?



Tutorial Tools


Similar topics to: Password - Prevent or Allow to Change
Tutorial Category
Desktop Background Wallpaper - Prevent Change Tutorials
Color Scheme - Allow or Prevent Change Tutorials
How to prevent the requirement to enter a Live ID password every t Live Mail
How to prevent the requirement to enter a Live ID password every t Live Folder Share
How to prevent the requirement to enter a Live ID password every t Live Messenger


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50