views:

3601

answers:

2

I have a SharePoint virtual machine in one active directory domain (for example domain1) and I want to transfer all the sites it has to another active directory domain (domain2). I don’t know which could be the best procedure to do this, if I detach and attach my virtual machine from domain1 to domain2 it probably didn’t work since all the accounts used by SharePoint are no longer valid. (Both domain are not in the same network and didn’t trust each other). Additionally I could export the sites in domain1 and import them on domain2 using stsadm, but if I use this technique I have to manually install all the features, solutions and personalization I made on my original server. Does anybody know the best approach to “move” the sites from one domain to another?

A: 

You may have some sucess by adding a local account to the administrators group and joining the server to the new domain. Then manualy updateing all of the AD accounts that are used in the server. I sould note that all of your users will then have new accounts that are not related to the old ones.

You sould ask your domain admins about an SID update to the new accounts so they also have the SID's from the old domain.

MrHinsh
+1  A: 

There is a STSADM Custom Extension: move web that should be what you are looking for:

C:>stsadm -help gl-moveweb

stsadm -o gl-moveweb

Moves a web.

Parameters: -url -parenturl [-haltonwarning (only considered if moving to a new site collection)] [-haltonfatalerror (only considered if moving to a new site collection)] [-includeusersecurity (only considered if moving to a new site collection)] [-retainobjectidentity (only considered if moving to a new site collection)]