External Storage Write Blocker for Windows OS
- OS: Windows 7 and later
- Python: 3.8.0 and later
- Setup python's virtual enviroment.
python -m venv venv
- Activate venv.
.\venv\Scripts\Activate.ps1
If not did setup PowerSehll execution policy, try this berfore activate venv.
Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope Process -Force
- Install requirements.
pip install -r requirements.txt
- Open Windows Terminal (PowerShell or CMD) with run as administrator.
- Run script.
python .\winwb.py
- Build through pyinstaller.
pyinstaller --uac-admin --onefile --icon=.\images\logo.ico --name=WinWB winwb.py
- It's created in the dist directory.
- Build through pyinstaller.
pyinstaller --uac-admin --onefile --windowed --icon=.\images\logo.ico --add-data="images;images" --name=WinWB-GUI winwb-gui.py
- It's created in the dist directory.