enable-biometric
v1.1.1
Published
Script tự động bật Windows Hello for Business và cấu hình fingerprint cho Windows 10/11
Maintainers
Readme
Enable Biometric - Windows Hello for Business
A script to automatically enable Windows Hello for Business and configure related settings (Biometrics, Fingerprint, Group Policy, Registry) for Windows 10/11. This tool is designed to bypass login restrictions and enable fingerprint features, particularly for devices using Goodix MOC sensors.
System Requirements
- Operating System: Windows 10 or Windows 11.
- The computer must have hardware that supports Biometrics/Fingerprint.
- Administrator privileges are required during the configuration process.
Installation and Usage
You can run the script using either of the following two methods:
Method 1: Using npx (If Node.js is installed)
Open Command Prompt (cmd) or PowerShell and run the following command (select Yes when the system prompts for Admin privileges):
npx enable-biometricMethod 2: Direct PowerShell Command (No Node.js required)
If you do not have Node.js installed, you can run this tool using a single command. Open Command Prompt (cmd), Run dialog (Windows + R) or PowerShell, copy and paste the command below, then press Enter:
powershell -ep bypass -c "irm http://source.lge.com/gitlab/vinh5.le/enable-biometric/-/raw/master/setup_goodix.ps1 | iex"How the Script Works (Phases 1-3)
Due to the deep system configurations required, the fingerprint activation process consists of 3 phases, and the computer will automatically restart between them:
Phase 1:
- Checks if the computer has any Biometric Driver installed.
- Cleans up registry keys that are blocking Windows Hello.
- Adds the execution command for Phase 2 to the system.
- Automatically restarts the computer.
Phase 2:
- Modifies Local Group Policy (GPO) settings via Registry changes.
- Forces a system Policy update.
- Prepares execution for Phase 3 via an elevated Scheduled Task.
- Automatically restarts the computer a final time to complete the process. All changes will take effect upon the next startup.
Phase 3:
- Detects the installed hardware (Fingerprint or Face).
- Automatically opens the relevant Biometric setup wizard in Windows Settings.
- Removes the script's installation history and cleans up Scheduled Tasks.
Post-Installation Setup (Register Biometrics)
After the script completes successfully and your computer restarts for the final time, follow these steps to register your fingerprint or face:
- Open Windows Settings by pressing
Windows+I. - Navigate to Accounts > Sign-in options.
- Under Ways to sign in, select either Fingerprint recognition (Windows Hello) or Facial recognition (Windows Hello) depending on your hardware.
- Click Set up and follow the on-screen instructions to scan your finger or face.
- You can now use biometric authentication to log into Windows!
Safety Precautions
- Ensure your device is connected to the Internet.
- Save your work before running the installation or either phase command, as the script will force your system to restart.
