Group or resource not in correct state error when launching Terminal Canary when running as Admin #22772

Closed
opened 2026-01-31 08:23:02 +00:00 by claunia · 1 comment
Owner

Originally created by @XenoPanther on GitHub (Jan 16, 2025).

Windows Terminal version

1.23.10151

Windows build number

10.0.27768

Other Software

No response

Steps to reproduce

  1. Right click any folder and click Terminal Canary
  2. Click Yes when UAC is shown
  3. Terminal will open in the incorrect directory
  4. The following error will appear

Image

Expected Behavior

Terminal to open in the correct folder without any errors. This sometimes happens, but an additional Terminal window is launched that is in the incorrect directory

Actual Behavior

Terminal opens in the incorrect directory and the error will appear

Originally created by @XenoPanther on GitHub (Jan 16, 2025). ### Windows Terminal version 1.23.10151 ### Windows build number 10.0.27768 ### Other Software _No response_ ### Steps to reproduce 1. Right click any folder and click Terminal Canary 2. Click Yes when UAC is shown 3. Terminal will open in the incorrect directory 4. The following error will appear ![Image](https://github.com/user-attachments/assets/55aaf2c1-947b-41ba-8d09-6f3587f14311) ### Expected Behavior Terminal to open in the correct folder without any errors. This sometimes happens, but an additional Terminal window is launched that is in the incorrect directory ### Actual Behavior Terminal opens in the incorrect directory and the error will appear
claunia added the Needs-TriageIssue-Bug labels 2026-01-31 08:23:02 +00:00
Author
Owner

@XenoPanther commented on GitHub (Jan 16, 2025):

Slightly weird fix, but the issue was with my settings.json.
I fixed the issue by removing the json, letting Terminal recreate it and then pasting the contents of my previous settings back

@XenoPanther commented on GitHub (Jan 16, 2025): Slightly weird fix, but the issue was with my settings.json. I fixed the issue by removing the json, letting Terminal recreate it and then pasting the contents of my previous settings back
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#22772