question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Windows version conditions do not apply for Windows 10

See original GitHub issue

Some artifacts have conditions in the form of os_major_version >= X AND os_minor_version >= Y. This fails starting with Windows 10, which can have version 10.0. A condition like os_major_version >= 6 AND os_minor_version >= 1 will fail here although the artifact applies.

One example is https://github.com/ForensicArtifacts/artifacts/blob/015b37543d97ad719f92d51b0a6cd548e4b9dab6/data/windows.yaml#L1335

I can think of multiple solutions to this:

  • More complicated conditions like (os_major_version >= 6 AND os_minor_version >= 1) OR os_major version >= 7
  • A semantic version compare, something like os_version >= "6.1"

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
joachimmetzcommented, Jul 3, 2022

What are you specifically referring to when you say can it all together?

I mean removing it. What is the value it adds? Let me check with the GRR folks but this might be a left over from early days.

0reactions
joachimmetzcommented, Jul 10, 2022

Removed conditions https://github.com/ForensicArtifacts/artifacts/pull/515

Rationale: os_major_version and os_minor_version use the kernel version. Artifact definitions are typically product level specific not kernel level.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Some versions of Windows 10 display a notification to install ...
Discusses the reasons that some versions of Windows 10 display a notification to install the latest Windows version.
Read more >
Get help with Windows upgrade and installation errors
See some of the most common upgrade and installation errors for Windows 10 and Windows 11, and what you can do to try...
Read more >
Windows Update issues troubleshooting - Microsoft Learn
Run the built-in Windows Update troubleshooter to fix common issues. Navigate to Settings > Update & Security > Troubleshoot > Windows Update.
Read more >
Check Windows 10 System Requirements & Specs - Microsoft
Get system requirements, specifications & important details about Windows 10 OS. Also, learn about deprecations, upgrade editions & localization languages.
Read more >
Windows 10 system requirements - Microsoft Support
Windows 10 system requirements · Latest OS: Make sure you're running the latest version—either Windows 7 SP1 or Windows 8.1 Update. · Processor:...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found