Recently, I came across a situation where I needed to rename my development machine having MS Dynamics CRM 2011 & SQL server 2008 installed on it. If you change the machine name casually then you will not be able to browse any of the existing organizations. Also, the CRM Asynchronous service won’t be started.
Ideally, there are only 3 simple steps, which if followed correctly, can bring all Organizations again up & running with a new url. Below are the steps –
Word of Caution: Please take backups of your registry and Database before making any change to them or take help of the concerned Administrator to help you.
1. Rename the Machine
- Rename the Machine and change it IP Address if required.
- Restart the machine.
2. Update the Registry entry
- Open the Registyr Editor using - Start > Run > Regedit.exe
- Then Move to KEY_LOCAL_MACHINE\Software\Microsoft\MSCRM node and
- Double Click on configdb key and change the DataSource from OldServerName to NewServerName
- Double Click on ServerUrl key and change the URL to point to the NewServerName
3. Update the details in MSCRM_CONFIG database
- Open SQL Server Management Studio and run the below script -
USE [MSCRM_CONFIG]
GO
UPDATE [Server] SET [Name] = 'NewServerName';UPDATE ConfigSettings SET [HelpServerUrl] = 'http://NewServerName:5555/';UPDATE Organization SET[ConnectionString] = REPLACE([ConnectionString],'OldServerName ','NewServerName’),[SqlServerName] = 'NewServerName ',
[SrsUrl] = 'http://NewServerName /reportserver';
- Restart the machine.
Disclaimer: Following of the above steps is purely the reader’s sole decision and in no case the author could be held responsible for loss of any kind arising after following.
Referred Link:
Great advice - worked perfectly for me. Thanks Ankit!
ReplyDeleteSurely there is more to it than that?
ReplyDeleteDoes anyone know if this would work for CRM Dynamics 4.0?
ReplyDeleteHi Steve,
ReplyDeleteI did not try it with 4.0, but, i think this process should work in similar fashion for 4.0 too.
Good morning, do you have any tips about chaning the domain on a CRm 4.0 deployment?
ReplyDeletebryan.holmstrom@cohnreznick.com
Hello Bryan,
DeleteAs specified above, I did not try it with 4.0, but the above process should work in similar fashion with CRM 4.0 too.
Excellent!!!, works perfect!, Thank you Ankit!
ReplyDeleteLuis Manuel
HI , CAN YOU ADVICE HOW IT WILL BE IN CASE OF CHANGING DOMAIN FOR CRM 2011. PLEASE
ReplyDeleteThe following link may help you.
ReplyDeletehttp://community.dynamics.com/crm/f/117/t/201858
Thanks,
Ankit