Commit 5951c58
Ben Hillis
Add admin protection error message for shadow admin scenarios
When Windows Admin Protection is enabled, the elevated process runs as a
shadow admin with a different SID, so distributions registered under the
real user are not visible. Surface an informational message in two cases:
1. Launching a distribution by name that is not found (WSL_E_DISTRO_NOT_FOUND)
2. Listing distributions when none are registered (WSL_E_DEFAULT_DISTRO_NOT_FOUND)1 parent b61bb85 commit 5951c58
File tree
2 files changed
+61
-3
lines changed- localization/strings/en-US
- src/windows/common
2 files changed
+61
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
744 | 744 | | |
745 | 745 | | |
746 | 746 | | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
747 | 752 | | |
748 | 753 | | |
749 | 754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
522 | 522 | | |
523 | 523 | | |
524 | 524 | | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
525 | 556 | | |
526 | 557 | | |
527 | 558 | | |
528 | 559 | | |
| 560 | + | |
529 | 561 | | |
530 | 562 | | |
531 | 563 | | |
| |||
545 | 577 | | |
546 | 578 | | |
547 | 579 | | |
548 | | - | |
| 580 | + | |
| 581 | + | |
549 | 582 | | |
550 | 583 | | |
551 | 584 | | |
552 | 585 | | |
553 | 586 | | |
554 | 587 | | |
555 | | - | |
| 588 | + | |
| 589 | + | |
556 | 590 | | |
557 | 591 | | |
558 | 592 | | |
| |||
695 | 729 | | |
696 | 730 | | |
697 | 731 | | |
698 | | - | |
| 732 | + | |
| 733 | + | |
| 734 | + | |
| 735 | + | |
| 736 | + | |
| 737 | + | |
| 738 | + | |
| 739 | + | |
| 740 | + | |
| 741 | + | |
| 742 | + | |
| 743 | + | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
699 | 752 | | |
700 | 753 | | |
701 | 754 | | |
| |||
0 commit comments