Problems starting Visual Studio Code on my companies Laptop

BayramZengin-9587 0 Reputation points
2024-10-01T07:08:48.4733333+00:00

Hey. I have problems starting Visual Studio Code on my companies Laptop. The error message is in german but it's self explanatory: 2024-10-01_08

Thanks in advance for your suggestions.

Regards

Bayram

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,376 questions
Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,095 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
999 questions
Windows 11
Windows 11
A Microsoft operating system designed for productivity, creativity, and ease of use.
9,583 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 30,561 Reputation points Microsoft Vendor
    2024-10-01T08:39:18.9966667+00:00

    Hey @BayramZengin-9587,

    Thank you for taking time to post this issue in Microsoft Q&A forum.

    As Visual Studio Code is currently not supported in the Microsoft Q&A forums, please kindly post your question on GitHub - vscode for better help.

    About the error you got, I guess it’s related to permission limitation. You mentioned that it’s your companies Laptop, did administrator/IT set some rules or limits on your machine? You can try following currently:

    1. Run VS Code as administrator.
    2. Navigate to C:\Users\username\AppData\Local\Programs\Microsoft VS Code, right click "Code.exe", Properties, switch to Security. Select the user account, click Edit, make sure that proper permissions have been assigned, like "Read & execute", "Full control"… click Apply and click OK button, close it then restart VS Code.
    3. Check if any program blocks the VS from running, like antivirus, group policy.

    Anyway, I strongly suggest you contact with your administrator/IT and confirm that there’s no limitation on your machine. If necessary, try to reinstall VS Code.

    Thanks for your understanding, have a nice day:)

    Sincerely,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.