-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Bug Report - Immediate crash with message "Windows cannot access the specified device, path or file" after running as administrator #1538
Comments
same symptoms for me, and i suspected that it started to break after i tried to run as Admin, because i wanted it to pickup my network admin $profile along with its scripts. It ran fine as the default user until i tried to run it as admin. |
I'm also experiencing this issue. It runs fine if I run it as my normal non-admin account but when I try to launch using elevated credentials it prompts twice then gives and error saying it cannot find the C:\Program Files\WindowsApps.........\WindowsTerminal.exe file. |
I've got the same as @jbolduan , it launches fine as my user account, but when I right click and run as admin, I get two UAC prompts, dropping back to desktop in between each for a moment or two, and then this error: |
This is, unfortunately, a Windows issue. We've escalated as appropriate. |
Sorry to comment on a closed issue, but is there a manual workaround so we can use the new terminal as a regular user again? Right now it's completely unusable for me.. |
The only way to fix this i found, is to open your admin session and download the app through the store. But the problem return every time a new version is uploaded. i find it kinda not straight forward. |
I'm still completely unable to use the Windows Terminal due to this issue, even in regular user mode. |
I guess this is related to Windows upgrade and the permission with folder In order to install microsoft terminal, I have to manually download the windows upgrader to get the version 1903 as ms-terminal required. I saw there is a But without an official procedure from microsoft, I don't want to do experiments with folder like |
Yesterday, windows notices me there are two windows updates available. |
Launching the app immediately produces an error, seemingly related to file permissions.
Environment
Steps to reproduce
Install Windows Terminal (Preview) from the Microsoft Store.
Launch the app as administrator.
Expected behavior
The application starts.
Actual behavior
The application immediately throws an error: "Windows cannot access the specified device, path, or file. You may not have the appropriate permissions to access the item."
Extra notes
I previously built the source code and had it working fine by deploying the CascadiaPackage from within Visual Studio. Then I tried running the app as administrator, which broke it and has caused the aforementioned error to appear whenever I try to launch it now.
I was hoping that the "official" release via the Microsoft Store would fix the problem, but it didn't. (I completely uninstalled the beta version and removed my local copy of the source code beforehand).
Is there any place (logs, event log, ..) where I can see which file it's failing to find? That would help a lot. Thanks!
The text was updated successfully, but these errors were encountered: