Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching Terminal as Admin throws error #80

Open
plante-msft opened this issue Aug 13, 2024 · 0 comments
Open

Launching Terminal as Admin throws error #80

plante-msft opened this issue Aug 13, 2024 · 0 comments
Labels
launcher P0 Highest priority item, ship blocking solved

Comments

@plante-msft
Copy link
Collaborator

plante-msft commented Aug 13, 2024

Layout is set up to launch terminal as admin, but when I launch the layout, it gives me this error regardless of if AppLayouts is elevated or not.

Image

Expected Behaviour

When launching any project that has apps with Admin selected, I expect to see a UAC for each app.

App Layout JSON:
{ "id": "{6D8971D0-422D-4E1F-B305-87CED812208A}", "name": "Admin Test", "creation-time": 1723589274, "last-launched-time": 1723589316, "is-shortcut-needed": false, "move-existing-windows": false, "monitor-configuration": [ { "id": "SHP1509", "instance-id": "4&218c0622&0&UID8388688", "monitor-number": 1, "dpi": 144, "monitor-rect-dpi-aware": { "top": 0, "left": 0, "width": 2400, "height": 1600 }, "monitor-rect-dpi-unaware": { "top": 0, "left": 0, "width": 1600, "height": 1067 } } ], "applications": [ { "application": "Terminal", "application-path": "C:\\Program Files\\WindowsApps\\Microsoft.WindowsTerminal_1.20.11781.0_x64__8wekyb3d8bbwe\\WindowsTerminal.exe", "title": "pwsh in connorplante", "package-full-name": "Microsoft.WindowsTerminal_1.20.11781.0_x64__8wekyb3d8bbwe", "command-line-arguments": "", "is-elevated": true, "can-launch-elevated": true, "minimized": false, "maximized": false, "position": { "X": 385, "Y": 207, "width": 1088, "height": 604 }, "monitor": 1 } ] }

@SeraphimaZykova the combobox for selecting Launch as Admin is also disabled after the layout is first saved. Is this intentional? I know we disable this for apps that cannot be launched as admin, but since I could select this option earlier, shouldn't I be able to deselect it?

Image

@plante-msft plante-msft added the P0 Highest priority item, ship blocking label Aug 13, 2024
@plante-msft plante-msft changed the title Launching Terminal as Admin throws error. Launching Terminal as Admin throws error Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
launcher P0 Highest priority item, ship blocking solved
Projects
None yet
Development

No branches or pull requests

2 participants