- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
08-14-2024 05:05 AM
Hello dear Community,
I have the following problem: I can’t use the Win-Get command on the XDR terminal in Cortex. Can someone help me to make this command executable on the PowerShell XDR terminal.
08-14-2024 06:33 AM
Hi @F.Rafuna, thanks for reaching us using the LiveCommunity.
Looks like the "winget" app command is not configured as a system path environmental variable. The live terminal runs as SYSTEM, and that's why it is not found.
You can move to the winget.exe folder using "cd" and then run the winget.exe from there, and if needed you can check the Microsoft documentation to add it as a full system env variable. This same thing can happen with some other "new" Windows 10-11 commands.
If this post answers your question, please mark it as the solution.
08-21-2024 03:24 AM
Hi
I am trying to install software with the winget command in the remote terminal and it is not allowed, I tried to allocate winget.exe to c:\windows\system32 but it is not allowed
while installing any program with winget directly on localhost is possible
thnx
08-28-2024 05:29 AM
Hi @F.Rafuna
WinGet should be located somewhere under "C:\Program Files\WindowsApps". As mentioned previously this path is not configured as a system path environmental variable.
Try to allocate the file and run it afterwards:
Best Regards
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!