Use Visual Studio with an admin account

Folkerts, Stephen [NN-US] 0 Reputation points
2024-11-14T21:16:21.94+00:00

How do I update my Visual Studio license when using shift right-click, run as different user to my admin account given that no key is provided, and that I cannot sign in from Visual Studio? I started the trial but now have 5 days left.

I am sometimes required to use an admin account to access SQL Server databases or OLAP cubes. I start Visual Studio as another user with shift right-click, then use my admin account. When I use my normal Windows account, my Visual Studio product is licensed. I also cannot find a product key because the Product Keys gives a message that VS requires logging in and does not provide a product key, though the Product Keys page shows the keys link.

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,221 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 31,411 Reputation points Microsoft Vendor
    2024-11-15T03:14:40.94+00:00

    Hello @Folkerts, Stephen [NN-US],

    Welcome to Microsoft Q&A forum.

    Please kindly check this document: Extend a trial version or update a license.

    Visual Studio is licensed per user. You need valid product keys or a valid subscription if you switch to another account(admin account).  

    You can check here: Your Product Keys/Subscriptions for available/owned product keys and the subscriptions.

    About signing in VS, (Help > Register Visual Studio) when you open VS, you can click "Sign in" button to sign in VS with a valid subscription or click "Unlock with a Product Key" option to enter a product key.

    User's image

    Best Regards,

    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.