Windows-Server-2003

本地帳戶:查找上次密碼更改

  • December 23, 2015

是否有一種簡單的方法可以從命令行(甚至只是檢查某處的設置)來查看本地 Windows 帳戶(特別是 Server 2K3)的密碼何時過期或上次更改的時間?

’net user’ 命令行將執行此操作:

C:\Documents and Settings\adam>net user adam

User name                    adam
Full Name                    Your Momma
Comment
User's comment
Country code                 000 (System Default)
Account active               Yes
Account expires              Never

Password last set            7/1/2009 10:32 AM
Password expires             Never
Password changeable          7/1/2009 10:32 AM
Password required            Yes
User may change password     No

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   8/19/2009 3:24 PM

Logon hours allowed          All

Local Group Memberships      *Administrators       *Debugger Users
                            *Users
Global Group memberships     *None
The command completed successfully.

引用自:https://serverfault.com/questions/56301