-
Notifications
You must be signed in to change notification settings - Fork 100
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
One of my office PC fails to find MSVC when not running in elevated terminal. #310
Comments
What command are you running? What channel did you install? Note that prereleases and incomplete installs are not shown by default. Running |
Hi @heaths |
If the same command works as administrator, it seems you have an atypical permissions issue on Alternative, though it may not be as helpful, run the following in an elevated command prompt: cmd icacls "%ProgramData%\Microsoft\VisualStudio\Packages\_Instances" or powershell icacls "${env:ProgramData}\Microsoft\VisualStudio\Packages\_Instances" /cc @tydunkel |
I ran the powershell but problem still exists. |
Thanks. As I suspected, you're getting an Normally, |
I have tried reinstall MSVC 2019/2022, but it doesn't work.
I have to always run vscode/vs installer as administrator in order to use MSVC.
My user account is already in administrators group.
Could it be some components owned by some administrator and not readable by others?
The text was updated successfully, but these errors were encountered: