To stay up to date, remember to subscribe to our YouTube channel!
SUBSCRIBE ON YOUTUBE
Windows 10 and Windows 11 offer us as users some functional alternatives to manage the applications we use daily and one of these managers is winget, winget, which is the abbreviation of Windows Package Manager, has been developed to manage and administer software in aspects relevant such as installation, uninstallation and so on..
Winget gives us the opportunity to perform tasks such as:
- Install or search for apps.
- List installed applications.
For many users today it is a problem to access and use winget since the error that the system does not recognize winget is thrown, for this reason in this tutorial we bring a series of options to correct this error and use winget 100%.
1 Register again Winget
It is possible to correct this winget error by registering the utility again, this will overwrite all the files giving the solution, to achieve this we open PowerShell from the browser as administrator:
In the console we execute the following syntax:
Add-AppxPackage -DisableDevelopmentMode -Register “C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.19.2011.0_x64__######” -Verbose
In the path C:\Program Files\WindowsApps we must copy the correct name of the folder since it changes based on the version used.
Press Enter and wait for this process to finish:
2 Activate Windows Package Manager
With this option we seek to validate that the use of Winget is active, to verify it we will go to the route:
- Advanced application settings
By clicking there we will see the following options: Here we click on "Application execution aliases"
and then we confirm that the "Windows Package Manager Client" switch is active:
3 Update Winget
As with any application, if Winget is not up to date, it can trigger various errors, including the fact that it is not recognized by Windows. To check if there are updates, we are going to open the Windows Store and there we look for "application installer", click on " Application installer" and validate if the Update button is activated:
If it is not activated, it is because it has the latest available updates..
4 Reinstall Winget
In case the error persists we can reinstall Winget, in this case it must be done from GitHub, to achieve this we will go to the following link:
There we download the MSIXBundle option:
We run the downloaded file to see the following:
We click on "Reinstall" and we will see the following message:
We complete the process by clicking on "Reinstall" again:
5 Edit System Variables
An error for which the system does not recognize Winget is due to failures in the system variables, we can add them again and check that Winget works.
For this, in the search engine we enter the word "variables" and click on "Edit system environment variables":
The following will open:
There we click on "Environment variables" and then in the "User variables" section we select "PATH":
The following opens:
There we click on "New" and enter the following path:
We apply the changes.
6 System Reset
If none of the previous steps help to correct this error, we can reset the system.
For this we will go to the route:
The following will open:
There we are going to click on "Reset the equipment" and then select whether or not to leave the files:
We define the installation method to use:
We will see a small summary:
We click on "Next", we wait for the process to load and at the end we click on "Reset" to complete this task:
With any of the previous methods we can validate that Winget works, for example it is possible to execute the following from the terminal console:
It is possible to search for applications:
We accept to see the results:
Winget gives us a central point in Windows 10/11 for everything related to system applications and is a safe mechanism to work on these essential aspects in the daily face of a Windows computer.