Python 3.12 silent install and uninstall
Python is a programming language that lets you work more quickly and integrate your systems more effectively.
- Category
- Developer Tools
- Installer
- WiX Burn bootstrapper
- Architecture
- x86, x64, arm64
- Checked version
- 3.12.10
- winget ID
Python.Python.3.12- License
- PSF-2.0
- Download
- Official download
Silent install
python-3.12.10-amd64.exe /quiet /norestart InstallAllUsers=1 PrependPath=1 - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - Run the command above. Adjust the file name if you downloaded a different version.
Or install with winget
winget install --id Python.Python.3.12 --exact --silent --scope machine --accept-package-agreements --accept-source-agreements Silent uninstall
winget uninstall --id Python.Python.3.12 --exact --silent --accept-source-agreements Run the command from an elevated Command Prompt.
About the WiX Burn bootstrapper installer
A setup.exe that bundles one or more MSI packages and prerequisites. It takes its own switches, not msiexec ones.
| Switch | What it does |
|---|---|
/quiet | No user interface. |
/passive | Progress bar only, no questions. |
/norestart | Suppress any restart. |
/log "C:\Temp\install.log" | Write a log file. |
/uninstall | Remove the bundle (run the cached setup.exe). |
Deploy Python 3.12 with Microsoft Intune
Package the installer as a Win32 app (.intunewin) and use these settings:
| Install command | python-3.12.10-amd64.exe /quiet /norestart InstallAllUsers=1 PrependPath=1 |
|---|---|
| Uninstall command | Use the uninstaller from the install folder; winget is not available to the SYSTEM account by default. |
| Install behavior | System |