From e274b3caad1a714864260e1332d89ce9b3ce200c Mon Sep 17 00:00:00 2001 From: zeffy Date: Sat, 7 Oct 2017 05:58:33 -0700 Subject: [PATCH] update readme.md --- README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 01e1b22..e51e313 100644 --- a/README.md +++ b/README.md @@ -44,15 +44,6 @@ If you are interested, you can read my original write up on discovering the CPU - Byte pattern-based patching, which means it will usually keep working even after new updates come out. - Absolutely zero dependencies. -## How to use unattended feature in the batch setup scripts - -`install_wufuc.bat` and `uninstall_wufuc.bat` both support two command line parameters that can used alone or be combined to change the behavior of the scripts: - -- `/NORESTART` - Automatically declines rebooting after the setup finishes. -- `/UNATTENDED` - Skips all prompts for user interaction, and automatically restarts unless `/NORESTART` is also specified. - -These must be used from an elevated command line prompt. - ## How it works Basically, inside a system file called `wuaueng.dll` there are two functions responsible for the CPU check: `IsDeviceServiceable(void)` and `IsCPUSupported(void)`. @@ -66,6 +57,15 @@ My patch takes advantage of this behavior by patching a couple of boolean values * `RegQueryValueExW` hook is necessary to provide compatibility with attempts by other third-parties at bypassing the CPU check. (see issue [#100](../../issues/100)) - If wufuc gets loaded by a `svchost.exe` process that isn't related to Windows Update, it goes into a dormant state and no hooks are applied. +## How to use unattended feature in the batch setup scripts + +`install_wufuc.bat` and `uninstall_wufuc.bat` both support two command line parameters that can used alone or be combined to change the behavior of the scripts: + +- `/NORESTART` - Automatically declines rebooting after the setup finishes. +- `/UNATTENDED` - Skips all prompts for user interaction, and automatically restarts unless `/NORESTART` is also specified. + +These must be used from an elevated command line prompt. + ## What to do if you get stuck on a black screen with just a cursor after the Windows boot animation This will happen if wufuc somehow manages to crash the `svchost.exe` process that is responsible for displaying the login screen.