Skip to content

saad-shaikh-256/WinLock-Windows-AppLocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

WinLock - Windows AppLocker

WinLock is a professional-grade, minimalist security utility for Windows 11. It is designed to protect specific applications (Browsers) with a modern passcode interface that feels native to the OS. Built with Python and CustomTkinter, it features a Windows 11 Fluent Design UI that automatically adapts to your system's Light or Dark mode.

Important

The default password is 1234 if you have mistakenly run the project without seeing the documentation.


✨ Features

  • Strict Lockdown: Full-screen solid UI prevents unauthorized viewing, minimizing, or Alt-Tabbing until the correct PIN is entered.
  • Adaptive UI: Seamlessly switches between Light and Dark mode based on your Windows system settings.
  • Individual App Security: Smart tracking allows you to lock Chrome, Edge, Brave, and Opera individually. Unlocking one does not automatically unlock the others.
  • Win+L Protection: Integrated with Windows system calls; automatically re-locks all protected applications the moment you lock your Windows workstation.
  • Auto-Startup Service: Self-registers in the Windows Registry to start automatically in the background upon login.
  • Session-Based Memory: Once unlocked, a browser stays open until you close it or lock your PC.

πŸ› οΈ Technologies Used

  • Python (Core Logic)
  • CustomTkinter (Modern Fluent UI)
  • Psutil (Process Monitoring)
  • Winreg (Windows Registry Integration)
  • Ctypes (System-level Lock Detection)

πŸ“ Project Structure

WinLock-Windows-AppLocker/
β”‚
β”œβ”€β”€ main.pyw           # Main application logic & UI
└── README.md          # Project documentation
  • main.pyw: The entry point. Using the .pyw extension ensures the app runs silently in the background without a command prompt window.

βš™οΈ Configuration

To customize your security settings, open main.pyw in any text editor:

  • Change Passcode: Edit line 11:
    SECRET_CODE = "your_new_pin"
  • Add More Apps: Edit the TARGET_APPS list on line 10 to include any other .exe process you wish to protect.

⚑ Installation & Usage

To run this project locally:

  1. Clone the repository:

    git clone https://github.com/saad-shaikh-256/WinLock-Windows-AppLocker.git
  2. Navigate to the project folder:

    cd WinLock-Windows-AppLocker
  3. Install required dependencies:

    pip install customtkinter psutil
  4. Launch the application: Double-click main.pyw from your file manager.

Note: On the first run, the app will automatically register itself to start with Windows. You do not need to run it manually again.


❌ Uninstallation

To remove WinLock from your system:

  1. Open Task Manager (Ctrl + Shift + Esc).
  2. Find pythonw.exe, right-click it, and select End Task.
  3. Open Registry Editor (Win + R, type regedit).
  4. Navigate to: HKCU\Software\Microsoft\Windows\CurrentVersion\Run.
  5. Delete the entry named WinLockApp.

🚧 Future Enhancements

  • Multi-user passcode support.
  • Custom background blur effects (Glassmorphism).
  • Mobile remote-unlock integration.
  • Forgotten PIN recovery via email.

πŸ™Œ Credits


⚠️ Disclaimer

WinLock is provided for personal security and educational purposes. While it provides a strong deterrent, it is not a replacement for full-disk encryption (BitLocker) or robust Windows user account passwords. The developer is not responsible for any locked access due to forgotten PINs.

About

A professional, minimalist Windows 11 AppLocker for browsers, featuring an adaptive Fluent Design UI and automated system integration.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages