1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Changing password when not an adminsttrator

Discussion in 'Windows XP' started by Chaos Queen, Jan 16, 2006.

Thread Status:
Not open for further replies.
  1. Chaos Queen

    Chaos Queen Thread Starter

    May 1, 2003
    My son figured out that he can change his own password in his account when he's NOT an administrator(in XP). How can I fix this so he CAN'T change the password?? :D

    P.S. I a mean mom sometimes....he's 12!
  2. awergh


    Jan 12, 2006
    (i think this only works on xp pro)
    you can fix this with computer management go to local users and groups and change the properties of the user you want and select user can not change password
  3. Chaos Queen

    Chaos Queen Thread Starter

    May 1, 2003
    where would I find "local users"?
  4. Squashman

    Squashman Trusted Advisor

    Apr 4, 2003
    That is only available on XP Pro. XP home does not have the Local Users and Groups snapin.
    You might be able to make the setting with the Microsoft Shared computer toolkit. This will help you lock things down on XP Home computers a little better.
  5. Willy Duitt

    Willy Duitt Banned

    Oct 17, 2003
    Open the Command Prompt (you must have administrative privledges) and type:

    • net user USERNAME /passwordchg:no

    Changing USERNAME to that of your sons...
    Also, please note spaces in the above command...

    FWIW: net user can be used to restrict your sons time on the computer as well... ;)

    Additional net user commands are:

    • /active:{yes | no}
    Activates or deactivates the account. If the account is not active, the user cannot gain access to the server. The default is yes.

    • /comment:"text"
    Provides a descriptive comment about the user's account (maximum of 48 characters). Be sure to put quotation marks around the text you use.

    • /countrycode:nnn
    Uses the operating system country code to implement the specified language files for a user's help and error messages. A value of 0 signifies the default country code.

    • /expires:{date | never}
    Causes the account to expire if date is set. The never option sets no time limit on the account. An expiration date is in the form mm/dd/yy or dd/mm/yy, depending on the country code. Months can be a number, spelled out, or abbreviated with three letters. Year can be two or four numbers. Use slashes (/) with no spaces to separate parts of the date.

    • /fullname:"name"
    Is a user's full name (rather than a user name). Enclose the name in quotation marks.

    • /homedir:pathname
    Sets the path for the user's home directory. The path must exist.

    • /passwordchg:{yes | no}
    Specifies whether users can change their own password. The default is yes.

    • /passwordreq:{yes | no}
    Specifies whether a user account must have a password. The default is yes.

    • /profilepath[:path]
    Sets a path for the user's logon profile.

    • /scriptpath:pathname
    Is the location of the user's logon script.

    • /times:{times | all}
    Is the logon hours. The times option is expressed as day[-day][,day[-day]],time[-time][,time [-time]], and is limited to 1-hour increments. Days can be spelled out or abbreviated. Hours can be 12-hour or 24-hour notation. For 12-hour notation, use am, pm, a.m., or p.m. The all option specifies that a user can always log on, and a blank value specifies that a user can never log on. Separate day and time entries with a comma, and separate multiple day and time entries with a semicolon.

    • /usercomment:"text"
    Lets an administrator add or change the user comment for the account.

    • /workstations:{computername[,...] | *}
    Lists as many as eight computers from which a user can log on to the network. If the /workstations option has no list or if the list is *, the user can log on from any computer.

    • net help user | more
    Displays Help one screen at a time

  6. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/434754

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice