Python 3.9을(를) 확인 창 없이 설치하고 제거하며, 배포 도구에서 감지하기 위한 명령어입니다. 매니페스트에 기재되어 있거나 설치 기술의 문서화된 기본값처럼 확실한 명령어만 표시합니다.
관련 가이드: 무인 설치(자동 설치) 옵션 총정리 · 레지스트리·PowerShell로 프로그램 제거
winget 사용
PowerShell
winget install --id Python.Python.3.9 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Python.Python.3.9 -e --silentwinget uninstall --id Python.Python.3.9 -e --silent설치 파일별
64비트 · EXE (WiX Burn) · 현재 사용자
무인 설치
python-3.9.13-amd64.exe /quiet /norestart제거
msiexec /x {F599560C-4808-4DAA-85D8-15F363099F67} /qn /norestart- MSI 제품 코드
- {f599560c-4808-4daa-85d8-15f363099f67}
- 제거 레지스트리 키
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f599560c-4808-4daa-85d8-15f363099f67}
- UpgradeCode
- {4C337952-1816-5EFC-A444-4EC7803F00B5}
- DisplayVersion
- 3.9.13150.0
64비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
python-3.9.13-amd64.exe /quiet /norestart제거
msiexec /x {F599560C-4808-4DAA-85D8-15F363099F67} /qn /norestart- MSI 제품 코드
- {f599560c-4808-4daa-85d8-15f363099f67}
- 제거 레지스트리 키
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{f599560c-4808-4daa-85d8-15f363099f67}
- UpgradeCode
- {4C337952-1816-5EFC-A444-4EC7803F00B5}
- DisplayVersion
- 3.9.13150.0
32비트 · EXE (WiX Burn) · 현재 사용자
무인 설치
python-3.9.13.exe /quiet /norestart제거
msiexec /x {9E6D90A2-242C-4DC0-8F2A-1B967274134F} /qn /norestart- MSI 제품 코드
- {9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- 제거 레지스트리 키
- HKCU\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- UpgradeCode
- {2C4B1BF9-2AE3-54D5-B4DD-FEF8EC0B6DC0}
- DisplayVersion
- 3.9.13150.0
32비트 · EXE (WiX Burn) · 모든 사용자
무인 설치
python-3.9.13.exe /quiet /norestart제거
msiexec /x {9E6D90A2-242C-4DC0-8F2A-1B967274134F} /qn /norestart- MSI 제품 코드
- {9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- 제거 레지스트리 키
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{9e6d90a2-242c-4dc0-8f2a-1b967274134f}
- UpgradeCode
- {2C4B1BF9-2AE3-54D5-B4DD-FEF8EC0B6DC0}
- DisplayVersion
- 3.9.13150.0
PowerShell: 다운로드, 검증, 설치
공식 파일을 다운로드하고 SHA256을 확인한 뒤 무인 설치합니다.
install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe'
$sha256 = 'FB3D0466F3754752CA7FD839A09FFE53375FF2C981279FD4BC23A005458F7F5D'
$file = Join-Path $env:TEMP 'python-3.9.13-amd64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13-amd64.exe'
$sha256 = 'FB3D0466F3754752CA7FD839A09FFE53375FF2C981279FD4BC23A005458F7F5D'
$file = Join-Path $env:TEMP 'python-3.9.13-amd64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13.exe'
$sha256 = 'F363935897BF32ADF6822BA15ED1BFED7AE2AE96477F0262650055B6E9637C35'
$file = Join-Path $env:TEMP 'python-3.9.13.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait install-python-3-9.ps1
$url = 'https://www.python.org/ftp/python/3.9.13/python-3.9.13.exe'
$sha256 = 'F363935897BF32ADF6822BA15ED1BFED7AE2AE96477F0262650055B6E9637C35'
$file = Join-Path $env:TEMP 'python-3.9.13.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/quiet /norestart' -Wait