How long have the Server of PC been running? Sometimes you need to figure when the OS was started. As always there are different was of getting this information. Some ways are quick and easy when you are sitting with the OS GUI in front of you, but other times you might want to use it in a script or get it from the command line. Here are a selection of methods I use.
About Me
- Olav Tvedt
- Bergen, Norway
- 19th times Microsoft MVP (Security and Windows). IT-Dude @SpareBankenNorge
Tuesday, April 11, 2017
Friday, March 31, 2017
When was Windows installed?
For different reason, you might want to know when Windows installed.
Luckily you can find this information other places then checking out the date on certain system files that was created/modified and stamped at the same time as when you installed Windows. The file date stamp method does not in calculate that files change this information during upgrades etc. during the lifecycle of the installation
In registry, you have a Key to help you with this information.
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\InstallDate
A Safer Way Of Running Unsigned Powershell Scripts
There is no doubt that
as a company you should have setup a way of signing all the PowerShell script you are intending to run in your production environment.
But as we all known there will be situation where you want to run unsigned code, or maybe you are testing things out before you are ready to sign them.
But as we all known there will be situation where you want to run unsigned code, or maybe you are testing things out before you are ready to sign them.
Thursday, February 16, 2017
Slide deck from Hackcon2017
The slide deck from my session "Protecting your critical systems from new and unknown malware, 0-days, and APT" can be downloaded here
Monday, February 6, 2017
Hackcon #12
I will be speaking at this years Hackcon in Oslo.
It is in Norwegian, my session content are covered HERE. A very short English summary are: Protecting your critical systems from new and unknown malware, 0-days, and APT with modern features as for instance Device/Credential Manager and Identity protection.
About Hackcon
The national cyber / information security conference HackCon was established in 2005. The Hackcon network consists of people from Norway who hold high safety expertise in cyber / information. The goal was to create practical cyber / information security courses and safety conference, combined with a social meeting place to meet future challenges in cyber / information
For complete Hackcon #12 agenda you can go HERE

It is in Norwegian, my session content are covered HERE. A very short English summary are: Protecting your critical systems from new and unknown malware, 0-days, and APT with modern features as for instance Device/Credential Manager and Identity protection.
About Hackcon
The national cyber / information security conference HackCon was established in 2005. The Hackcon network consists of people from Norway who hold high safety expertise in cyber / information. The goal was to create practical cyber / information security courses and safety conference, combined with a social meeting place to meet future challenges in cyber / information
For complete Hackcon #12 agenda you can go HERE
Tuesday, December 6, 2016
Microsoft Intune major update
Modern
users are a challenge for any organization. With different devise and usage pattern
than many organization are prepared for, we are risking the security of our
content and stability of our systems.
So,
the need for a mobile/modern device management tool (MDM) that can help use
remain secure and stable are for many a top priority. The Microsoft EM+s suit
contains all the tools that you need in a modern MDM solution.
Thursday, October 6, 2016
Windows 10 Anniversary update fail (KB3194496)
Just installed the Microsoft KB3194496 update for Windows 10 Anniversary update and have successfully rebooted.
I had the problem a lot of people have had lately with the update installing and rolling back after installation.
I had the problem a lot of people have had lately with the update installing and rolling back after installation.
Subscribe to:
Posts (Atom)
Cleaning Up Unknown IAM Assignments Across Azure Subscriptions
If you manage more than a handful of Azure subscriptions, IAM hygiene quickly becomes one of those tasks everyone knows is important, but ...
-
Working with mobile device management (MDM) require a lot of testing. With Windows 10 testing is no problem (except those things that demand...
-
I found myself in the situation that I needed to get the Windows key out from the ACPI in the UEFI bios and preferable get to use it in a ta...
-
Felt a bit stupid today (again). Have been struggling with some Microsoft Surface Go devices. Love the device but, when they are shipped wit...



