microsoft / microsoft/winget-pkgs
[Package Issue]: Microsoft.WindowsAdminCenter
- Dominant language
- No language data
- Stars
- 11.1k
- Forks
- 9.7k
- PR merge metrics
- PR metrics pending
Description
### Please confirm these before moving forward
- [x] I have searched for my issue and not found a work-in-progress/duplicate/resolved issue.
- [x] I have not been informed if the issue is resolved in a preview version of the winget client.
### Category of the issue
Installation issue.
### Brief description of your issue
Install/upgrade of Windows Admin Center (`Microsoft.WindowsAdminCenter`) 2.6.6.18 from WinGet fails, claiming to be unable to import certificates. In interactive mode, the installer gets stuck on the "Import Windows Admin Center certificate" screen. (Edit: also applies to 2.6.7.28.)
Manually running the same installer WinGet uses (; currently the same file as ) works as expected.
The previous version offered by WinGet, 2.4.1.2, does not exhibit this issue: `winget install --force -i -v 2.4.1.2 --id Microsoft.WindowsAdminCenter` works.
The issue is also described here:
(To be honest, I'm not sure whether this is an issue with the WinGet manifest, a bug in `winget.exe`, or a bug in the Windows Admin Center installer.)
### Steps to reproduce
- Non-interactive:
```
winget install --force --id Microsoft.WindowsAdminCenter
```
- Interactive:
```
winget install --force -i --id Microsoft.WindowsAdminCenter
```
Or, with an older version installed:
```
winget upgrade -i --id Microsoft.WindowsAdminCenter
```
### Actual behavior
In non-interactive mode, installation errors out:
```
> winget install --force --id Microsoft.WindowsAdminCenter
Found Windows Admin Center (v2) [Microsoft.WindowsAdminCenter] Version 2.6.6.18
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Starting package install...
Installer failed with exit code: 1
Installer log is available at: <...>\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir\Microsoft.WindowsAdminCenter.2.6.6.18-26-04-24-14-46-55.log
```
In interactive mode, the installer can't get past a certificate issue. Manually installing the certificates by running the provided PowerShell code does not help.
### Expected behavior
Successful install/upgrade of Windows Admin Center.
### Environment
```raw
Windows Package Manager v1.28.240
Copyright (c) Microsoft Corporation. All rights reserved.
Windows: Windows.Desktop v10.0.26200.8246
System Architecture: X64
Package: Microsoft.DesktopAppInstaller v1.28.240.0
Winget Directories
-------------------------------------------------------------------------------------------------------------------------------
Logs %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\DiagOutputDir
User Settings %LOCALAPPDATA%\Packages\Microsoft.DesktopAppInstaller_8wekyb3d8bbwe\LocalState\settings.json
Portable Links Directory (User) %LOCALAPPDATA%\Microsoft\WinGet\Links
Portable Links Directory (Machine) C:\Program Files\WinGet\Links
Portable Package Root (User) %LOCALAPPDATA%\Microsoft\WinGet\Packages
Portable Package Root C:\Program Files\WinGet\Packages
Portable Package Root (x86) C:\Program Files (x86)\WinGet\Packages
Installer Downloads %USERPROFILE%\Downloads
Configuration Modules %LOCALAPPDATA%\Microsoft\WinGet\Configuration\Modules
Links
---------------------------------------------------------------------------
Privacy Statement https://aka.ms/winget-privacy
License Agreement https://aka.ms/winget-license
Third Party Notices https://aka.ms/winget-3rdPartyNotice
Homepage https://aka.ms/winget
Windows Store Terms https://www.microsoft.com/en-us/storedocs/terms-of-sale
Admin Setting State
--------------------------------------------------
LocalManifestFiles Disabled
BypassCertificatePinningForMicrosoftStore Disabled
InstallerHashOverride Disabled
LocalArchiveMalwareScanOverride Disabled
ProxyCommandLineOptions Disabled
DefaultProxy Disabled
```
### Screenshots and Logs
- Failed non-interactive mode install log: Microsoft.WindowsAdminCenter.2.6.6.18-26-04-24-14-46-55-edited.log
- Failed interactive mode install log: Microsoft.WindowsAdminCenter.2.6.6.18-26-04-24-14-30-59-edited.log
Screenshot of installer on "Import Windows Admin Center certificate" page with PowerShell code to copy.
Contributor guide
Research direction
Start by reproducing the failure with the listed winget install and upgrade commands, then inspect the attached Microsoft.WindowsAdminCenter.2.6.6.18 logs for the certificate-import error. Compare the failing 2.6.6.18/2.6.7.28 behavior with version 2.4.1.2 and the manually run installer; done means a successful WinGet installation or a clearly identified manifest, client, or installer cause.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- powershell
- Domain
- cli, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100