Muwahaha trick your windows system admistrator into giving you (a standard user) permanat admin (work in progress purely made by ai) Got the clanker who made it to write out a readme file I typing out all that go figure
A lightweight Windows service that allows you to run programs with administrator privileges via right-click context menu, without UAC prompts.
- Windows Vista or later (UAC required)
- Python 3.6+
- Administrator access (needed once for setup)
Install Python from the Microsoft Store (no admin required):
- Open Microsoft Store
- Search for "Python"
- Install the latest version
- Python will automatically be added to PATH
Open Command Prompt and run:
python --versionIf you see a version number, you're good to go!
- Download this repository as ZIP
- Extract to any folder
- Make sure
nssm.exeis in the same folder assetup.py
Important: Right-click setup.py → Open with → Select your Python installation
Or from Command Prompt:
python setup.pyThe setup will:
- Install required dependencies (pywin32)
- Copy files to
C:\Users\Public\Documents\elv - Install the Windows service
- Add context menu entry
After installation:
- Right-click any file or executable
- Click "elv" from the context menu
- The program launches with administrator privileges!
No UAC prompts, no hassle.
- Service runs at startup with SYSTEM privileges
- Elevator process runs hidden in the background with admin rights
- Context menu creates a request file when you right-click → elv
- Elevator watches the request queue folder
- Launches your program elevated and cleans up the request
User right-clicks file
↓
context_menu.py creates request.json
↓
elevator.py detects new request
↓
Launches program with admin privileges
↓
Deletes request.json
Run uninstall.py with administrator privileges:
python uninstall.pyThis removes:
- The Windows service
- Context menu entry
- All installed files
elv/
├── setup.py # Installation script
├── uninstall.py # Removal script
├── service.py # Windows service
├── elevator.py # Elevation handler
├── context_menu.py # Context menu integration
└── nssm.exe # Service wrapper
Service won't start:
- Make sure you have administrator privileges
- Check Windows Event Viewer for errors
- Verify pywin32 is installed:
pip list | findstr pywin32
Context menu doesn't appear:
- Restart Windows Explorer (Task Manager → Restart)
- Run
setup.pyagain as administrator
Programs don't launch elevated:
- Check if the service is running:
nssm status ElevationService - Verify files exist in:
C:\Users\Public\Documents\elv
Python not found error:
- Make sure Python is in PATH
- Try using full path:
C:\Users\YourName\AppData\Local\Programs\Python\Python3XX\python.exe setup.py
MIT License - Use at your own risk (whatever that is)
Issues and pull requests welcome! (I got no idea what I'm doing soo)