Microsoft Copilotを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id Microsoft.Copilot -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Microsoft.Copilot -e --silentwinget uninstall --id Microsoft.Copilot -e --silentインストーラー別
64ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i CopilotStableEnterpriseX64.msi /qn /norestartログを出力
msiexec /i CopilotStableEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-copilot-install.log"ARM64 · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i CopilotStableEnterpriseARM64.msi /qn /norestartログを出力
msiexec /i CopilotStableEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-copilot-install.log"32ビット · MSI · すべてのユーザー · en-US
サイレントインストール
msiexec /i CopilotStableEnterpriseX86.msi /qn /norestartログを出力
msiexec /i CopilotStableEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-copilot-install.log"PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-microsoft-copilot.ps1
$url = 'https://download.microsoft.com/download/efff0c3e-6a6d-47f9-b78e-b96ef24cd119/CopilotStableEnterpriseX64.msi'
$sha256 = '32FD96C2917356BF7C31525BCAF648E133345021C819CF30BF217F76087B5F88'
$file = Join-Path $env:TEMP 'CopilotStableEnterpriseX64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-microsoft-copilot.ps1
$url = 'https://download.microsoft.com/download/efff0c3e-6a6d-47f9-b78e-b96ef24cd119/CopilotStableEnterpriseARM64.msi'
$sha256 = 'E9C7C070CBD32F4752EC46F8C38C7001FF43369A7AD7C8C5AA16FCF5C47C3FC4'
$file = Join-Path $env:TEMP 'CopilotStableEnterpriseARM64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-microsoft-copilot.ps1
$url = 'https://download.microsoft.com/download/efff0c3e-6a6d-47f9-b78e-b96ef24cd119/CopilotStableEnterpriseX86.msi'
$sha256 = 'E77DBB7576EB6FA785744627F2FFB193C8A0814DCCD86A93955826D20562072C'
$file = Join-Path $env:TEMP 'CopilotStableEnterpriseX86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait