If you ever need to obtain your Dynamics CRM License key, there’s a very simple procedure to obtain it from your existing installation. You won’t be able to see the License key either from CRM or from the Deployment Manager. However, if you have access to the SQL Server where the CRM Configuration database is stored, it’s an easy job. One simple query is all that’s needed.
How to Retrieve Dynamics CRM License Key
Open up your SQL Server instance, and locate the MSCRM_Config database.

Fire up the following Query and you should have the license key right in front of you:
1 |
SELECT NVarCharColumn FROM ConfigSettingsProperties where ColumnName = 'LicenseKeyV6RTM' |


In this case, I used the Microsoft Dynamics CRM Server 2013 (no CAL limit) Trial key. The key happens to be “CQWW3-TNXBF-HRQWC-CVTW9-M968H” which is returned by the query result.
The above query works for CRM 2013. But if you want to do the same for CRM 2011, there will be a slight change in the query. Everything else remains the same; meaning you’ll need to query the MSCRM_CONFIG database here as well.
1 |
SELECT LicenseKeyV5RTM FROM ConfigSettings |
Executing the above query should display the License Key used to register CRM 2011.

The above key that you see is again a Trial Key for Dynamics CRM 2011 that was used while installation.
For CRM 4.0, there’s a change in query again. The database remains the same. Following will list the license key.
1 |
SELECT LicenseKey FROM ConfigSettings |
Sorry I do not have a screenshot for CRM 4.0. I don’t happen to have any CRM 4.0 Organisation at my disposal currently. I hope I’ll be excused for that. 🙂
Hi,
I used your dbscripts to get the CRM license number from my company CRM database. Can I use it for another CRM installation? I mean, will that conflict with the existing installation? Can it block the second installation I carry out?
Hi Peter CRM,
It wouldn’t be wise to use the same Dynamics CRM license key across multiple installations. I don’t think Dynamics CRM keys can be multi-use (like we have for Office, Visio, Visual Studio, etc.) Best to get in touch with your organization and get it clarified.
However, if you’re planning to use it for installing CRM for your own personal use, I would recommend going for the CRM 90 day trial keys. 90 days should be good enough for you to check it out and do some proof-of-concept stuff!