Describe the problem
I am running a system context Powershell session. Get-WingetPath delivers the wrong winget.exe location because it expects nt-authority. Culture is german, so the system answers with nt-autorität as result of whoami.
Log is in additional informations.
Expectation
No response
Additional Information
PS C:\Windows\system32> Get-WGPath
AUSFÜHRLICH: [14:10:07.3657127] Starting Get-WGPath
AUSFÜHRLICH: [14:10:07.3827148] Running as nt-autorität\system
AUSFÜHRLICH: [14:10:07.3837279] Using user default location
C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps\Winget.exe
AUSFÜHRLICH: [14:10:07.3867134] Ending Get-WGPath
PowerShell version
5.1
Platform
Windows 10 Pro or Enterprise
Additional Checks
Describe the problem
I am running a system context Powershell session. Get-WingetPath delivers the wrong winget.exe location because it expects nt-authority. Culture is german, so the system answers with nt-autorität as result of whoami.
Log is in additional informations.
Expectation
No response
Additional Information
PS C:\Windows\system32> Get-WGPath
AUSFÜHRLICH: [14:10:07.3657127] Starting Get-WGPath
AUSFÜHRLICH: [14:10:07.3827148] Running as nt-autorität\system
AUSFÜHRLICH: [14:10:07.3837279] Using user default location
C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps\Winget.exe
AUSFÜHRLICH: [14:10:07.3867134] Ending Get-WGPath
PowerShell version
5.1
Platform
Windows 10 Pro or Enterprise
Additional Checks