Results 1 to 13 of 13
  1. #1
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Richmond, Virginia, USA
    Posts
    416
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can I lock an account after (x) days? (XP Pro)

    My firm has a limited number of laptops that we reserve for users to borrow. I have a few users who will request a laptop for a week, but not return it for a month or more. <img src=/S/sneaky.gif border=0 alt=sneaky width=15 height=15> My boss wants me to set the password to expire a few days after the user has promised to return it. That way, the laptop will be of no use to him, so I can get it back to loan out to the next person. I can't figure out how to make XP Pro disable an account after a set number of days. Can I do this? The user the person is logging on as will be a local user (not connected to any network at all), so it would have to be something local on the laptop.

    Any suggestions (for anything that might work in this situation)?
    Thanks,
    Becky

  2. #2
    Lounger
    Join Date
    Nov 2003
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    isn't there a way to have passwords expire after x days. i don't have an xp machine near me to check but try - right click on > my computer then > manage > users. right click on a user then properties it might give you options for passwords.

    ken.

  3. #3
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Richmond, Virginia, USA
    Posts
    416
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    I looked there, but I didn't see any options for the amount of time before a password would expire. I'm attaching a screenshot of all I can see.

  4. #4
    Lounger
    Join Date
    Nov 2003
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    your right thats not it. i'm sure one of these moderators will have an idea. when i get to a machine with xp on it i'll check some more. somewhere in >my computer > manage > ........ when i close my eyes i can't see any farther. i'll check back later.

    Ken.

  5. #5
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Vienna, Wien, Austria
    Posts
    5,009
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    Edited - previous comment withdrawn

    Try the following - with a large thank you to <!profile=StuartR>StuartR<!/profile>

    Start > Run > GPEdit.msc
    Local Computer Policy > Computer Configuration > Windows Settings > Security Settings > Account Policies > Password Policy
    Double Click Maximum Password Age
    Gre

  6. #6
    Lounger
    Join Date
    Nov 2003
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    looks like StuartR and UNKAMUNKA got it. I thought someone would. anyway heres what i do.

    start>control panel>performance and maintenance>administrative tools>local security policy>account policy>password policy. right click on max password age, click on properties, change days to what ever you want. ok.

    back to where we were yesterday

    right click on my computer>click on manage, expand local users and groups, click on users, right click on the user you want, click on properties, check user cannot change password, uncheck password never expires, ok.

    in how ever many days you specified the password will expire. the user should not be able to set a new one. the user should have to come to you, the administrator to reset the password.

    sorry it took so long but i don't have an xp machine here at work and i can't follow it through in my head yet so i had to wait till i got home.

    and then i cant get to the lounge from my machine at home so i had to wait till i got here this morning. i'll have to figure that out later. i can surf the net but can't get here. strange.

    ken.

  7. #7
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Richmond, Virginia, USA
    Posts
    416
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Thank you

    <img src=/S/doh.gif border=0 alt=doh width=15 height=15> I never even thought of using a local policy. Great idea. Thanks so much to all! <img src=/S/thankyou.gif border=0 alt=thankyou width=40 height=15>

  8. #8
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Richmond, Virginia, USA
    Posts
    416
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    Unfortunately, it didn't work exactly as I had anticipated. As soon as the number of days passed for the password to expire, the user is FORCED to change the password even with the "user cannot change password" option checked. It did keep checking the "have user change password on next login" box, and it didn't like me unchecking it.

    So, back to the drawing board, I suppose. It seems like it should work, though.

    Thanks for idea, though.
    Becky

  9. #9
    Lounger
    Join Date
    Nov 2003
    Posts
    28
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    Hmmmm. i'm disappointed. i'll try it out myself this weekend. seemed like a perfect fit.

    Ken.

  10. #10
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    Becky,
    Do the users connect to the work network? Is it a NT/2k domain network? Do they logon to the machine locally or with a cached network id?

    Joe
    Joe

  11. #11
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Richmond, Virginia, USA
    Posts
    416
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    They just log on locally to the laptops, so there's no network involved. However, their main goal is to log on to Citrix to connect to our work network. I don't think I can disable their Citrix account without locking thier regular network account, can I?

    Thanks,
    Becky

  12. #12
    Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    23,572
    Thanks
    5
    Thanked 1,057 Times in 926 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    Becky, I don't know Citrix. Sorry. Maybe someone else here can help.

    Joe
    Joe

  13. #13
    4 Star Lounger
    Join Date
    Jan 2001
    Location
    Richmond, Virginia, USA
    Posts
    416
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Can I lock an account after (x) days? (XP Pro)

    My boss was able to come up with a very clever alternative. He created a Scheduled task to run on a specific date (say, the day after the laptop should have been returned) that would launch a batch file with a Shutdown command every 5 minutes, all day every day until the laptop is returned. He made the shutdown message read "Please return the laptop". It accomplishes the same goal, so we're happy. Of course, he just borrowed a laptop yesterday and we figured this out today, so it may be awhile before we can try it again!
    Here's the command we used:
    <hr>shutdown -s -t 10 -c "Please return the laptop"<hr>
    Thanks for the help
    Becky

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •