NET USER /expires:never is not working!

Discussion in 'Windows Server' started by Cengiz Ilerler, Jun 4, 2004.

  1. No matter which operating system you are using (Windows 2000, Windows XP or
    Windows 2003)

    "NET USER /expires:never" parameter is NOT WORKING! Please open a command
    prompt window and type the line below. Then you will see that parameter is
    not working.

    NET USER testuser passwordoftestuser /add /expires:never

    I don't want to use SCRIPT for only this parameter and I couldn't find any
    explanation about that in Technet.

    Please advise.
     
    Cengiz Ilerler, Jun 4, 2004
    #1
    1. Advertisements

  2. Cengiz Ilerler

    Roland Hall Guest

    : No matter which operating system you are using (Windows 2000, Windows XP
    or
    : Windows 2003)
    :
    : "NET USER /expires:never" parameter is NOT WORKING! Please open a command
    : prompt window and type the line below. Then you will see that parameter
    is
    : not working.
    :
    : NET USER testuser passwordoftestuser /add /expires:never
    :
    : I don't want to use SCRIPT for only this parameter and I couldn't find any
    : explanation about that in Technet.

    net user testuser password /add /expires:never

    ....does work if the user does not already exist.

    If the user does exist then:

    net user testuser /expires:never

    ....works.

    I was using XP.

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Online Support for IT Professionals -
    http://support.microsoft.com/servicedesks/technet/default.asp?fr=0&sd=tech
    How-to: Windows 2000 DNS:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;308201
    FAQ W2K/2K3 DNS:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;291382
     
    Roland Hall, Jun 4, 2004
    #2
    1. Advertisements

  3. Dear Rolan,

    Thanks for your quick reply.

    I'm using version 5.1 Build 2600.xpsp2.030422-1633: Service Pack 1)

    and also I tested this on Windows 2000 machines too. Please try again and
    check it!

    It says "The command completed successfully." but when you check user's
    properties check is not there.

    Best.
     
    Cengiz Ilerler, Jun 4, 2004
    #3
  4. Cengiz Ilerler

    Roland Hall Guest

    : I'm using version 5.1 Build 2600.xpsp2.030422-1633: Service Pack 1)
    :
    : and also I tested this on Windows 2000 machines too. Please try again and
    : check it!
    :
    : It says "The command completed successfully." but when you check user's
    : properties check is not there.

    Actually it is there. It appears you are trying to set password expiration
    to no. /expires is for account expiration, not password.

    http://support.microsoft.com/default.aspx?scid=kb;en-us;251394&sd=tech

    --
    Roland Hall
    /* This information is distributed in the hope that it will be useful, but
    without any warranty; without even the implied warranty of merchantability
    or fitness for a particular purpose. */
    Online Support for IT Professionals -
    http://support.microsoft.com/servicedesks/technet/default.asp?fr=0&sd=tech
    How-to: Windows 2000 DNS:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;308201
    FAQ W2K/2K3 DNS:
    http://support.microsoft.com/default.aspx?scid=kb;EN-US;291382
     
    Roland Hall, Jun 7, 2004
    #4
  5. Thanks for your answer Roland. I'm sorry to I didn't read that article
    properly.

    Best
     
    Cengiz Ilerler, Jun 8, 2004
    #5
  6. Cengiz Ilerler

    Roland Hall Guest

    : Thanks for your answer Roland. I'm sorry to I didn't read that article
    : properly.

    It is easy to see how this is overlooked or misunderstood.
     
    Roland Hall, Jun 8, 2004
    #6
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.