Help with "password expires" on windows home premium

Discussion in 'General Computing' started by fisbinking, Nov 5, 2013.

  1. fisbinking

    fisbinking

    Joined:
    Nov 5, 2013
    Messages:
    4
    Likes Received:
    0
    Hello. I use my home windows 7 home premium desktop to connect to work. During a security scan, it reports that "password expires" is set to off. here are my current users and net account settings:
    .
    C:\Windows\system32>net accounts
    Force user logoff how long after time expires?: Never
    Minimum password age (days): 1
    Maximum password age (days): 90
    Minimum password length: 8
    Length of password history maintained: 8
    Lockout threshold: Never
    Lockout duration (minutes): 30
    Lockout observation window (minutes): 30
    Computer role: WORKSTATION
    The command completed successfully.
    .

    C:\Windows\system32>net users

    User accounts for \\CHRISWORK

    -------------------------------------------------------------------------------
    Administrator chris garro Guest
    UpdatusUser
    The command completed successfully.

    .
    I ran the following by right clicking on command window and selecting run as admin:
    .
    C:\Windows\system32>wmic path Win32_UserAccount WHERE Name='chris garro' set Pas
    swordExpiries=true
    ERROR:
    Description = Not found
    .
    Can someone please help me turn password expires to "on"
    .
    Thanks very much
     
    fisbinking, Nov 5, 2013
    #1
    1. Advertisements

  2. fisbinking

    fisbinking

    Joined:
    Nov 5, 2013
    Messages:
    4
    Likes Received:
    0
    Hello. I must have had a typo before. I entered the following using elevated command line and now password expires is turned on.
    .
    C:\Windows\system32>wmic path Win32_UserAccount where Name='Chris Garro' set PasswordExpires=true
    .
     
    fisbinking, Nov 6, 2013
    #2
    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.