Laur's blog
Sign in Subscribe
admin

Check Computer Started without Admin Provileges

  • Laur Ivan

Laur Ivan

Sep 12, 2017 • 2 min read
Check Computer Started without Admin Provileges

TL;DR: open the Event viewer, select the Windows Logs > System and Filter Current Log to the desired interval. Or you can scroll to the earliest entry of the day you need (more irritating because the event window doesn't refresh when scrolling).

The other day I needed to find out when an user logged in on a computer. Unfortunately, this info is only available with admin privileges, which the user did not have. So, knowing the user was the one that started the computer on the day, the next best thing is to see when the computer was started on that day.

To obtain the information, I performed the following steps:

  1. Open the Event Viewer and select the Windows Logs entry:

    Event viewer

  2. Select the System logs:

    Event viewer

  3. This will show all system logs for the computer and normally don't require elevated privileges.

    Event viewer

  4. On the right hand side select Filter Current Log

    Event viewer

  5. Change the Logged interval from Any time:

    Event viewer

  6. To a Custom range...:

    Event viewer

  7. Select the Events on for both From and To to restrict the time interval to the desired period (e.g. a certain day):

    Event viewer

  8. Scroll down the list of events to get to the first one:

    Event viewer

This will be the moment when the computer was started.

An alternative is to just scroll to the earliest event on a certain date, but the window doesn't refresh when scrolling and I found it more difficult to pinpoint the event.

HTH;

Logging in Rust

Logging in Rust

I need to record the logging from my application. According to this, rust can do logging via the log crate: use log::{info, warn}; pub fn example() { info!("Here's some info"); warn!("This is a warning!"); } In addition, you can use the env_logger
May 31, 2025 1 min read
Connect MCP Server Developed in WLS to Claude

Connect MCP Server Developed in WLS to Claude

I'm developing a MCP server in WLS because I'm using WLS for development in general. I've installed Claude desktop to play around with it and I had trouble connecting my server. Short of moving the codebase to windows, this post describes what I did
May 23, 2025 2 min read
Vibe Coding - Add a field to a Qdrant collection

Vibe Coding - Add a field to a Qdrant collection

I have created a Qdrant collection off a repository of mine and I had the following payload fields: * file_name - the source code file name (path actually) * branch - the git repository branch that I have indexed * repository_name - the git repository name * chunk - the text chunk
Apr 2, 2025 2 min read
Laur's blog © 2025
  • Sign up
Powered by Ghost