Following the examples from Python2x\Lib\site-packages\py2exe\samples\user_access_control
just add uac_info="requireAdministrator"
to console or windows dict:
windows = [{
'script': "admin.py",
'uac_info': "requireAdministrator",
},]
More Related Contents:
- pip install failing with: OSError: [Errno 13] Permission denied on directory
- How can I convert a .py to .exe for Python?
- py2exe – generate single executable file
- Request UAC elevation from within a Python script?
- IndexError: tuple index out of range when using py2exe
- How to call python script on excel vba?
- How to set folder permissions in Windows?
- Process to convert simple Python script into Windows executable [duplicate]
- Py2exe for Python 3.0
- Packaging a Python script on Linux into a Windows executable
- Pygame2Exe Errors that I can’t fix
- python IDLE shell appears not to handle some escapes correctly
- Are there any alternatives to py2exe? [closed]
- Hiding console window of Python GUI app with py2exe
- PermissionError: [Errno 1] Operation not permitted after macOS Catalina Update
- how can i get the executable’s current directory in py2exe?
- py2exe fails to generate an executable
- making exe file from python that uses command line arguments
- Write file with specific permissions in Python
- how to find the owner of a file or directory in python
- Serving large files ( with high loads ) in Django
- Make a py2exe exe run without a console?
- Determining Whether a Directory is Writeable
- How to decompile an exe file compiled by py2exe?
- View permissions in Django [duplicate]
- scipy with py2exe
- Relative import error with py2exe
- How do you retrieve the tags of a file in a list with Python (Windows Vista)?
- Dropping Root Permissions In Python
- Auto updating a python executable generated with pyinstaller