I'm trying to install sysinternals for our computers remotely, but when attempting to install with winget install sysinternals --accept-source-agreements --accept-package-agreements
I'm getting "Verifying/Requesting package acquisition failed: no store account found"
When trying winget install --help
I get the following options:
Windows Package Manager v1.1.12653
Copyright (c) Microsoft Corporation. All rights reserved.
Installs the selected package, either found by searching a configured source or directly from a manifest. By default, the query must case-insensitively match the id, name, or moniker of the package. Other fields can be used by passing their appropriate option.
usage: winget install [[-q] <query>] [<options>]
The following arguments are available:
-q,--query The query used to search for a package
The following options are available:
-m,--manifest The path to the manifest of the package
--id Filter results by id
--name Filter results by name
--moniker Filter results by moniker
-v,--version Use the specified version; default is the latest version
-s,--source Find package using the specified source
--scope Select install scope (user or machine)
-e,--exact Find package using exact match
-i,--interactive Request interactive installation; user input may be needed
-h,--silent Request silent installation
--locale Locale to use (BCP47 format)
-o,--log Log location (if supported)
--override Override arguments to be passed on to the installer
-l,--location Location to install to (if supported)
--force Override the installer hash check
--accept-package-agreements Accept all license agreements for packages
--header Optional Windows-Package-Manager REST source HTTP header
--accept-source-agreements Accept all source agreements during source operations
More help can be found at: https://aka.ms/winget-command-install
I've tried different options, when doing winget install --help
like --silent, --interactive, or --override, but to no avail.
I can go into the Microsoft Store directly to install it and it asks me if I want to sign in or use "No Thanks" to install, which then works, but this isn't what I'm intending to do, I don't want to go to each machine to do this. I could probably try the other method of installing through Powershell from here https://serverfault.com/questions/1018220/how-do-i-install-an-app-from-windows-store-using-powershell, but this again, is not what I'm intended.
Any assistance with this would be much appreciated.
The Windows Package Manager Manifest Creator is available for download from the winget-create repository. To install the package, simply click the the MSIX file in your browser. Once it has downloaded, click open.
It may be faster to install, uninstall or upgrade applications using winget, than using Microsoft Store or the Settings application for that. Windows 10 or 11 users who don't use the Microsoft Store may remove it as a source and use the Windows Package Manager with the default repository.
View options for a command: winget <command> --help or winget <command> -? Manages the repositories accessed by Windows Package Manager. Installs the specified application. exports the list of installed applications. Provides customizations for the Windows Package Manager. Displays the list of listed apps and if an update is available.
Install winget. There are several ways to install the winget tool: The winget tool is included in the flight or preview version of Windows App Installer. You must install the preview version of App Installer to use winget. To gain early access, submit your request to the Windows Package Manager Insiders Program.
Enable installing ms store apps in winget settings. Winget find the app and install it. winget is unable to verify/aquire package. @TechWatching I'm guessing this may be a challenge with translation of the strings in the message.
This isn't supported yet (as of January 2022). There is an open issue at GitHub: https://github.com/microsoft/winget-cli/issues/1585
Edit: This bug was fixed and is available in the Windows Package Manager 1.3-preview release. It will be a part of the 1.3 release (as of June 2022)
Windows Package Manager releases at Github.
open the MS Store and setting. toggle purchase login to on.
To download the experimental version where a store account is not required for free applications, go to the github page for winget-cli. Here you can download the .msixbundle (anything above v1.3 should be good).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With