Show Windows 7 logon time?

109,511

Solution 1

Use the following command in a Command Prompt:

net user [username]

It will be next to Last Logon.

EDIT
If your screen becomes locked and you use the method above it will display the last time the screen was unlocked. You will have to use this command below to get the initial login time:

quser

Solution 2

You can also use

quser

to see the login time.

Solution 3

Go to the command prompt and type:

net statistics srv

Solution 4

I had the same issue for a network PC and this gave me results I was looking for:

wmic netlogin get name, fullname, lastlogon

...this will provide info for all users that have logged in.

Solution 5

You can also use

systeminfo

and next to

System Boot Time:

It will be in the format

9/17/2011, 10:16:38 PM
Share:
109,511

Related videos on Youtube

magnattic
Author by

magnattic

.NET Software Developer

Updated on September 18, 2022

Comments

  • magnattic
    magnattic over 1 year

    On Windows 7 Ultimate, is there a way to see when I logged on into the current session?

    I want to find out how long I have been at the PC / when I started it up.

  • Ƭᴇcʜιᴇ007
    Ƭᴇcʜιᴇ007 almost 13 years
    +1: "Net Statistics" tells you when the computer booted, not when the user logged in.
  • Ƭᴇcʜιᴇ007
    Ƭᴇcʜιᴇ007 almost 13 years
    Nice, that's a new one to me. Turns out it's a 'shortcut' to another usable option: C:\>query user.
  • slhck
    slhck over 11 years
    This does exactly the same as the built-in quser, but is commercial.
  • Trebor Rude
    Trebor Rude over 9 years
    This doesn't seem to work if your account is from a different domain than the default domain for the computer you're logged into. At least my attempts to specify a different domain to search didn't work.
  • thomasa88
    thomasa88 over 7 years
    Works for a domain user as well :)
  • Dejan
    Dejan over 6 years
    FullName and LastLogon columns are empty in my case. Any idea why?
  • Carlo V. Dango
    Carlo V. Dango over 6 years
    works on win 10 also
  • Noumenon
    Noumenon about 6 years
    The only one that told me when I signed in 15 minutes ago, not when I rebooted two days ago.
  • PatS
    PatS almost 6 years
    Try net user %USERNAME% /domain, this worked when I was logged onto a domain. On another system, however, this command said it couldn't find the domain controller, but query user (or quser worked on that system)
  • PatS
    PatS almost 6 years
    The output I see says Statistics since 6/29/18 10:01:07 AM and since that is the only time shown, I'm guessing that is showing the time I logged in. Is that correct? The next answer says this was the time the computer was last rebooted, but in my case it appears to be the time I logged in.
  • schoetbi
    schoetbi over 5 years
    The last option (srv) is language or installation specific. In my case it was "Arbeitsstationsdienst". Type net statistics without any additional option to get a list of available services.