Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a VM with SharePoint (WSS 3.0) installed on it. What is the best way to clone the VM so that the cloned machine has a new SID etc? Running NewSid on the VM breaks SharePoint. Is it possible this way round, or do I have to install SharePoint, but not run the config, and then somehow script the setting up of SharePoint?

share|improve this question

If you've already run the SharePoint Configuration Wizard then the SharePoint is effectively tied to that machine. But up to that point you are able to clone it. You can then script the rest.

Have a look at this question on Stack Overflow (should be moved here) for more info.

share|improve this answer
Nice find, it looks like this does the trick.… – Kara Marfia Jun 4 '09 at 12:22

Since its a Hyper-V machine, turn off the SharePoint server VM, rightclick and export. Pick the folder you will actually be running the new VM from, ie. C:\Virtual Machines\ or what not.

Then go to Import Virtual Machine, and in the next dialog you should see some options. One of them is to "copy the virtual machine" which will create a new unique ID for the VM. No need to click the last checkbox since you already have new files (vhd etc) to run the VM from by exporting.

There might be easier options if you have SCVMM installed, but that VM is currently turned off here so I can't check it. But my first approach should only take you a couple minutes.

share|improve this answer
Reading the question again, I might have misunderstood it a little bit, but I hope my answer helped either way. Not sure what this will do to the actual SharePoint installation though. – HannesFostie Jun 4 '09 at 12:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.