Setting up a new VM for SharePoint 2010 development

Dear all
I want to make a virtual machine for SharePoint 2010 development.
We are 4 developers.
I want to know what is the best way to make this virtual machine and the best tool?
In more detail I header about “Microsoft virtual PC” and “VMware” and “Hyper V”.
Also please tell me if I miss something
I am totally new in this
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hi Ramzy,

Virtual Box from Oracle is an option, too.
But I'am developing on Vm Ware (
It is a very flexible and good tool and easy to use.
The best way is to install Windows Server 2008 R2 (SP1) on your machine and install there a SQL Server 2008 R2 an SharePoint 2010.
For developing you can use Visual Studio and develop on you machine your solutions.
So you have with these things the best requirements ;)
But I forgot to say that you'll need a licence for the virtualisation tool (VM Ware),
for example Virtual box ist free  ;)
Protecting & Securing Your Critical Data

Considering 93 percent of companies file for bankruptcy within 12 months of a disaster that blocked access to their data for 10 days or more, planning for the worst is just smart business. Learn how Acronis Backup integrates security at every stage

If you are running Windows 7 or Windows Vista the easist way to setup an development enviroment is on your own machine.

There is also the guide to do it for Windows 2008 Server but then you will need to use a virtualization software. As G-Brain has said Virtual box will work, VMware Player is a free option and if you want Hypver-V core is also free.
I am currently using Hyper-V and I'm pretty happy with it. I always develop on Windows Server 2008 R2. I dont' use the Windows 7 development for the simple reason that I got 16gb in my laptop and another server on the side solely for me with 24gb in it. I used VMWare before but honestly both are good, but as you already got Hyper-V I wouldn't put my money in VMWare. Microsoft Virtual PC is not an option for SharePoint 2010.

I would suggest setting up SharePoint on your development machines with a modified version of SPModule to fit your needs ( This allows a scripted install and configuration of your SharePoint environment and helps you ensure that Dev, Test, Acc, Prod are using the same configuration. Or if you want to go real pro you can use SCCM to provision the full install to your machine.

Visual Studio is of course part two of the installation, and I would also add Office 2010 with InfoPath and SharePoint Designer 2010 and SharePoint workspace. That way you got pretty much everything you need to interact with SharePoint as well.

Last but not least I would deploy a team foundation server so that you at least have source control set up.
You can basically Google each term and read more about it. Let me give you Pros and Cons of each technology:  Remember that with all of them, the concept is the same, you'll need to setup a Virtual Machine no matter which technology you choose.

“Microsoft virtual PC” - a.k.a VPC
The good thing about VPC is that it's free but also out-dated.  Windows XP mode and Microsoft Med-V are to replace VPC now.  VPC runs local on your PC and therefore lacks remote and hosting VM capabilities.

If you go VMWare, you have two options, run ESX or VMWare Worktation.  With ESX, your VM's are hosted you are able to remote into each VM like if they were a physical machine.  With VMWare Workstation, you can do the same but it's managaed locally on your computer.  VMWare Workstation is a cheaper investment and easier to manage for new comers.  I like the drag and drop feature for files & folders in VMWare Workstation.  For Sharepoint

“Hyper V”.
This is Microsof's answer to compete against VMWare.  Hyper-V runs on Server OS and comes with all Server OS now, so it's free.  Hyper-V is excatly like ESX, able to hose VM's.  Hyper-V usage is a little different from ESX and all VPC capabilities are built into Hyper-V.  Hyper-V is good because the technolgy is from Microsoft and so the theory is that Windows should run on it better than VMWare.  VMWare advocates would disagree.  By the way, I don't work for Microsoft.

As for conclusion, VMWare ESX have been in the game long before Microsoft and the product is more mature and have bigger market share.  ESX would still win the server realm.  But Hyper-V is not far behind and gaining ground for local VM and hosting.  VPC is almost retired and being replaced.  VPC is used for anyone not doing an projects on a grand scale and zero cost.  I hope this information compliments all the other comments from everyone above.
RamzyNEbeidAuthor Commented:
dear all thanks for all the replies

i think of all what i read and what you wrote i concluded the following:
and please correct me if i am wrong

1 - i can not install sharepoint on windows 7 or windows vista unless they are X64 bit.
2 - sharepoint 2010 must be installed on the same machine with VS2010 to be able to make development.
3 - it is preferred to use Hyper-V.
4 - i also want to tell you the programs that i am going  to install incase i miss something:
Windows Server 2008 R2
SQL Server 2008 R2
MOSS 2010
Office 2010
Sharepoint Designer 2010

 - from where can i get sharepoint workspace?
 - using Hyper-V how many users are able to access this VM at the same time?

thanks and please i am wainting for your reply.
Bill LouthSystem EngineerCommented:
We use Hyper-V a lot.
Keep in mind that Microsoft Windows 2003 and 2008 Standard come with a free OS license to install on a virtual machine.  Enterprise comes with 4.  Datacenter Edition is unlimited.

One benefit of a Windows 2008 Hyper-V environment is that Volume Shadow works well with Virtual Machines.  A backup using either MS Backup or Backup Exec (without purchasing Backup Exec for Hyper-V) seems to get the VM .VHD files nicely even while they're running.

However for SQL, Exchange, and Sharepoint it's recommended to stop the VM for best results.  Also purchase a special agent for SQL, Exchange, or Sharepoint if you want to do any granular recovery.

A nice feature of good virtualization tools like Hyper-V or VMware (VMWare server is free as well) is Snapshotting.  It's nice to snapshot a VM before a major upgrade.  Rolling it back only takes a few seconds.  That's something that developers could use a LOT.

We use Snapshotting and cloning for application development to maintain various environments with various different versions of our applications, .Net, etc.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.