Ordres per instal·lar Microsoft Copilot sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb 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 --silentPer instal·lador
64 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i CopilotStableEnterpriseX64.msi /qn /norestartDesar un registre
msiexec /i CopilotStableEnterpriseX64.msi /qn /norestart /l*v "%TEMP%\microsoft-copilot-install.log"ARM64 · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i CopilotStableEnterpriseARM64.msi /qn /norestartDesar un registre
msiexec /i CopilotStableEnterpriseARM64.msi /qn /norestart /l*v "%TEMP%\microsoft-copilot-install.log"32 bits · MSI · Tots els usuaris · en-US
Instal·lació silenciosa
msiexec /i CopilotStableEnterpriseX86.msi /qn /norestartDesar un registre
msiexec /i CopilotStableEnterpriseX86.msi /qn /norestart /l*v "%TEMP%\microsoft-copilot-install.log"PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
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