You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Regression: MSI UAC prompt identifies the app as “Microsoft” instead of “PowerShell” #27993
This appears to be a regression of #5642, which reported the same class of problem and was fixed by #5650.
The MSI has the correct ProductName, "PowerShell 7-x64", but its Authenticode SpcSpOpusInfo signed attribute (OID 1.3.6.1.4.1.311.2.1.12) contains the program name "Microsoft". UAC uses t
hat signed description as the application name.
Expected behavior
The UAC consent prompt identifies the application as PowerShell, for example: App: PowerShell 7 Verified publisher: Microsoft Corporation
Actual behavior
The UAC consent prompt displays: App: Microsoft Verified publisher: Microsoft Corporation The generic app name does not tell the user that PowerShell is requesting elevation.
Error details
No PowerShell error is produced. This is incorrect identity information in the Windows UAC consent prompt.
Environment data
Name Value
---------
PSVersion 7.6.6
PSEdition Core
GitCommitId 7.6.6
OS Microsoft Windows 10.0.26100
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.4
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Windows edition: Microsoft Windows 11 Enterprise
Windows build: 26100
Architecture: 64-bit
Installer: PowerShell-7.6.6-win-x64.msi
It seems not to matter about the installation method as I pulled the 7.6.0 zip, and on running pwsh.exe from that zip as Admin and it shows Microsoft where we'd expect it to show PowerShell, like it does for Windows PowerShell
Activity
kilasuit commentedon Sep 23, 2026
It seems not to matter about the installation method as I pulled the 7.6.0 zip, and on running
pwsh.exefrom that zip as Admin and it showsMicrosoftwhere we'd expect it to showPowerShell, like it does forWindows PowerShell