VaultNetwork.netVault Network Boards
Author Topic: Windows 7 password expiration question [Locked]
Balor_Gafdan  1 star
Title: Gun Toting Conservative
Posts: 55
Registered: 2001-12-20 10:58:17
With Group policy, there's no need for an extra script as at the 7 day mark that you've set, the user will get a pop up upon log on.
Am I missing something with the initial question?

 

-----signature-----
"The constitutions of most of our States assert that all power is inherent in the people; that... it is their right and duty to be at all times armed."
Rolab - PT Warhammer
Lannai  1 star
Posts: 103
Registered: 2004-10-7 21:55:56
Balor_Gafdan posted:

With Group policy, there's no need for an extra script as at the 7 day mark that you've set, the user will get a pop up upon log on.
Am I missing something with the initial question?



He just wanted to know EXACTLY when it was going to expire. I don't think you missed anything...the OP was very clear about what he wanted to do.

 

-----signature-----
Lannai
Fidenian
Recty
Posts: 12
Registered:
Steelwind_Oo posted:

net user %username% /domain | find "Password expires" | msg %username%

... if you want it to popup a dialog to the user with the expiration message.

Thank you, that's much easier than what I wrote up Perfect.
Recty
Posts: 12
Registered:
Balor_Gafdan posted:

With Group policy, there's no need for an extra script as at the 7 day mark that you've set, the user will get a pop up upon log on.
Am I missing something with the initial question?

Yes... we dont require nightly restarts or log offs here, we just lock the PCs after 30 minutes of inactivity, so some users were not seeing their prompts at login since they just restart monthly or if they are experiencing problems.

Also, it's nice to know how long someone has left until password expiration, not just have them guess how long ago they got the warning about changing it.
Ookane  1 star
Title: Moderator
Posts: 75
Registered: 2002-10-15 12:42:14
Recty posted:

Balor_Gafdan posted:

With Group policy, there's no need for an extra script as at the 7 day mark that you've set, the user will get a pop up upon log on.

Am I missing something with the initial question?

Yes... we dont require nightly restarts or log offs here, we just lock the PCs after 30 minutes of inactivity, so some users were not seeing their prompts at login since they just restart monthly or if they are experiencing problems.


Also, it's nice to know how long someone has left until password expiration, not just have them guess how long ago they got the warning about changing it.



Odd, I get a popup bubble from the tooltray stating something like "our password expires in xx days, you should consider changing it soon," and I stay logged in months at a time on my main PC, just locking the screen.

 

-----signature-----
WoW - Lightbringer server
For the HORDE!!!
Recty
Posts: 12
Registered:
Mine, for instance, expires 03/03/2012. 3 more days... yet I only saw the popup when I logged on Monday (I restart over the weekend and do a full log on process every Monday morning) and havent seen it since.
Balor_Gafdan  1 star
Title: Gun Toting Conservative
Posts: 55
Registered: 2001-12-20 10:58:17
Recty posted:

Balor_Gafdan posted:

With Group policy, there's no need for an extra script as at the 7 day mark that you've set, the user will get a pop up upon log on.
Am I missing something with the initial question?

Yes... we dont require nightly restarts or log offs here, we just lock the PCs after 30 minutes of inactivity, so some users were not seeing their prompts at login since they just restart monthly or if they are experiencing problems.

Also, it's nice to know how long someone has left until password expiration, not just have them guess how long ago they got the warning about changing it.



Ahhh, I didn't see the part about not requiring nightly restarts or log offs. Gotcha. See, now it makes sense.

 

-----signature-----
"The constitutions of most of our States assert that all power is inherent in the people; that... it is their right and duty to be at all times armed."
Rolab - PT Warhammer
Balor_Gafdan  1 star
Title: Gun Toting Conservative
Posts: 55
Registered: 2001-12-20 10:58:17
Lannai posted:

Balor_Gafdan posted:

With Group policy, there's no need for an extra script as at the 7 day mark that you've set, the user will get a pop up upon log on.
Am I missing something with the initial question?



He just wanted to know EXACTLY when it was going to expire. I don't think you missed anything...the OP was very clear about what he wanted to do.



Which is what the group policy setting does. However, by asking for more information he was able to clarify WHY he wanted a script to do something that's built into a Group Policy environment.

 

-----signature-----
"The constitutions of most of our States assert that all power is inherent in the people; that... it is their right and duty to be at all times armed."
Rolab - PT Warhammer
Balor_Gafdan  1 star
Title: Gun Toting Conservative
Posts: 55
Registered: 2001-12-20 10:58:17
Recty posted:

Mine, for instance, expires 03/03/2012. 3 more days... yet I only saw the popup when I logged on Monday (I restart over the weekend and do a full log on process every Monday morning) and havent seen it since.



Do a Group Policy result wizard on your machine and see if the policy governing password policy is running or erroring out. Gpresult /r on the local machine won't give you the detail you need to see if it "is" erroring out.

That being said, the script that queries the variable will work, so you should be good to go.

 

-----signature-----
"The constitutions of most of our States assert that all power is inherent in the people; that... it is their right and duty to be at all times armed."
Rolab - PT Warhammer

VaultNetwork.net is an independently operated community forum and is not affiliated with, endorsed by, or technically based on IGN, GameSpy, FilePlanet, GameStats, or the former IGN/GameSpy Vault Network.
References to VaultNetwork.net mean this site/domain. VNBoards-style presentation is a visual homage only. By using this site, you agree to the forum rules.