Fake Windows Update is a prank application that simulates a Windows Update screen. It blocks input and displays a fake update screen that looks like a real Windows Update screen. It is written in Electron and C++.
Warning
This project is still under development
Caution
This project uses Windows API to block keyboard and mouse input. It may not work on some systems or may cause problems.
Use it at your own risk!
- Add more update screens (currently only Windows 10 is available)
- Improve update screen and make it more realistic (partially done)
- Improve input blocking
- Add customization
- Single executable file
- Multi monitor support
The application can be configured by adding a configs.json
file to the application directory.
The following configuration options are available. All options are optional.
Time in seconds after which the ‘update’ should be completed and the application should be closed. Using this option will cause increasing progress. By default, the application will never automatically close and progress will be constantly set to 0%.
Function for calculating progress against time. The following options are available linear
, quadratic
, logarithmic
. This option requires the exit_after
option. Default is linear
.
Progress is calculated using the following formulas (
The command to execute after the ‘update’ has been completed. By default, no command is executed.
If set to true
keyboard and mouse input is not blocked, the window is not opened fullscreen and on the top. Default is false
.
If set to true
DevTools will be opened automatically on application startup. If false
DevTools can be opened manually using Ctrl + Shift + I. Default is false
.
-
You need to have Node.js and g++ (or any other C++ compiler) installed on your computer.
-
Clone this repository.
git clone https://github.com/bartekl1/fake-windows-update.git
cd fake-windows-update
- Install dependencies.
npm install
- Compile
block_input.cpp
.
Example command for g++:
g++ block_input.cpp -o block_input.exe -static -std=c++23
- Run Electron app.
npm start
-
You need to have Node.js and g++ (or any other C++ compiler) installed on your computer.
-
Clone this repository.
git clone https://github.com/bartekl1/fake-windows-update.git
cd fake-windows-update
- Install dependencies.
npm install
- Compile
block_input.cpp
.
Example command for g++:
g++ block_input.cpp -o block_input.exe -static -std=c++23
- Build Electron app.
npm run make
- Built app will be in
out/make
directory.
- Press Ctrl + Alt + Del.
- Click
Cancel
or press Esc. - Press Alt + F4.
- Close
block_input.exe
console window.