GithubHelp home page GithubHelp logo

snegohod / wufuc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from fourks/kb4012218-19

0.0 1.0 0.0 350 KB

Disables the "Unsupported Hardware" message in Windows Update, and allows you to continue installing updates on Windows 7 and 8.1 systems with Intel Kaby Lake, AMD Ryzen, or other unsupported processors.

License: GNU General Public License v3.0

Batchfile 33.55% C 66.45%

wufuc's Introduction

wufuc

English | русский | Français | Deutsch | Magyar | Portuguese (Brazil)

Click here to lend your support to wufuc and make a donation at pledgie.com ! Click here to tip wufuc on Gratipay!

Disables the "Unsupported Hardware" message in Windows Update, and allows you to continue installing updates on Windows 7 and 8.1 systems with Intel Kaby Lake, AMD Ryzen, or other unsupported processors.

Downloads

You can get the latest stable version here!

If you are feeling brave, you can try the latest unstable builds here. Use these at your own risk!

Sponsors

The installer packages are created with Advanced Installer on an open source license. Advanced Installer's intuitive and friendly user interface allowed me to quickly create a feature complete installer with minimal effort. Check it out!

Reporting an issue

See CONTRIBUTING.md.

Preface

The changelog for Windows updates KB4012218 and KB4012219 included the following:

Enabled detection of processor generation and hardware support when PC tries to scan or download updates through Windows Update.

These updates marked the implementation of a policy change they announced some time ago, where Microsoft stated that they would not be supporting Windows 7 or 8.1 on next-gen Intel, AMD and Qualcomm processors.

It is essentially a big middle finger to anyone who decides to not "upgrade" to the steaming pile of 💩 known as Windows 10, especially considering the extended support periods for Windows 7 and 8.1 won't be ending until January 4, 2020 and January 10, 2023 respectively.

This has even affected people with older Intel and AMD processors! I've received user reports of the Intel Atom Z530, Intel Core i5-M 560, Intel Core i5-4300M, Intel Atom D525, Intel Pentium B940, AMD FX-8350, and AMD Turion 64 Mobile Technology ML-34 all being blocked from receiving updates.

Bad Microsoft!

If you are interested, you can read my original write up on discovering the CPU check here.

How it works

Basically, inside a file called wuaueng.dll there are two functions: IsDeviceServiceable(void) and IsCPUSupported(void). IsDeviceServiceable(void) is essentially a wrapper around IsCPUSupported(void) that caches the result it receives and recycles it on subsequent calls.

My patch takes advantage of this result caching behavior by setting the "first run" value to FALSE and the cached result to TRUE.

  • At system boot the wufuc scheduled task runs as the NT AUTHORITY\SYSTEM user.
  • wufuc determines what service host group process the Windows Update service runs in (typically netsvcs), and injects itself into it.
  • Once injected, it applies a hook to LoadLibraryEx that automatically patches wuaueng.dll when it is loaded.
  • Any previously loaded wuaueng.dll is also patched.

Several improvements over my batchfile method:

  • No system files are modified!
  • Heuristic-based patching, which means it will usually keep working even after new updates come out.
  • C is best language!
  • No external dependencies.

wufuc's People

Contributors

marcioishii avatar minlexx avatar navossoc avatar neroux avatar stepotronic avatar syping avatar winterheart avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.