如何查看AD中的用户是否被锁?

对于企业来说,都会不同程度的对用户的Security policy进行设置,其中包括一项 -用户输入密码错误超过几次后用户自动被锁。对于当前使用的用户如何知道是否被锁呢?本文主要对此进行介绍。

 

方法一:使用cmd命令check

打开Commonand Prompt,输入net userusername /domain,并回车运行会得到下面结果。Account Active中如果显示Locked说明当前Account被锁。

 

Machine generated alternative text::\Users\yitingt>net user ._ [  /domainhe request will be processed at a domain controller for domain gic.com.sg,-3_,—-___ ç_C.ser name . ..--ull Nameomment 625639ser’s commentountry code 000 (System Default)ccount active Lockedccount expires Neverassword last set 28/07/2016 13:45:41assword expires Neverassword changeable 28/07/2016 13:45:41assword required Noser may change password Yesorkstat ions allowed Allogon scriptser profileome directoryast lopon 19/12/2016 14:09:51

 

方法二:到ADcheck

打开Active User and Computer,点击搜索找到当前用户,双击查看属性,在Account tab中查看是否lock

Machine generated alternative text:Password ReplicationRemote controlPersonal Virtual DesktopGeneral Address AccountUser logon name:Diakn Environment SessionsRemote Desktop Services ProfileCOM+ ) UNlXi4ttñbutesProfile Telephones J Organization Member OfItestldb gic.com.sgUser logon name fre-Windows 2000):IGICNTh ItestldbLogon Hours... LogOnTo...F Unlock acri1 !Account options:F User must change password at next logonF User cannot change passwordF Password never expiresF Store password using reversible encryptionAccount expireseverr Hndof:OK Cancel Annlu Help

 

 

希望有帮助,感谢阅读。

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值