2 Windows command-line tricks that will make your boss drool

Technology buffs and there are always command that you can flaunt to show your stuff.

In the Linux universe, the uptime command is perfectly apt for discovering how long your computer has been “on”.  But what can we do in Windows?  Is there any equivalent?

Today, I want to show you not only how to find out how long your Windows system has been running but also get the exact date the operating system was installed.

The quickest way to view your computer uptime is to call up the Task Manager with Ctrl + Shift + Esc , click the Performance tab and check the up time values ticking away near the bottom part of the right pane.

Windows 8.1 Uptime in Performance Tab

You can see my computer has been powered on for a little over 4 days.  Incidentally, if your PC ever went to sleep that doesn’t count as being offline.  The Up time value still increments.

 

Checking your Up time from the Task Manager is cool but nothing is droolworthy about that.  The command prompt is where pros dwell that’s why you need to know how to view your uptime from the command prompt.

This is the command you can use to make your boss drool with envy.


 

Press the Windows Key, type cmd and enter the following string into the command window:

net stats srv

You’ll see statistics about your network adapter, security policies and print jobs; however, we only care about the first element near the top that starts like this:

Statistics since 

Windows 8.1 use net stats srv to get uptime

Slick eh?

Now here’s another useful tip.

What if you wanted to find out when Windows was installed?  It’s not like you can visit Programs and Features and check the installation date of the OS.  Sure, you might be able to extrapolate the installation date by looking at the event logs or exhuming your oldest snapshot from System Restore, but I’m not going to take you down the tortuous path of clicking windows and menus.

Instead, there’s a niffty Windows command that shows you everything you need to know about your system. It’s impossible to forget because it’s simply called… wait for it…

wait for it…

systeminfo

But if you just type systeminfo and press enter you’ll see a regurgitated list of facts which is way more than we need.

That’s why we’ll use the find option to parse the output and only display the line with the word “Original install Date:”

systeminfo | find /i "original"

systeminfo find original

There you have it – quick and easy.

Incidentally, you can also use the systeminfo command to view the date and time of your last reboot.

Just type this:

systeminfo | find "System Boot Time:"

Windows 8.1 systeminfo find System Boot Time

Joy!

About

Connect with Vonnie on Twitter

Posted in Windows, Windows 8, Windows 8.1 Tagged with: ,
  • James Sides

    My desk top has failed the optimized dst test. I cannot log onto my computer says boot cmd file is missing what can I do other than replace my hard drive