42

I've just installed Microsoft Visual Studio 2015 Community. After installation an signing in I'm getting error: License: Prerelease license.

This license has expired.

I cannot do anything!

Can somebody help me?

I downloaded today installer from:

https://www.visualstudio.com/downloads/download-visual-studio-vs

1
  • Same problem here. Fresh install of VS2015 Community (no previous beta/rc's installed). I'm going to try to repair from iso.
    – Remco Ros
    Jul 22, 2015 at 7:25

11 Answers 11

25

I had this same problem. The Community Edition is free, but you have to sign into your Microsoft account to use it more than 30 days. Go to "https://account.microsoft.com/about" and signup for an account. It's free. When you complete the process, you can sign into Visual Studio using the same email address.

2
  • 11
    It's free if you provide your e-mail address and your phone number. No, thank you.
    – rr-
    Dec 19, 2015 at 9:59
  • 8
    Just did this -- only had to create a new account providing just an email address. Phone number was not required. Jan 15, 2016 at 4:00
9

I had to reset Visual Studio's settings totally with:

Devenv.exe /ResetSettings

After that my license was detected correctly.

See this post on MSDN Forums for more details

3
  • 5
    As mentioned at the MSDN Forum /resetuserdata worked for me. (Actually, I did twice: once from the Developer Command Prompt for VS2015, then again from an Administrator Command Prompt.)
    – Mark Hurd
    Nov 28, 2016 at 6:03
  • Had to Win+R Devenv.exe /ResetSettings 2 times then it said Cannot save downloaded license file so I gived VS2015 Administrator rights
    – Alegrowin
    Jan 31, 2017 at 2:54
  • 1
    In VS 2017 /ResetSettings didn't worked but /resetuserdata fixed the problem. Unfortunately one of them uninstalled/broke all non MS extensions so I had to reinstall them.
    – SeeR
    Aug 5, 2018 at 20:15
8

I had the same problem using the small executable. I downloaded the .ISO and installed from that. Had no problems since.

4
  • How do you "repair from Iso"? I had a failed setup first, so I did vs_community.exe /layout to download it, then tried reinstalling. It went through the entire setup again. Now when I start it, it immediately exits telling me the license has expired?
    – imekon
    Jul 22, 2015 at 9:47
  • I have been having the same problem with the enterprise RTM version (we have a full license for MSDN enterprise). I have uninstalled and reinstalled, and am about to throw in the towel with 2015.
    – Jim
    Jul 22, 2015 at 10:24
  • I installed from web installer (vs_community.exe). After a failed install (first time) I restarted PC and started the install again. It installed succesfully, but wouldn't start with the 'license expired' message. I then downloaded the iso. Started the installer from iso, it said the product is already installed, so I choose 'Repair'. Once more machine restart and everything works now.
    – Remco Ros
    Jul 22, 2015 at 10:55
  • I went to Control Panel | Programs and Features, selected Microsoft Visual Studio 2015, selected change, then Repair. That worked for me.
    – imekon
    Jul 23, 2015 at 8:43
5

After scouring the web and trying just about anything I came I cross with no success, I managed to get the darned thing working. Here’s what worked for me perhaps it will help others as well.

1. From the top menu in VS select  Tools>options>web browsers
2. Click the “Select Internet Explorer options” button
3. Select the Security tab at the top
4. Click Trusted sites 
5. Click the Sites button
6. Add https://*.visualstudio.com 
7. Close the options window until you’re back to the VS IDE
8. From the help menu select “Register product”
9. If already signed in click the “Check for an updated license” else login first.

That should do it, if not try the option step as well. OPTIONAL if that fails repeat the steps above but on step 6 add https://*. technet.microsoft.com

Good luck.

1
  • This was the only process that fixed my install of VS 2015 Community.
    – Psiren
    May 3, 2017 at 9:42
1

I initially had the same issue as described above. When I logged in with my normally-valid account, I got 'Failed to download new licence'. We have a proxy server that requires credentials for some things: a clue is that I see an 'Enter credentials' button beneath the 'Featured Videos' column on the VS Start Page. After I'd clicked that button and entered my proxy credentials, I went back to the account settings page and checked for an updated licence and it downloaded successfully.

1

I faced the same issue today and solved as follows:

There are two links on page the page which tells you your license has expired.

  1. Add Account: Click here and add (or create) your Microsoft account.

  2. Check for updated license(or similar): Click on it and provide the same account credentials.

This should update the license.

0

I found that hitting "check licence" didn't work after entering the trusted sites into IE (I added the technet and visual studio full domains as mentioned by Rob above) .

However, after I signed out and back in again with my MS account in Visual Studio it updated my licence automatically without having to manually check for it.

Simple fix but easily overlooked so thought I would mention it.

0

You need to logout from the Visual Studio account (in VS2015) first, then log back in again. That resolves the problem.

-1

You can solve this problem by getting a Microsoft account at http://www.microsoft.com and sign in from Visual Studio.

-1

I also had a problem of getting a community licence. The reason was, that I logged to MS account using the Firefox. I realised, that MS VC++ tries to log to this account using the Internet Explorer (IE). So I tried to log there (manually) using IE, and then it told me that it is impossible, because cookies are not allowed by my IE. Then I went to "options" and enabled all cookies. Then I succesfully logged to MS account. Then I started MS VC++ ad when I asked to get an updated licence - it showed me a logging dialog. I was able to log, and then I got a licence. Hurra! (but it took me more than month to solve this problem. Lucky: this web page was an inspiration. Thank you!).

-1

No, Community edition is free to use. So when you see the dialogue box... find Link Click for an updated license and processed for the sign in with your Microsoft account... If you are not register then SignUp Now.... and complete the process...

Solution Reference URL Which was provided by microsoft

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.