Wednesday, September 9, 2009

Moving MOSS 2007 from a workgroup to a domain running Win2003 VPC in XP Host

This post is for those who have XP host and a VPC running with Win2003 and others as well who have the below stated problem.
If you installed Moss 2007 on a standalone machine running Win2003 and later you plan to move it on a new domain then below steps will help you.


1. First in win2003 run DCPromo.exe from the start->run and set it up. DC promo is the most easiest, simple and automatic way of configuring AD and DNS easily
2. After the machine is added to the domain and if you try to open the sharepoint central or other sites then browser will give error. The reason is that Administrator account has been updated with domain information and moss is not updated. In order to fix up the problem just run the below commands in dos prompt to sort it out.
First, goto cd %commonprogramfiles%\Microsoft Shared\Web server extensions\12\Bin directory
Second, stsadm -o updatefarmcredentials -userlogin DomainName\UserName -password NewPassword
Here NewPassword can be the same password that you are using or you can give the new password
Lastly goto c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files in windows explore and right click the folder->Sharing and Security->security tab; add Network Service to the group with full access
After this just run the central site and you are done.
Hope this is useful.