Terms of Use For FixedByVonnie

By proceeding to access fixedByVonnie.com, you expressly acknowledge, and agree to, all of the following:

fixedByVonnie.com is a personal website and blog owned by Security Plus Pro LLC, which is being presented for informational purposes only. The views on this website are solely those of the website owner (and not those of any employer or of any professional associations affiliated with the website owner).  Any views expressed in this website and any information presented on this website, or in any of its blog entries, should not be relied on for any purpose whatsoever other than as the personal opinions of the website owner.  The website owner expressly disclaims any and all liability for any information presented on this site.  The owner of this website and its blog posts shall not be held liable, and shall be held harmless, for any errors or omissions in any information or representations contained in this website, or in any of its blog entries.  The website owner also expressly disclaims any liability for the current or future availability of any such information. The website owner makes no representations as to the accuracy or completeness of any information on this website or which may be found by following any link on this website. The website owner shall not be held liable for any losses, injuries, damages, claims, or causes of action, from the display or use of any information on this website or in any of its blog entries. If you use the information on this website, or on any of its blog entries, you do so solely at your own risk.

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

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