본문 바로가기

Microsoft/Windows Server 2003

마지막 로그온한 사용자 시간 알아보기

마지막 로그온한 사용자 시간 알아보기

 

Ldifde –f Logonusers.ldf Export한다음 notepad를 열어본다. 여러값중에서 아래의 값들을 추출해낸 다음 LastLogon 시간을 convert하면된다.

 

dn: CN=Administrator,CN=Users,DC=Nwtraders1,DC=msft

badPasswordTime: 128505106821256880

lastLogoff: 0

lastLogon: 128505968813191520

pwdLastSet: 128504229065317456

accountExpires: 9223372036854775807

lastLogonTimestamp: 128505106864719376

 

cmd에서

마지막 로그온한 사용자 시간 알아보기

 

C:\>w32tm /ntte 128505968813191520

148733 18:14:41.3191520 - 3/21/2008 12:14:41 PM (local time)

 

마지막 사용자가 패스워드를 잘못 입력했을 때

C:\>w32tm /ntte 128505106864719376

148732 18:18:06.4719376 - 3/20/2008 12:18:06 PM (local time)


write by kwangjin kim